线上内网机器走外网代理,访问api报错

TomMonkey
2018-01-05 07:49 1.8k 0
2018-01-05 15:36:31 [JPushHandler.java:195, main:2406261]  Push message error,using Jpush api.error {}
cn.jiguang.common.resp.APIConnectionException: Connection IO error. 
Can not connect to JPush Server. Please ensure your internet connection is ok. 
If the problem persists, please let us know at support@jpush.cn.
    at cn.jiguang.common.connection.NativeHttpClient._doRequest(NativeHttpClient.java:249)
    at cn.jiguang.common.connection.NativeHttpClient.doRequest(NativeHttpClient.java:99)
    at cn.jiguang.common.connection.NativeHttpClient.sendPost(NativeHttpClient.java:86)
    at cn.jpush.api.push.PushClient.sendPush(PushClient.java:163)
    at cn.jpush.api.JPushClient.sendPush(JPushClient.java:193)
Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(SocketInputStream.java:210)
    at java.net.SocketInputStream.read(SocketInputStream.java:141)
    at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
    at sun.security.ssl.InputRecord.read(InputRecord.java:503)
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)

1个回答

热门排序