-
-
Notifications
You must be signed in to change notification settings - Fork 588
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
400 Bad Request error Android app #462
Comments
Changed the nginx config but app still doesnt work, with the same error in logs |
show your full nginx config, with the changes. |
|
so you are accessing gotify with http? Does gotify/server output any errors? |
I just realized I have to use an admin account to view the messages from an APP created by an admin. And I switched to the admin account. |
You need to add the headers that are defined in https://gotify.net/docs/nginx also for your nginx config for https. |
I have my config same as that in https://gotify.net/docs/nginx |
Then you do not have a problem because http works fine? |
Isnt not using https insecure? |
yes. In the gotify docs only http is configured, thus, you need to add set header things also to your https config. |
Thanks for your help. HTTPS works now. This is my current nginx config
|
Thanks to jmattheis I was able to fix the problem. Just needed to add ssl configs to the recommended nginx config from https://gotify.net/docs/nginx Adding this into the docs would be really helpful for users in the future
|
I don't think so. The http & https config don't differ much, basically the ssl config is just the http config with extra settings. |
Just installed the docker version of gotify, Website works fine, but the android app doesn't. It detects the server and Logs in but then shows the 400 Bad Request Error.
The server is running on a Raspberry Pi 4
My Nginx config
Android App Log
The text was updated successfully, but these errors were encountered: