thefangbear / phpsocks5

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

java.io.IOException: Server returned HTTP response code: 500 for URL:...... #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
按照6个步骤做完了,表也创建成功了。
但我试了两个站点:zoka.cc和0fees.net,都出现了:“java.io.IOExc
eption: Server returned HTTP response code: 500 for 
URL:xxxxxx”这样的错误。不知道是怎么回事,服务器端要满足�
��么条件么?

具体错误是:
java.io.IOException: Server returned HTTP response code: 500 for URL: 
http://xxxxxx
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
        at phpsocks5.Utils.background(PhpSocks5.java:72)
        at phpsocks5.PhpSocks5.run(PhpSocks5.java:366)
        at java.lang.Thread.run(Unknown Source)
java.net.SocketException: socket closed
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(Unknown Source)
        at java.io.DataInputStream.read(Unknown Source)
        at phpsocks5.Utils.send(PhpSocks5.java:79)
        at phpsocks5.PeerSender.run(PhpSocks5.java:209)
        at java.lang.Thread.run(Unknown Source)

Original issue reported on code.google.com by nic...@gmail.com on 14 Feb 2011 at 12:39

GoogleCodeExporter commented 8 years ago
印象中,0fees.net空间不支持file_get_contents函数

Original comment by myent...@gmail.com on 14 Feb 2011 at 1:27

GoogleCodeExporter commented 8 years ago
最近打算加一些PHP和Java的log,现在没有log查起来比较麻烦。�
��新后Project Home => Summary会写出来更新内容。

Original comment by lehui99 on 15 Feb 2011 at 3:15

GoogleCodeExporter commented 8 years ago
0fees.net如果不支持file_get_contents函数,如何一次性取出所有客
户端POST的数据呢?

Original comment by lehui99 on 22 Feb 2011 at 12:16

GoogleCodeExporter commented 8 years ago
log加好了,请看项目主页。有问题把客户端和服务器端log贴��
�Issues中。

Original comment by lehui99 on 22 Feb 2011 at 12:17

GoogleCodeExporter commented 8 years ago
我也遇到了同样的问题:
Mon Feb 28 13:04:09 CST 2011    Exception in background: Mon, 28 Feb 2011 05:04:08 
+0000   feof
java.io.IOException: Server returned HTTP response code: 500 for URL: 
http://XXXXXXXX
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at phpsocks5.Utils.getURLInput(PhpSocks5.java:53)
    at phpsocks5.Utils.background(PhpSocks5.java:103)
    at phpsocks5.PhpSocks5.run(PhpSocks5.java:403)
    at java.lang.Thread.run(Unknown Source)

Original comment by iMax....@gmail.com on 28 Feb 2011 at 5:12

Attachments:

GoogleCodeExporter commented 8 years ago
服务器端的log能一起发上来吗?

Original comment by lehui99 on 1 Mar 2011 at 10:43

GoogleCodeExporter commented 8 years ago
0.4版应该修好了,试试看?

Original comment by lehui99 on 5 Mar 2011 at 1:01