how to support https

50 views
Skip to first unread message

Clay zhao

unread,
Aug 4, 2021, 11:49:48 AM8/4/21
to OOO Libs
Hi Guys,

I meet one question,   the server is https/********,  I use the getDown 1.8.6 version, it can support or not ?

2021/08/04 15:50:54:704 WARNING app_dir 'C:\Users\09212378\.*********'.
2021/08/04 15:50:54:704 INFO Using appdir from command line: 
2021/08/04 15:50:54:704 INFO ------------------ VM Info ------------------
2021/08/04 15:50:54:704 INFO -- OS Name: Windows 10
2021/08/04 15:50:54:704 INFO -- OS Arch: x86
2021/08/04 15:50:54:704 INFO -- OS Vers: 10.0
2021/08/04 15:50:54:704 INFO -- Java Vers: 1.8.0_281
2021/08/04 15:50:54:704 INFO -- Java Home: C:\Program Files (x86)\Java\jre1.8.0_281
2021/08/04 15:50:54:704 INFO -- User Name: 09212378
2021/08/04 15:50:54:720 INFO -- User Home: C:\Users\09212378
2021/08/04 15:50:54:720 INFO -- Cur dir: C:\Program Files (x86)\****\****
2021/08/04 15:50:54:720 INFO ---------------------------------------------
2021/08/04 15:50:54:783 INFO Getdown starting [version=1.8.6, built=2021-05-06 09:43]
2021/08/04 15:50:54:783 INFO Checking whether we need to use a proxy...
2021/08/04 15:50:54:876 INFO Failed to find proxy settings in Windows registry [error=java.lang.UnsatisfiedLinkError: no jRegistryKey in java.library.path]
2021/08/04 15:50:54:876 INFO Using proxy [host=5.16.102.20, port=8080, haveCreds=false]
2021/08/04 15:50:54:892 INFO Able to lock for updates: true
2021/08/04 15:50:54:892 WARNING Unable to set modtime on config file, will be unable to check for another instance of getdown running while this one waits.
2021/08/04 15:50:54:954 INFO Verifying application: https://*********.fit.pbg.pvt:443/epadadmin/
2021/08/04 15:50:54:954 INFO Version: 20180530071847
2021/08/04 15:50:54:954 INFO Dropping status 'm.validating'.
2021/08/04 15:50:54:954 INFO Class: ****************************
2021/08/04 15:50:54:954 INFO Failed to load digest: C:\Users\09212378\.********\digest2.txt (The system cannot find the file specified). Attempting recovery...
2021/08/04 15:50:54:954 INFO  'digest.txt' from 'https://***************.fit.pbg.pvt:443/epadadmin/digest.txt'.
2021/08/04 15:50:57:876 WARNING getdown() failed.
java.net.ConnectException: Connection refused: connect
        at java.net.DualStackPlainSocketImpl.connect0(Native Method)
        at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
        at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
        at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at sun.net.NetworkClient.doConnect(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient$1.run(Unknown Source)
        at sun.net.www.http.HttpClient$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Met


Error Screenshot.PNG

Michael Bayne

unread,
Aug 4, 2021, 11:58:17 AM8/4/21
to ooo-...@googlegroups.com
Getdown should work with HTTPS URLs out of the box. It just uses the standard JDK routines for opening socket connections, which certainly support HTTPS. So either there's something weird with the JDK you're running Getdown with, or you have a firewall blocking something, or something along those lines.

--
You received this message because you are subscribed to the Google Groups "OOO Libs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ooo-libs+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ooo-libs/2e0227c2-ee00-4141-b232-f34bc66e7bd6n%40googlegroups.com.


--

Clay zhao

unread,
Aug 4, 2021, 9:02:12 PM8/4/21
to OOO Libs
Ok, Thank you Michael. 
Reply all
Reply to author
Forward
0 new messages