java代理连接无法连接到jpush服务器

wzqwanghao
2019-03-22 03:15 811 0

ClientConfig config = ClientConfig.getInstance();
HttpProxy proxy = new HttpProxy("https://api.jpush.cn",443);
JPushClient jpushClient=newJPushClient(this.jPushProps.getMasterSecret(),this.jPushProps.getAppKey(),proxy,config);

开启代理后运行提示:
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.

1个回答

热门排序