Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demo中调用接口443 #97

Open
paihuai00 opened this issue Jun 28, 2020 · 0 comments
Open

demo中调用接口443 #97

paihuai00 opened this issue Jun 28, 2020 · 0 comments

Comments

@paihuai00
Copy link

https安全证书,你好,我使用项目的okhttp 对齐进行了证书相关设置,您demo中的接口还是无法调通(如图报443),烦劳问一下,是我网络的问题? 还是哪里没设置正确
image

2020-06-28 19:20:49.796 20449-20449/org.lzh.framework.updateplugin E/UpdatePluginLog: check update failed: cause by : Failed to connect to raw.githubusercontent.com/0.0.0.0:443 java.net.ConnectException: Failed to connect to raw.githubusercontent.com/0.0.0.0:443 at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:222) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:146) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:186) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:121) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:100) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:179) at okhttp3.RealCall.execute(RealCall.java:63) at org.lzh.framework.updateplugin.update.OkhttpCheckWorker.check(OkhttpCheckWorker.java:60) at org.lzh.framework.updatepluginlib.base.CheckWorker.run(CheckWorker.java:55) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:919)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant