-
Notifications
You must be signed in to change notification settings - Fork 371
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
Api's are not using proxy url #72
Comments
This is actually as designed. See: #63 for details. |
This will work on same network. but in my case container is a private network and meanwhile, I am accessing from public. Thanks for your fast response. |
That's really bizarre. The websocket and API requests are both supposed to hit the same endpoint. I guess this is an open bug. |
Can I get any ETA for this bug? |
I'm sorry, but I don't do ETAs. This is an open-source free project, that I only work on in my spare time. I also have never used Docker before, so I am not even sure how to reproduce this bug. You might want to take a look at this pull request: #65 Perhaps his fork corrects this issue. Apologies. |
Thanks for your valuable time. Actually I looked into the PR, where the issue is about the web socket port. But in my case url endpoint is an issue, while running cronicle over the nginx proxy. Will send you steps to reproduce it soon |
I'm currently working on a Docker Image for Cronicle, served behind a nginx reverse-proxy and I made a workaround in the entrypoint for this error : export HOSTNAME="${VIRTUAL_HOST}"
This can bring other problems if you arbitrarily change the |
Summary
I am running cronicle in kubernetes as a docker container. And exposed UI using ingress.
Websocket is working fine but while clicking login button, after entering password i am getting 500.
Error: Network Error: 500: An unknown network error occurred. Please try again.
I inspected from my browser, the request url is hitting internal hostname of the container instead of my endpoint url.
container url: http://cronicle-75987bb6b6-8j7w9:3012/api/user/login --> (current issue )
endpoint url: http://cronicle.xyz.com:3012/api/user/login --> (expected)
The text was updated successfully, but these errors were encountered: