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

Applications freezes sometimes when connecting to HTTPS servers #39

Open
HenkKalkwater opened this issue Aug 31, 2023 · 1 comment
Open
Labels
bug Something isn't working platform:sailfishos Issues only on occuring SailfishOS

Comments

@HenkKalkwater
Copy link
Member

When connecting to a HTTPS Jellyfin server, the entire application freezes.

Attaching GDB to Sailfin revealed it was in a deadlock in SSL handling code from Qt. I believe this is caused by QTBUG-76157. A PR for the Qt fork by Jolla has been made: sailfishos/qtbase#11. Applying this patch resolves this issue.

Is there any workaround for this that can be applied to this application?

Currently there is a workaround which solves it sometimes. It seems like increasing the timeout in showing the main page makes this issue less likely to happen. https://github.com/heartfin/harbour-sailfin/blob/b1bd15f2c13d85800a2a7abecc7d569f1570b97b/sailfish/qml/harbour-sailfin.qml#L187C1-L189C88

Just a thought, but perhaps letting the QML engine make use of the same QNetworkAccessManager as the C++ code (ApiClient) will solve this deadlock?

@HenkKalkwater HenkKalkwater added bug Something isn't working platform:sailfishos Issues only on occuring SailfishOS labels Aug 31, 2023
@HenkKalkwater
Copy link
Member Author

I just made a duplicate of #16, didn't I?

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

No branches or pull requests

1 participant