Ask Your Question
0

HTTP Authentication With WP All Import, pt2

asked 2018-12-11 15:51:50 -0600

dealyon gravatar image

updated 2018-12-12 09:33:25 -0600

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 http://sckmls.rets.paragonrels.com/rets/fnisrets.aspx/SCKMLS/getmetadata?Type=METADATA-SYSTEM&ID=0&Format=STANDARD-XML resulted in a 401 Unauthorized-User not logged in. response: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <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,

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-12-13 14:38:20 -0600

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

edit flag offensive delete link more

Comments

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 gravatar imagedealyon ( 2018-12-13 14:44:00 -0600 )edit

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

bwolven gravatar imagebwolven ( 2018-12-13 14:47:29 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-12-11 15:51:50 -0600

Seen: 28 times

Last updated: Dec 13 '18