Skip to content
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

Can't connect to presence from Sugarizer application on HTTPS instance #27

Open
llaske opened this issue Apr 4, 2021 · 1 comment
Open
Labels
bug Something isn't working

Comments

@llaske
Copy link
Collaborator

llaske commented Apr 4, 2021

It's not possible to use presence in Sugarizer application (Android/iOS/Electron or file:// access) when connected to an HTTPS instance created by Sugarizer School Portal Server.
The user is connected but there is a popup "You've been disconnected from the server" and it's not possible to access Neighborhood view.

Peek 04-04-2021 11-02

It works when trying to connect from a browser.

@llaske llaske added the bug Something isn't working label Apr 4, 2021
@llaske
Copy link
Collaborator Author

llaske commented Apr 4, 2021

The reason is that when trying to connect to a server, Sugarizer application ask to the server - during its first connection - if it should use HTTP/WS or HTTPS/WSS. This is done here and it depend of the https value in sugarizer.ini settings on the Server side, see here.

The current Sugarizer Server chart set this property to false both in HTTP/HTTPS mode so Sugarizer App try to connect using WS and fail. See messages in the console on the video before.

Trying to change the settings directly in the secret sugarizer-env doesn't fix the issue because in that case the container fail to restart. I guess it's due readinessProbe that use HTTP only (see here). Any suggestion?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant