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

Moodle not available - SSL handshake failure #26

Open
sefranz opened this issue Aug 7, 2022 · 1 comment
Open

Moodle not available - SSL handshake failure #26

sefranz opened this issue Aug 7, 2022 · 1 comment

Comments

@sefranz
Copy link

sefranz commented Aug 7, 2022

Describe the bug
Login is not possible, a popup states "Error: Moodle not available"

For me, it appears exactly as in this older issue here: RobertKrajewski#165

To Reproduce
Steps to reproduce the behavior:

  1. Download the current linux appimage
  2. Open the tab "Options"
  3. Click the button "Login"
  4. The error popup appears

Expected behavior
A connection to RWTH Moodle should be established, leading to a login process.

Screenshots
image

Desktop:

  • OS: Ubuntu Linux 22.04 on Wayland
       Distributor ID:	Ubuntu
       Description:	Ubuntu 22.04.1 LTS
       Release:	22.04
       Codename:	jammy
    
  • Version: SyncMyL2P-2.5.1-linux.AppImage

Additional context

Application logs (extended)

INFO  10:33:24.386 Set logging to "Extended". 

DEBUG 10:33:32.450 Delete access data. 

INFO  10:33:32.980 Moodle Availability request 

ERROR 10:33:33.016 Moodle not available. Error details:  SSL handshake failed 

ERROR 10:33:33.016 Content of the answer:   

DEBUG 10:33:34.377 Stop login 

Console logs

> $ ./SyncMyL2P-2.5.1-linux.AppImage 
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.network.ssl: QSslSocket: cannot resolve EVP_PKEY_base_id
qt.network.ssl: QSslSocket: cannot resolve SSL_get_peer_certificate
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_get_peer_certificate
@t-schroeder
Copy link
Collaborator

Thanks for reporting. I can reproduce this. The problem is related to OpenSSL v3 which Ubuntu 22.04 comes with. From what I read this problem also occurs with QT 6 (Sync-my-L2P is still built with QT 5). What does help is using OpenSSL 1.1.1 e.g. by building it yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants