-
Notifications
You must be signed in to change notification settings - Fork 605
SampleApp couldn't establish connection. #178
Comments
I did a test on our CA, this is the result to connect to a example server:
|
And here is the same steps to connect to target Amazon server:
curl performs SSL certificate verification by default, using a "bundle" |
Not sure if it's the CA issue or Amazon server issue, it works now. |
Hi, |
We have problem to establish connection with AVS while we are testing RAR on SampleAPP.
Before yesterday, we disabled peer verify and it was okay to establish connection.
In prepareForTLS, we changed: SETOPT(handle, CURLOPT_SSL_VERIFYPEER, 2L), -> SETOPT(handle, CURLOPT_SSL_VERIFYPEER, 0L),
But since yesterday, we couldn't establish connection and the log is (repeatingly):
HTTP2Transport::establishConnection -> long downchannelResponseCode = m_downchannelStream->getResponseCode(); return 0
E HTTP2Transport:networkLoopRetryingToConnect:reason=establishConnectionFailed,retryCount=1
Did the server modify its rules?
We tried to enable peer verify, but libcurl return this error: Peer certificate cannot be authenticated with given CA certificates.
Do we need to load any specified certificates and how to implement it?
Some detailed log printed by libcurl if we enable peer verify:
The text was updated successfully, but these errors were encountered: