mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 00:15:51 +03:00
[GH-ISSUE #300] 使用proxy socks -t tcp -p XXX:XXX创建socks代理,但是有些连接会返回错误 #214
Labels
No labels
TODO
bug
duplicate
enhancement
good first issue
help wanted
helpful
invalid
need-confirm
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/goproxy#214
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wangshibing on GitHub (Jul 16, 2019).
Original GitHub issue: https://github.com/snail007/goproxy/issues/300
我用java去通过socks代理连接邮箱服务器,搭建代理的的机器为一个cpu核,1GB内存。
大部分的连接是没问题的,少量了解会报错
错误信息:
Caused by: java.net.SocketException: SOCKS: Network unreachable
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:556)
at java.net.Socket.connect(Socket.java:589)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:309)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:243)
这个代理目前承担了150的并发量。
想问下会不会是并发导致报错?或者其他的原因导致的?