Unable to connect to ssl:\/\/sandbox.dwolla.com:443


(Sushil Kumar) #1

I am using dwolla direct method transfer money from customer to merchant
account. I have connect successfully after connect an login to sandbox
account but after getting code and getting access token to using this code
than i am getting some error unable to connect to
ssl://sandbox.dwolla.com:443 http://sandbox.dwolla.com:443.

What is the problem Please provide solution urgent basis. before past some month this code is working fine and not changing my code. But we are getting error.
{
“code”: 500,
“name”: “stream_socket_client(): Peer certificate
CN=dwolla.com' did not match expected CN=sandbox.dwolla.com’\nstream_socket_client(): Failed to enable
crypto\nstream_socket_client(): unable to connect to
ssl://sandbox.dwolla.com:443 (Unknown error)”,
“message”: “stream_socket_client(): Peer certificate
CN=dwolla.com' did not match expected CN=sandbox.dwolla.com’\nstream_socket_client(): Failed to enable
crypto\nstream_socket_client(): unable to connect to
ssl://sandbox.dwolla.com:443 (Unknown error)”,
“url”: “/mahaalo-api/dwolla_directs/oauth_callback?code=QeWsYvwHYD2EMwabZ6TY48v0zp8T&state=MjA4”
}

Please resolve this issues.


(Spencer Hunter) #2

Hi @Sushil_Kumar, what is the endpoint you are calling in the Dwolla API, and do you have the actual error response from the API?


(Sushil Kumar) #4

@spencer pencer Hunter

We are using bellow end point:-
sandbox api url :- https://api-sandbox.dwolla.com,
sandbox auth url : https://sandbox.dwolla.com/oauth/v2/token
sandbox auth call back url :- http://52.20.36.153/mahaalo-api/dwolla_directs/oauth_callback
sandbox dwolla authenticate url :-https://sandbox.dwolla.com/oauth/v2/authenticate