Hi,
Glad to hear it, thanks for reporting back.
-dev
Hi,
Glad to hear it, thanks for reporting back.
-dev
Hi,
Is your installation running on an EC2 instance? Have you tried logging in as the ‘coronium’ user?
Let me know.
-dev
Hi,
To change the password make sure you are logged in as the ‘coronium’ user. You don’t want to actually change the password for the ‘ubuntu’ user.
If you are using an EC2 instance, you can/should only log in as the ‘ubuntu’ user using ssh with a key:
ssh -i \<path/to/.pem\> ubuntu@\<your-domain\>
Then you should be able to run the HTTPS installer, making sure you have a domain name set up as noted in the documentation.
Hope that helps.
-dev
^ exactly what i figured out to do. i assumed that i was always using the “coronium” password and not “ubuntu”.
cheers,
boris
just an update - ive built my app to iOS and everything seems fine with retrieving data via HTTPS, however on the android build i receive this error every time i attempt to retrieve:
Dec 11 11:25:51.127 SM-G950F: ERROR: network: Hand
Dec 11 11:25:51.128
Dec 11 11:25:51.132 shake failed: https://coronium.testera.com:10001 (javax.net.ssl.SSLHandshakeException)
Dec 11 11:25:51.132 SM-G950F: ERROR: network: Handshake failed: https://coronium.testera.com:10001 (javax.net.ssl.SSLHandshakeException)
Dec 11 11:25:51.133 SM-G950F: ERROR: network: Handshake failed: https://coronium.testera.com:10001 (javax.net.ssl.SSLHandshakeException)
Dec 11 11:25:51.144 SM-G950F: ERROR: network: Handshake failed: https://coronium.testera.com:10001 (javax.net.ssl.SSLHandshakeException)
Dec 11 11:25:51.144 SM-G950F: ERROR: network: Handshake failed: https://coronium.testera.com:10001 (javax.net.ssl.SSLHandshakeException)
SM-G950F: ERROR: network: Handshake failed: https://coronium.testera.com:10001 (javax.net.ssl.SSLHandshakeException)
Dec 11 11:25:51.148 SM-G950F: ERROR: network
Dec 11 11:25:51.148
Dec 11 11:25:51.151 : Handshake failed: https://coronium.testera.com:10001 (javax.net.ssl.SSLHandshakeException)
im testing this on a samsung s8 btw
cheers,
boris
EDIT - i just replaced the domain name to testera for privacy purposes
Most likely a TLS version issue if it is an older Android OS
this is tested on 7.0, i also tried importing coronium.testera.com SSL certificate into my JVM trust keystore but still have that handshake error. not sure what to do now lol
Hi,
Are you seeing any errors in the coronium log in regards to https? You can view the log in the Webmin or using cclog on the command line.
View the log right after getting the error on the device.
-dev
Hi,
I just woke up, i’ll look through the log and get back to you,
cheers,
boris
this is what i get using cclog:
2017/12/10 09:30:54 [error] 7370#0: *5 failed to load external Lua file “/home/coronium/pages/.git/config.lua”: cannot open /home/coronium/pages/.git/config.lua: No such file or directory, client: 5.189.142.136, server: , request: “GET /.git/config HTTP/1.1”, host: “coronium.testera.com”, referrer: "http://coronium.testera.com/.git/config"
2017/12/10 10:14:36 [error] 7370#0: *18 failed to load external Lua file “/home/coronium/pages/.git/config.lua”: cannot open /home/coronium/pages/.git/config.lua: No such file or directory, client: 5.189.142.136, server: , request: “GET /.git/config HTTP/1.1”, host: “coronium.testera.com”, referrer: "http://coronium.testera.com/.git/config"
thing is, i dont have anything showing up in the cclog straight after causing the handshaking error so im assuming im not getting any https errors. ive made a few requests on my ios build and its working fine so im confident this is an android-only error.
cheers,
boris
Hi,
this what i’ve done so far:
I’ve downloaded the coronium.testera.com certificate using chrome, the intermediate certificate and root certificate, and ive entered them into my keychain. on keychain access, all three certificates say “this certificate is valid”
i then imported the coronium.testera.com certificate into the JRE key store via cacerts
finally, i imported the coronium certificate into my APK x.keystore, building with alias x
still no success.
cheers,
boris
EDIT: i’ve also tried using network.request and i do get:
M-G950F: ERROR: networ
Dec 13 12:02:24.206
Dec 13 12:02:24.212 k: Handshake failed: https://coronium.testera.com (javax.net.ssl.SSLHandshakeException)
Hi,
You really shouldn’t have to do any of those extra things for it to work as far as coronium is concerned. You would definitely see some https/ssl errors in the log if it was on the coronium side.
What happens if you try a network.request with another known https site?
I’ll run on test on an Android device, but I don’t have the exact device you are testing on. Have not received any other reports of a similar nature. It could be a Corona based issue, so I’m interested in what happens when you try a different https site.
Let me know.
-dev
hey,
i tried network.request using https://encrypted.google.com and i got a bunch of html tags and no error (event.isError == nil). just to confirm, do i cclog under coronium or ubuntu user (i did it through coronium)?
Another strange occurance is that when i try to go to https://coronium.testera.com/_webmin/etc, i just get a blank white screen (before i converted to HTTPS i had the normal webmin screen).
cheers,
boris
EDIT: my silly mistake, i didnt add the trailing slash, will see what the log messages say there
Hi,
Actually, disregard that last post (which I’ve removed), the HTTPS/SSL installer should have done that for you. I just saw your edit.
-dev
Hey,
No problem, i tested it on my Samsung S8 (recently software updated). I’ll go and test it on a few other older devices in the mean time,
Cheers,
Boris
My log messages only showed what my cclog showed earlier today and the user password mismatch when trying to log into webmin.
Cheers,
Boris
Would it help if i gave my coronium domain to you?
Cheers,
Boris
Hi,
I’m booting up an EC2 instance now and will check on a couple Android devices. Let me do that first, and then I may want to take a look at your domain.
-dev
No problem,
Cheers,
Boris
Hi,
Strange, everything is working fine on a Nexus 5X. I have an older device charging right now and will test on that as well when it’s ready.
Are you building on Windows or OSX? Also, when you build what version of Java shows up in the Corona console?
-dev