Pixelpanic / phpsocks5

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

502 连接被重置.附log. #46

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
创建表成功.....
服务器是自己的vps.通过phpsocks5访问是因为服务器本身线路不�
��不过http加了cdn....
不过就算通过ip直连不走cdn也是这样....
apache2.2.19 php 5.2.17 mysql 5.5.13

502 Server dropped connection

The following error occurred while trying to access http://cirno.biz/index.php:

502 Server dropped connection
Generated Sun, 04 Dec 2011 19:31:47 中国标准时间 by Polipo on 
zths-PC:10088. 

log如下...

Sun, 04 Dec 2011 19:31:44 +0800 process 1
Sun, 04 Dec 2011 19:31:44 +0800 process 2 
Sun, 04 Dec 2011 19:31:44 +0800 process 3 
Sun, 04 Dec 2011 19:31:44 +0800 process 4 
Sun, 04 Dec 2011 19:31:44 +0800 process 5  before decrypt postdata: ()
Sun, 04 Dec 2011 19:31:44 +0800 process 6  after decrypt postdata: ()
Sun, 04 Dec 2011 19:31:44 +0800 create table process
Sun, 04 Dec 2011 19:31:46 +0800 process 1
Sun, 04 Dec 2011 19:31:46 +0800 process 2 
Sun, 04 Dec 2011 19:31:46 +0800 process 3 
Sun, 04 Dec 2011 19:31:46 +0800 process 4 
Sun, 04 Dec 2011 19:31:46 +0800 process 5  before decrypt postdata: ()
Sun, 04 Dec 2011 19:31:46 +0800 process 6  after decrypt postdata: ()
Sun, 04 Dec 2011 19:31:46 +0800 create table process
Sun, 04 Dec 2011 19:31:46 +0800 process 1
Sun, 04 Dec 2011 19:31:46 +0800 process 2 
Sun, 04 Dec 2011 19:31:46 +0800 process 3 
Sun, 04 Dec 2011 19:31:46 +0800 process 4 
Sun, 04 Dec 2011 19:31:46 +0800 process 5  before decrypt postdata: ()
Sun, 04 Dec 2011 19:31:46 +0800 process 6  after decrypt postdata: ()
Sun, 04 Dec 2011 19:31:46 +0800 create table process
Sun, 04 Dec 2011 19:31:46 +0800 process 1
Sun, 04 Dec 2011 19:31:46 +0800 process 2 
Sun, 04 Dec 2011 19:31:46 +0800 process 3 
Sun, 04 Dec 2011 19:31:46 +0800 process 4 
Sun, 04 Dec 2011 19:31:46 +0800 process 5  before decrypt postdata: ()
Sun, 04 Dec 2011 19:31:46 +0800 process 6  after decrypt postdata: ()
Sun, 04 Dec 2011 19:31:46 +0800 create table process
Sun, 04 Dec 2011 19:31:48 +0800 process 1
Sun, 04 Dec 2011 19:31:48 +0800 process 2 
Sun, 04 Dec 2011 19:31:48 +0800 process 3 
Sun, 04 Dec 2011 19:31:48 +0800 process 4 
Sun, 04 Dec 2011 19:31:48 +0800 process 5  before decrypt postdata: ()
Sun, 04 Dec 2011 19:31:48 +0800 process 6  after decrypt postdata: ()
Sun, 04 Dec 2011 19:31:48 +0800 create table process
Sun, 04 Dec 2011 19:31:49 +0800 process 1
Sun, 04 Dec 2011 19:31:49 +0800 process 2 
Sun, 04 Dec 2011 19:31:49 +0800 process 3 
Sun, 04 Dec 2011 19:31:49 +0800 process 4 
Sun, 04 Dec 2011 19:31:49 +0800 process 5  before decrypt postdata: ()
Sun, 04 Dec 2011 19:31:49 +0800 process 6  after decrypt postdata: ()
Sun, 04 Dec 2011 19:31:49 +0800 create table process

Original issue reported on code.google.com by Cirno.ba...@gmail.com on 4 Dec 2011 at 11:39

GoogleCodeExporter commented 8 years ago
客户端log....

Original comment by Cirno.ba...@gmail.com on 4 Dec 2011 at 12:01

Attachments:

GoogleCodeExporter commented 8 years ago
服务器端的日志不全,只有首次访问创建mysql数据表的记录,
没有通过客户端访问网页的记录,所以暂时还不知道是什么��
�题。
能贴全服务器端的log吗?

Original comment by lehui99 on 7 Dec 2011 at 6:50

GoogleCodeExporter commented 8 years ago
好吧log在 http://cirno.biz/phpsocks5_log.log 这里  
我现在用的是手机,有什么需要的 晚上我可以换电脑给你。

Original comment by Cirno.ba...@gmail.com on 7 Dec 2011 at 7:04

GoogleCodeExporter commented 8 years ago
代理文件地址是http://cirno.biz/9proxy.php
log 里应该有key。你可以试试。。。

Original comment by Cirno.ba...@gmail.com on 7 Dec 2011 at 7:14

GoogleCodeExporter commented 8 years ago
你的php空间不支持$_COOKIE吗?phpsocks5需要php空间支持获取浏览
器或客户端的cookie的功能。

从log中看到,php获取不到客户端的cookie。

先确认一下你的php空间是否能用$_COOKIE获取浏览器或客户端的
cookie吧?

Original comment by lehui99 on 7 Dec 2011 at 8:30

GoogleCodeExporter commented 8 years ago
表示没有禁用过。。而且我上面的discuz 
和wp都没有一点问题。。。

。。。。我还试过其他的空间。iis的 
上面装了一个phpwind。也是一样的情况。。。

Original comment by Cirno.ba...@gmail.com on 7 Dec 2011 at 8:38

GoogleCodeExporter commented 8 years ago
我创建了一个叫PHPSESSID的cookie。内容为”123“
使用var_dump($phpsid);
得到结果string(3) "123"
没问题。。。
233。。。。

Original comment by Cirno.ba...@gmail.com on 7 Dec 2011 at 9:06

GoogleCodeExporter commented 8 years ago
php.ini里是这样没错...........
; Name of the session (used as cookie name).
session.name = PHPSESSID

Original comment by Cirno.ba...@gmail.com on 7 Dec 2011 at 9:13

GoogleCodeExporter commented 8 years ago
考虑下客户端没有传回PHPSESSID?

Original comment by Cirno.ba...@gmail.com on 7 Dec 2011 at 9:45

GoogleCodeExporter commented 8 years ago
重新看了一下log,看到你的空间配置和标准配置不一样,标��
�的是PHPSESSID,你的是__cfduid。

你把php中的$sesscookiekey = 'PHPSESSID';改成$sesscookiekey = 
'__cfduid';试试看呢?

Original comment by lehui99 on 8 Dec 2011 at 1:47

GoogleCodeExporter commented 8 years ago
好,我中午回家试试……

Original comment by Cirno.ba...@gmail.com on 8 Dec 2011 at 1:53