-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
After upgrading can't connect to homeserver configured on login page #8300
Comments
We are having the same issue on 0.17.9 . After the log in of users ( we also have our own IS), we receive the "Unable to connect to Homeserver. Retrying...". Using the Developer Tools, on Network, I can see only requests that are failing continuously: It looks like instead of redirecting the request correctly to |
Thanks for the report! A few questions:
|
Thanks for the respose. |
For me, regular login no LDAP. I use "bob" as login and not MXID.
PS: Historically, my server was on the domain name https://my-first-domain so MXID are like "@bob:my-first-domain" ( |
I have exactly the same problem. I can't login with Riot to my server. However, Riot works just fine as long as you are already logged in. I tried Quaternion and it works, so it's a new login problem in Riot. |
Uh, actually I wanted to write a comment on #8313, not here. But perhaps both are the same issue. |
Any news as it is blocking me at work? |
Do you see the same issue on riot.im/develop? So far, I am not sure how to reproduce your issue or what the root cause, so we'll need to keep investigating. |
I don't know if I'm seeing the same issue as @floviolleau, but in my case I'm getting:
I can still use the server because I'm still logged in, but me and other users are getting a CORS error when trying to login freshly. It was working at some point. Other clients (not riot) are also able to connect. Visually I'm getting the “Unable to connect to Homeserver. Retrying...” purple box same as OP. That is on both riot.im/develop and riot.im. (Again, this is probably a different issue…) UPDATE: I resolved my issue. I had to configure the certificate as mentioned in the UPGRADE doc. The error message I was getting in Riot definitely was not helping me to figure out what's going on, but I guess you can still blame me for not reading the UPGRADE doc :) |
The problem as I explained is if I configure a custom server in the login page, some requests still go to the default HS and are not using the one configured. XHR that are problematics and stay on the default url and not customized url are:
Correct XHR that go to the customized server:
The customized server is done with the configuration file. I wrote config.example.org.json in the webapp folder and if come with the url example.org.json, HS/IS are set correctly in the login page. If I manually set it in the login page, same issue |
Maybe hard to explain but I tried with https://riot.im/develop and it seems a little bit different. My setup is the following one:
What I tested:
With my second domain name:
go to domain1.org and assets of course came from riot.im Any explanations why domain1.org is still call despite I configured domain2.org? Thanks for your time investigating it. PS: again why I have 2 domains is that historically domain1.org what the first domain configured for my setup (and all logins have the suffix @bob:domain1.org) but is blocked by my work proxy. So I configured domain2.org that is allowed at work. |
We've changed a lot about auth since this was filed, and I wasn't able to trivially reproduce this issue so I'm going to close it - if people are still having problems do please file a new issue. Thanks! |
Description
Hi,
After the upgrade, I'm not able to connect to my homeserver (I see a magenta banner with
"Unable to connect to Homeserver. Retrying..."
).I just configured a different HS and IS on the login page and for somewhat reason, some XHR calls still go to the default HS/IS and are not using the HS/IS I configured in the login page.
I have this banner because the default IS/HS endpoint is blocked by my work proxy so this why I need to change the default one.
Before the upgrade, it was working well.
Any ideas?
Thanks
Steps to reproduce
Describe how what happens differs from what you expected.
Version information
For the web app:
The text was updated successfully, but these errors were encountered: