good20087758521 / apjp

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

How to config APPP on GAE after the improvement of GFW? #137

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
APPP.ini
[gae]
# These must be defined for each server
CUSTOM_HEADER1=Host: my_app_id.appspot.com
HTTP_URL=http://74.125.31.199/HTTP
HTTPS_URL=http://74.125.31.199/HTTPS
or
[gae]
# These must be defined for each server
CUSTOM_HEADER1=Host: my_app_id.appspot.com
HTTP_URL=https://74.125.31.199/HTTP
HTTPS_URL=https://74.125.31.199/HTTPS
(APJP_LOCAL_JAVA use this HTTPS config,it works.)

Tried a lots of IPs and domains
All the same output:

What is the expected output? What do you see instead?
$ python2 appp.py gae
18:33:43 APPP[MainThread] INFO: Processing [gae] configurations
18:33:43 APPP[MainThread] INFO: Checking APPP certificates...
18:33:43 APPP[MainThread] INFO: APPP certificates OK.
18:33:43 APPP[gae] INFO: Listening on 127.0.0.1:10000.
18:33:43 APPP[gae-TEST] INFO: Testing APPP connectivity to 
http://www.google.com.hk
18:33:43 APPP[gae-1258292416] INFO: Received connection from 127.0.0.1:43641
18:33:43 APPP[gae-TEST] INFO: Testing APPP connectivity to 
https://www.google.com.hk
18:33:43 APPP[gae-1266685120] INFO: Received connection from 127.0.0.1:43642
18:33:43 APPP[gae-1266685120] ERROR: Exception encountered processing request 
from 127.0.0.1:43642: [Errno 104] Connection reset by peer
18:33:43 APPP[gae-1258292416] ERROR: Exception encountered processing request 
from 127.0.0.1:43641: [Errno 104] Connection reset by peer
18:33:43 APPP[gae-TEST] ERROR: APPP connectivity test to 
http://www.google.com.hk failed: no correctly formatted response header 
received.
18:33:43 APPP[gae-TEST] ERROR: APPP connectivity test to 
https://www.google.com.hk failed: no correctly formatted response header 
received.

What version of the product are you using? On what operating system?
Server:APJP_JAVA 1.0.0 on GAE
Client:APPP 0.1.2
OS:Archlinux

Please provide any additional information below.
I think China GFW has been improvements,to reset http request.

Original issue reported on code.google.com by westmin...@gmail.com on 28 Dec 2012 at 11:09

GoogleCodeExporter commented 9 years ago
APPP does not support HTTPS:
http://fartersoft.com/appp/comment-page-1/#comment-4856

Original comment by jeroen.v...@gmail.com on 28 Dec 2012 at 12:05