-
Notifications
You must be signed in to change notification settings - Fork 974
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
My server return a 502 without err log #1008
Comments
Hi @bhui - what is your Ubuntu distro version ? |
It seems to be Ubuntu 16.04 So do you have remote database or is it on the same server? |
@gorkem-cetin @ar2rsawseen
By the way, Did the supervisord process is the api process? Nginx is existed before my installation. So I keeped the old conf file as below:
Is this the reason? When I run the wget on my server, it also return 502 to me.
|
Well, ours is here: https://github.com/Countly/countly-server/blob/master/bin/config/nginx.conf Yours might not be optimized, but from what I see, it should work. This is still experimental, but can you run |
I add this to nginx.conf, it also not work
So I execute these,
How to check the reason of Api not accessible? |
I runned the command "countly test", and find many error about eslint:target.
Maybe the real reason is some net break happened during my installation, which make some file damaged. |
Yes, that is possible. |
I would like to using community server for report event, but I got a 502 when I tried add an application, and cannot find any useful error log.
Could you give me some advice?
Expected Behavior
Add an application and show on the dashboard.
Current Behavior
Got a 502 when Add an application
Screenshots (if appropriate):
Possible Solution
Steps to Reproduce (for bugs)
1.I enter my dashboard
2.tried to add an application
3. click the add button
4. got a 502 badgateway response from server
More Description
I checked the countly-api.log,countly-dashboard.log,and no error log, only find some error in Nginx access log:
Your Environment
Linux version 4.4.0-157-generic (buildd@lgw01-amd64-037) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10) ) [push] Error reporting & consistent error handling #185-Ubuntu SMP Tue Jul 23 09:17:01 UTC 2019
The text was updated successfully, but these errors were encountered: