-
Notifications
You must be signed in to change notification settings - Fork 33
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
Http2Client communicate with third party server #233
Comments
My Code: ClientConnection connect = null;
Log: Cannot invoke "io.undertow.client.ClientResponse.getResponseCode()" because the return value of "java.util.concurrent.atomic.AtomicReference.get()" is null |
You might need to increase the timeout when connecting to a third-party server. Also, you have to add the third-party server certificate to the client.truststore since you are using HTTPS.
|
How Http2Client communicate to third party server Url:
"https://api.weixin.qq.com/sns/jscode2session?appid=AppID&secret=AppSecret"&js_code=Code&grant_type=authorization_code"
and get the response body.
The text was updated successfully, but these errors were encountered: