-
-
Notifications
You must be signed in to change notification settings - Fork 155
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
Login doesn't work if the entered server URL redirects to another location #201
Comments
It could be related to #161, can you check if the issue still occurs with a password that only contains letters. |
The password was |
Have you used some exotic username, that contained special characters? |
I was thinking the same, but it’s ANSI only, too. In line with some testing attempts you can probably guess the (hence deleted) user’s name: |
Hmpf, this should work. How have you started gotify, is there any reverse proxy in front of gotify? |
Alright, some more on the setup: gotify is running on a machine in the internal network and an nginx proxy is forwarding and de-https’ing the requests for gotify. I was wondering whether the sub-path on the nginx proxy might be the problem. It’s some |
So, looks like there was another step of redirection in between that got lost in translation. The entry point is Now, when I use the That’s probably a bug? |
I'd say this is undefined behavior. It could probably be fixed, but I'd guess no one actually has a use-case for this, and can just use a URL that doesn't redirect. |
Fair enough. My irritation stems from the fact that it’s working to some extend (requests seem to go through, as I can see some requests arrive from the android client on the server) and that the website works. However, since there is a work-around, I don’t see any urgency :) Thanks a lot for the software! |
Hi, just wanted to mention that I've ran into this issue as well. This is what I have set up:
This all works internally/externally on a web browser, but for some reason on the android app it gives me the same error message as @vonshednob. Unfortunately even after a lot of testing I couldn't get it to work, so I've had to map and expose the port outside of traefik in the dockerd compose file specifically for Gotify and changed the clouldflare tunnel so that it goes to http://$dockerHostIp:$mappedPort directly and that works. I don't know enough to say what the problem is but it does feel like something to do with the request going through a reverse proxy that's making the android app unhappy (as I said via mobile browser I can login using the original method) Thanks and happy new year! Edit: Forgot to mention - this works fine when using nginx proxy manager as the reverse proxy and cloudflare tunnel so it could be something specific to traefik |
@novaliswolf Have you configured the https address in the android app? The android app should work fine with a reverse proxy as long as there are no redirects. Would you mind sharing your gotify url + a non admin account? (you can do so privately via the email on my profile). And could you post your traefik config? Preferably in a new issue. |
It’s probably something very obvious that I’m doing wrong here, but I can’t quite find it.
So I set up my own server and and reach it fine through the webinterface, even from my android device.
However, when I try to use the app (version 2.2.0, installed from f-droid), I get the "There is no user with this username and password" error message. In the server logs, I can also see Error#01 for the access to
/current/user
.Sorry if this is too obvious and could be found in the documentation. I didn’t find it.
The text was updated successfully, but these errors were encountered: