Closed zekylaf closed 8 years ago
@zekylaf Attention! Don't publish your personal access token! People can access your Uphold account with that. I've edit your comment and remove the token, but someone may already have stolen your access token.
You need to revoke it!
About your question, that seems a connection problem. Have you check this issue #124?
Thanks for answer @nunorafaelrocha! And thanks for edit my post too. I am going to revoke the access token
I saw yesterday the issue that you are telling me. I make all the steps that your link says, but the problem persist.
I want to ask you if you know any way to disable the SSL check from uphold-sdk. I think that this is a Guzzle problem.
Please, I need to solve this, thanks you
@zekylaf First I would recommend you try a curl request from your terminal to ensure connection to Uphold's API using this command:
curl "https://api.uphold.com/v0/me" \
-H "Authorization: Bearer <token>"
Second, I would verify the PHP configuration as described in this article.
Hi @nunorafaelrocha. I solved the problem. I have an old version called "Bitreserve-sdk-php" that I have used time ago to connect my app with Uphold and I never had problems with this version, so I replaced some files of the "4.0.3" version with those of the older version. Then I have changed the files' namespaces.
Finally, it starts working, without errors. If you like, I can upload all.
Thanks for the help
👍
Closing this issue then!
This worked for me:
yum update nss
Source: https://serverfault.com/a/642203
Hi, I need help please! I am getting this error and I don't know how to solve it. Thanks
in ErrorHandler.php line 49 at ErrorHandler->onException(object(ConnectException)) in HttpClient.php line 142 at HttpClient->request('v0/me', null, 'GET', array('Accept' => 'application/json', 'Content-Type' => 'application/json', 'User-Agent' => 'uphold-sdk-php v4.0.3 (https://github.com/seegno/uphold-sdk-php)', 'Authorization' => 'Bearer'), array('query' => array())) in HttpClient.php line 87
at HttpClient->get('v0/me', array(), array('Accept' => 'application/json', 'Content-Type' => 'application/json', 'User-Agent' => 'uphold-sdk-php v4.0.3 (https://github.com/seegno/uphold-sdk-php)', 'Authorization' => 'Bearer ')) in UpholdClient.php line 313
at UpholdClient->get('/me') in UpholdClient.php line 228