Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot access backend on remote client, only work on localhost #23

Open
wisenet opened this issue Apr 17, 2023 · 1 comment
Open

cannot access backend on remote client, only work on localhost #23

wisenet opened this issue Apr 17, 2023 · 1 comment
Assignees

Comments

@wisenet
Copy link

wisenet commented Apr 17, 2023

Hi,

I need some help. I am new to container. I have follow the guide and installed Try-CB-Java. However the searching and filtering only works on localhost the demo and container installed. I have edited the "main.js" from localhost:8080 to domain-name:8080, the client on the same network can reach the frontend BUT cannot perform search and filter with error "NO RESPONSE (backend unresponsive?) from /hotels/*/France/"

Please help and advise, how can I make the demo work and accessible to public? Many thanks

@osfameron
Copy link
Contributor

Hey @wisenet. As this is a demo project, we've only really run and tested it to run in a development environment (so locally, or via docker).

We've tested having the Couchbase server at an external URL (and intend to update all these demos to work with our DBaaS service Capella in short term), but we've not tested running the Web App running on a hosted domain recently, as this wasn't a priority for us.

The thing to check will probably be the routing between the web app and the database server.
If you suggest that other functionality works as you've deployed it, but ONLY the search/filtering of hotels fails, then this suggests that:

The details of how you do that will depend on how you've configured your deployment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants