-
Notifications
You must be signed in to change notification settings - Fork 327
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
Not working analytics when use docker image (0.12.0) #284
Comments
@GUI I added debug code to Lua scripts, found that we successfully log data here https://github.com/NREL/api-umbrella/blob/master/src/api-umbrella/proxy/hooks/log_initial_proxy.lua#L276 But If I get ElasticSearch stats:
|
@GUI Fixed issue by drop ElasticSearch data
After that it stars works correctly and I see data on Analytics page. Now prepare new installation from scratch and will provide for you more debug info. |
I tried enable DEBUG level in ElasticSearch conf (logging.yml.mustache), enabled error_log for Nginx and added debug code in Lua scripts, but not found root case yet. Delete ElasticSearch data after docker container start fix issue.
|
hey guys, I have the same issue but @shaliko solution doesn't seem to solve it.. |
@ofirtwo Try restart docker containers.
|
@ofirtwo Actually later we found another issue. You need connect to you docker-container and install curl, the do restart.
Then from host machine:
|
works now, thanks |
This should be fixed in the v0.14.0 release. |
Version v0.14.4 same issue happens, the workaround doesn't work |
When I start project as Docker container using instructions from http://api-umbrella.readthedocs.io/en/latest/getting-started.html#running-with-docker, the "Analytics" have empty charts. API works OK, but all charts empty. I not found any issue in logs.
My api-umbrella.yml file:
I can test my backend:
Empty charts:
I can test that Elasticsearch works:
Any advice where I should find issue?
The text was updated successfully, but these errors were encountered: