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

Generate configuration for react applications on node.js #171

Open
chargio opened this issue Dec 1, 2017 · 3 comments
Open

Generate configuration for react applications on node.js #171

chargio opened this issue Dec 1, 2017 · 3 comments

Comments

@chargio
Copy link

chargio commented Dec 1, 2017

Trying to run an application with node.js and React with typescript does not work.

The application is running, and pointing to the port 8080, and you can curl localhost and 0.0.0.0, but there is no response when connecting through the service.

@omron93
Copy link
Contributor

omron93 commented Dec 1, 2017

there is no response when connecting through the service.

What IP is service pointing to? Are you connecting outside of OpenShift?

@chargio
Copy link
Author

chargio commented Dec 1, 2017

I used the template directly.

@chargio
Copy link
Author

chargio commented Dec 1, 2017

The service and the router are those of the template.

oc rsh pod-name

Inside the container

curl 0.0.0.0:8080 returns "no javascript enabled" page
curl localhost:8080will do the same
curl $WEB_SERVICE_HOST:$WEB_SERVICE_PORT will timeout, same behaviour than connecting to the route or to the service from another host in the cluster. I can connect from the pod to the API host

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

2 participants