Auth0 Home Blog Docs

Cant_exchange_token and http_request_failed errors

wordpress

#1

Hello,

I am trying to use Auth0 on wordpress, to help users log in with the same username and pass as on a different app that we have with Auth0. I have installed the wordpress plugin and I’m on wpa0-setup
I tried that a few times now, and I get the errors in the title at Step1. First, after selecting the account type was getting only cant_exchange_token error, which was similar to an error mentioned on another post here on the forum - the log was empty as well (https://auth0.com/forum/t/cant-run-auto-setup-in-wordpress-video-includes-video/4888/61).
Last time i Tried I got the same error, but also the log had the following line
WP_Auth0_Api_Client::get_token http_request_failed cURL error 28: Operation timed out after 5000 milliseconds with 0 bytes received

Can you, please, tell me what am I doing wrong?

Thank you

Regards,
Mario

topic moved here from https://auth0.com/forum/t/cant-exchange-token-and-http-request-failed-errors/5828

Also, the latest update (reply from my hosting provider):
The website is loading up ok using Lynx, the wget command also completes successfully - so the server is able to communicate with https://.auth0.com/testall without any problems as far as we can tell.


#2

For troubleshooting purposes, have you tried to go through the manual setup (no internet access) instead of doing the automated setup?


#3