Skip to content

ERR_EMPTY_RESPONSE 日志显示System.NullReferenceException #20

@e-yi

Description

@e-yi

版本v5.1.5

windows10 预览版 版本号1903 版本18950.1000

log如下

[2019-08-05 23:50:03] [Info] Connect lh3.googleusercontent.com:443 via hgc.wmsxwd.xyz:10091
[2019-08-05 23:50:03] [Info] DNS nolock query lh3.googleusercontent.com answer 172.217.24.1
[2019-08-05 23:50:03] [Error] System.NullReferenceException: 未将对象引用设置到对象的实例。
在 Shadowsocks.Util.Utils.QueryDns(String host, String dns_servers, Boolean IPv6_first)
在 Shadowsocks.Controller.Socks5Forwarder.IsHandle(Byte[] firstPacket, Int32 length, Socket socket)
在 Shadowsocks.Controller.Socks5Forwarder.Handle(Byte[] firstPacket, Int32 length, Socket socket, String local_sendback_protocol)
在 Shadowsocks.Controller.ProxyAuthHandler.Connect()
在 Shadowsocks.Controller.ProxyAuthHandler.RspHttpHandshakeReceive()
在 Shadowsocks.Controller.ProxyAuthHandler.HandshakeReceive()
[2019-08-05 23:50:03] [Info] Direct connect www.gstatic.com:443
[2019-08-05 23:50:03] [Error] System.NullReferenceException: 未将对象引用设置到对象的实例。
在 Shadowsocks.Util.Utils.QueryDns(String host, String dns_servers, Boolean IPv6_first)
在 Shadowsocks.Controller.Socks5Forwarder.IsHandle(Byte[] firstPacket, Int32 length, Socket socket)
在 Shadowsocks.Controller.Socks5Forwarder.Handle(Byte[] firstPacket, Int32 length, Socket socket, String local_sendback_protocol)
在 Shadowsocks.Controller.ProxyAuthHandler.Connect()
在 Shadowsocks.Controller.ProxyAuthHandler.RspHttpHandshakeReceive()
在 Shadowsocks.Controller.ProxyAuthHandler.HandshakeReceive()
[2019-08-05 23:50:03] [Info] Disconnect 172.217.24.1:443
[2019-08-05 23:50:08] [Info] Disconnect 172.217.160.67:443
[2019-08-05 23:50:09] [Info] Disconnect 172.217.160.110:443

使用上是在我换了一个网络环境(在家)后,有一次将程序手动退出之后重新启动,就出现了这个问题。
重启,重新下一个客户端,更新订阅,切换服务器,切换全局代理模式&全局代理规则都无效。
其他终端(手机)上仍旧可以使用。

请问可能是出现了什么问题?在这里问合适吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions