-
Notifications
You must be signed in to change notification settings - Fork 94
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
State token does not match #1017
Comments
I've seen this, but I'm not sure if it's really talk-ios related but rather a server bug... |
@SystemKeeper Thanks. After some more research I got it working. |
@antonengelhardt I've just run into this on a fresh nextcloud server instance. I can login from web and the android nextcloud talk app, but seeing this for ios talk app. How did you resolve it? |
@ekallevig I used the QRcode to login. I can give you more detailed info tomorrow. |
@antonengelhardt thanks. I've been able to do that but it's a rather bad bug that you can't login with username/pass, no? |
@ekallevig I think so too. This workaround does the trick but it's just a workaround... |
@ekallevig Good idea. Done |
I confirm the problem. Latest stable release nextcloud : 25.0.3 I have deleted all the tokens being present for the user and I will give it a new try. |
My current setup: Machine A (caddy reverse proxy) 192.168.1.184 Firewall port forwarding:80 -> Machine A Machine A (caddy reverse proxy):Caddyfile
Machine B (nextcloud):docker-compose.yml
This setup works fine for these clients:
Only the iOS NextCloud Talk App is having this issue logging in under this setup. If it is resolvable through some server config changes, then it's only because the iOS talk client is looking for something different than all these other clients. |
Thanks for all the reports! We're not doing something special here, but I have seen this message occasionally myself. I just tried it myself and was able to login successfully most of the time (not always, but most of the time). I have a rough idea what could be the problem here. If any of you would be up for a test, please try to login again using username and password (remove the account before that obviously). After entering the URL and pressing "Log in" wait a few seconds on the next page before you select "Log in" on that one. |
That worked! If I wait a while before clicking login it works. If I click login right away, I get the "State token does not match" error. |
Thanks for confirming, that's exactly what I expected. I have already fixed it locally, so will do a PR later. |
Looking forward the PR |
I tried to "wait a while" prior from going to a login screen to the next one, as advised. Finally, I tested on an android device again, by reauthorizing the already existing account. It ended up with an error message (wrong password) although it was totally correct and the system even showing me the conversations. There is clearly an overall problem with the latest version of NC, obviously on IOS (you can't login), but also on android (behavior is strange) |
Thank you for your comment. If there’s a general issue, then this is the wrong repo to report it. I was able to reproduce the mentioned issue and create a pull request on the server repo. If this is not working for you, I don’t have a good idea right now other than to create an issue on server with as much debug information as possible. |
No, nothing special with the password. All went OK at second try. Super strange. |
I suggest we wait until the patch gets in and see if this resolved the situation already, before we go on and look for something that might not be there. |
For the time being, connected with QR code.i confirm it works |
same problem with may android 7 and davx5, new install of nextcloud 25.0.3, no sync of contacts possible. |
Hey @muekno |
Me funciono haciendo el Login en una pestaña de incógnito copiando el Link. |
Steps to reproduce
Expected behaviour
I expected to be logged in
Actual behaviour
I got an error saying "State token does not match"
Device information
Device: iPhone 14 Pro
iOS version: 16.1.2 (20B110)
Talk version: 15.1.1
Server information
Nextcloud version: (see admin overview page:
/index.php/settings/admin/overview
)Talk version: (see apps admin page:
/index.php/settings/apps
)Custom Signaling server configured: yes/no and version (see talk admin settings:
/index.php/settings/admin/talk#signaling_server
)Custom TURN server configured: yes/no (see talk admin settings:
/index.php/settings/admin/talk#turn_server
)Custom STUN server configured: yes/no (see talk admin settings:
/index.php/settings/admin/talk#stun_server
)Server log (data/nextcloud.log)
The text was updated successfully, but these errors were encountered: