-
Notifications
You must be signed in to change notification settings - Fork 38
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
Small mistake in README ? #4
Comments
@udiedrichsen Thanks for the complement! The As to the failure on Openshift, what you can do is
The But I do see the following from your notes:
You might want to just the following again
Let me know if you have problems. |
Thx for the fast feedback. Sorry I copied only a part of the console err log :-( Ulrichs-MacBook-Pro:mysnowflake doedel$ rhc tail -a mysnowflake ==> app-root/logs/haproxy_ctld.log <== ==> app-root/logs/nodejs.log <== |
After changing the filename from config.js to config, it works for me. |
You must have changed something else somewhere. You'll notice throughout the entire application the extension In fact, look at
and there is no |
No, I just followed step by step your instructions. But openshift and react native is more or less for me, so big thx for this great introduction. I will try to setup a new openshift app with your instruction, maybe I will find my mistake. |
Well - keep me posted - I don't see any evidence that the instructions or code is wrong. I've deployed this app a significant number of times w/o issue. |
Hi,
Great job with this REPO. Good stuff and awesome docs: +1
I followed your description, but is a small typo:
cp src/config.sample.js src/config.js
I think it must be:
cp src/config.sample.js src/config
Or you have to change to src code:
in src/auth/jwt_strategy.js
..
var Config = require('../config'),
to
var Config = require('../config.js'),
I change the cp statement and the deployment on my own openshift domain works.
I got this error message:
remote: Application 'mysnowflake' failed to start (port 8080 not available)
remote: -------------------------
remote: Git Post-Receive Result: failure
remote: Activation status: failure
remote: Activation failed for the following gears:
remote: 56aa11597628e1102100001b (Error activating gear: CLIENT_ERROR: Failed to execute: 'control start' for /var/lib/openshift/56aa11597628e1102100001b/nodej
remote: #IO:0x00000001445290
remote: #IO:0x00000001445218
remote: )
remote: Deployment completed with status: failure
remote: postreceive failed
So I checked the app logs with: rhc tail -a mysnowflake
RSA 1024 bit CA certificates are loaded due to old openssl compatibility
==> app-root/logs/haproxy.log <==
[WARNING] 027/080641 (292020) : config : log format ignored for proxy 'stats' since it has no log address.
[WARNING] 027/080641 (292020) : config : log format ignored for proxy 'express' since it has no log address.
[WARNING] 027/081740 (292020) : Stopping proxy stats in 0 ms.
[WARNING] 027/081740 (292020) : Stopping proxy express in 0 ms.
[WARNING] 027/081740 (292020) : Proxy stats stopped (FE: 1 conns, BE: 0 conns).
[WARNING] 027/081740 (292020) : Proxy express stopped (FE: 4 conns, BE: 5 conns).
[WARNING] 027/081740 (334524) : config : log format ignored for proxy 'stats' since it has no log address.
[WARNING] 027/081740 (334524) : config : log format ignored for proxy 'express' since it has no log address.
[WARNING] 027/082720 (334524) : Server express/local-gear is DOWN for maintenance.
[ALERT] 027/082720 (334524) : proxy 'express' has no server available!
==> app-root/logs/haproxy_ctld.log <==
The text was updated successfully, but these errors were encountered: