First time here? Check out the FAQ!

HTTP Authentication With WP All Import, pt2

Hey @bwolven,

I contracted a developer to assist with HTTP Authentication. They downloaded the RETS library and wrote a script, and report they were able to authenticate.

After authentication they report the following error:

Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: GET resulted in a 401 Unauthorized-User not logged in. response: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ""> <html xml (truncated...) in /home/homescodeandsilv/public_html/wp-content/plugins/wichita-newhome-listings/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113 Stack trace: #0 /home/homescodeandsilv/public_html/wp-content/plugins/wichita-newhome-listings/vendor/guzzlehttp/guzzle/src/Middleware.php(66): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response)) #1 /home/homescodeandsilv/public_html/wp-content/plugins/wichita-newhome-listings/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp{closure}(Object(GuzzleHttp\Psr7\Response)) #2 /home/homescodeandsilv/ in /home/homescodeandsilv/public_html/wp-content/plugins/wichita-newhome-listings/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php on line 113

So they believe they're logged in yet the 401 states Unauthorized-User not logged in. Anything in that code tell you what they might be up against?

Thank you,

dealyon's avatar
asked 2018-12-11 15:51:50 -0500, updated 2018-12-12 09:33:25 -0500
edit flag offensive 0 remove flag close merge delete


add a comment see more comments

1 Answer


Can you test to see if this is working now and comment this answer?

bwolven's avatar
answered 2018-12-13 14:38:20 -0500
edit flag offensive 0 remove flag delete link


Hey @bwolven, Funny you should ask. Yes. They did get things ironed out. From what I gather they wrote a cURL function to authenticate and are now sorting it out, mapping the data if i'm not mistaken.

Thank you for checking in.

dealyon's avatar dealyon (2018-12-13 14:44:00 -0500) edit

Glad to hear it.
FYI for future reference:
* HTTP we require Digest authentication.
* HTTPS we require Basic authentication.

bwolven's avatar bwolven (2018-12-13 14:47:29 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer