h-mdm / hmdm-server

Mobile Device Management System for Android: web control panel. Manage Android devices, install and update apps, get device info. See website for more features!
https://h-mdm.com
Apache License 2.0
315 stars 141 forks source link

Error 500 | Cannot Genrate QRCode after Installation #77

Closed krisna24 closed 1 year ago

krisna24 commented 1 year ago

Cannot Genrate QRCode after Installation just Error 500

[2023-04-14 00:03:37] [info] 2023-04-14 00:03:37 [INFO] com.hmdm.rest.resource.QRCodeResource : Generating QR-code image for configuration key: 6fb9c8dc81483173a0c0e9f8b2e46be1 [2023-04-14 00:03:37] [info] 2023-04-14 00:03:37 [ERROR] com.hmdm.rest.resource.QRCodeResource : Unexpected error while generating the QR-code image [2023-04-14 00:03:37] [info] javax.net.ssl.SSLException: Unsupported or unrecognized SSL message [2023-04-14 00:03:37] [info] #011at java.base/sun.security.ssl.SSLSocketInputRecord.handleUnknownRecord(SSLSocketInputRecord.java:457) [2023-04-14 00:03:37] [info] #011at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:175) [2023-04-14 00:03:37] [info] #011at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111) [2023-04-14 00:03:37] [info] #011at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1507) [2023-04-14 00:03:37] [info] #011at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1417) [2023-04-14 00:03:37] [info] #011at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:456) [2023-04-14 00:03:37] [info] #011at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:427) [2023-04-14 00:03:37] [info] #011at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:572) [2023-04-14 00:03:37] [info] #011at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:201) [2023-04-14 00:03:37] [info] #011at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1592) [2023-04-14 00:03:37] [info] #011at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520) [2023-04-14 00:03:37] [info] #011at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:250) [2023-04-14 00:03:37] [info] #011at java.base/java.net.URL.openStream(URL.java:1165)

h-mdm commented 1 year ago

I think there's a mess between HTTP and HTTPS protocols. I recommend you to re-run the installer, and enter the Protocol and Port very carefully. HTTPS uses port 443 (leave empty when configuring the installer). HTTP uses port 80 or 8080. Using HTTPS is strongly recommended.

Also, this article may be helpful to you: https://qa.h-mdm.com/1/

krisna24 commented 1 year ago

I have resgiter but not receive any email for registration I want to buy the software and pay once somebody have solutions.?