tel8618217223380 / jap

Automatically exported from code.google.com/p/jap
0 stars 0 forks source link

HTTP vs HTTPS #50

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1) when i use HTTP in the TYPE field of my server configuration 
file(JAP_REMOTE_WS_xxxx), i can open web page without any problem (actually 5 
error in 100 try, errors almost is in the beginning of usage), but when i use 
HTTPS in the TYPE field of server configuration file, most of time i got this 
error ""Error 120 (net::ERR_SOCKS_CONNECTION_FAILED): Unknown error."" (with 
chrome browser)(5 success in 100 try).
as you said with HTTP the transfer will be unencrypted, so i want to use HTTPS, 
but how i can solve this problem?

i tested with openshift, modulus, nodejitsu, result was the same.

2) there is also a little response problem, when i type an address in the 
address bar, it toke a while to begin loading page.

again thanks alot for your effort. 

Original issue reported on code.google.com by meh...@gmail.com on 21 Jun 2013 at 5:17

GoogleCodeExporter commented 9 years ago
Have you configured both JAP_LOCAL_WS.json and JAP_REMOTE_WS.json with TYPE 
HTTPS?
To use SOCKS5 with CHROME, you have to start CHROME with 
--proxy-server="socks5://address:port"
See 
http://www.chromium.org/developers/design-documents/network-stack/socks-proxy
If you configure CHROME like this: 
http://www.livesocks.net/2012/09/how-to-use-socks-proxy-with-chrome.html , 
CHROME will use SOCKS4 (like INTERNET EXPLORER).

Do you use JAP_LOCAL_WS_PYTHON or JAP_LOCAL_WS_NODE?

Original comment by jeroen.v...@gmail.com on 22 Jun 2013 at 5:43

GoogleCodeExporter commented 9 years ago
yes, both remote and local config files have the same settings.
i am using JAP_LOCAL_WS_PYTHON, it seems that JAP_LOCAL_WS_NODE didn't work for 
me at all.

i config chrome with second way, (set socks in lan settings), i will try the 
parameter one.

also i will try other browsers.

Original comment by meh...@gmail.com on 23 Jun 2013 at 2:22

GoogleCodeExporter commented 9 years ago
the chrome with the parameter give me the same result as before 
i tried firefox and it give me this:
Firefox can't establish a connection to the server at ******

Original comment by meh...@gmail.com on 23 Jun 2013 at 7:28

GoogleCodeExporter commented 9 years ago
I have to add more information to the logger. I will keep you updated.

Original comment by jeroen.v...@gmail.com on 24 Jun 2013 at 5:35