Ask Your Question

Revision history [back]

Credentials not being passed out of the blue - 401 error

Nothing changed on our end. We use vielerets to pull data. Here is a batch log file:

Debug Output for VieleRETS


[December 13, 2018 16:07:01 UTC] CREATE new Request for INITIAL_LOGIN

[December 13, 2018 16:07:01 UTC] SET socket - failed

[December 13, 2018 16:07:01 UTC] SET cookies - failed

[December 13, 2018 16:07:01 UTC] SET credential failed because no credential is present

[December 13, 2018 16:07:01 UTC] READ as an XML formatted stream

[December 13, 2018 16:07:01 UTC] OPENING socket for Request on cwbr.rets.fnismls.com 80

[December 13, 2018 16:07:02 UTC] SUCCESS on open

[December 13, 2018 16:07:02 UTC] SENDING ...

POST /rets/fnisrets.aspx/CWBR/login HTTP/1.1

Host: cwbr.rets.fnismls.com:80

Accept: /

User-Agent: Paragon/1.1.8

Date: Thu, 13 Dec 2018 16:07:01 GMT

RETS-Request-ID: U571

RETS-Version: RETS/1.7.2

Pragma: no-cache

Content-Type: application/x-www-form-urlencoded

Content-Length: 21

rets-version=rets/1.5

[December 13, 2018 16:07:03 UTC] RESPONSE ...

HTTP/1.1 401 Invalid Username/Password combination

Cache-Control: private

Content-Type: text/html

Expires: Mon, 01 Jan 0001 00:00:00 GMT

RETS-Server: RETS-Paragon/1.0

RETS-Request-ID: U571

RETS-Version: RETS/1.7.2

WWW-Authenticate: Digest qop="auth",realm="CWBR",nonce="2018-12-13T16:17:02",opaque="",stale="false",domain="\rets\fnisrets.aspx\CWBR"

Set-Cookie: RMLS%5FSESSION%5FGUID=; path=/RETS/

Set-Cookie: RMLS%5FSESSION%5FLAST%5FDBUPDATE=; path=/RETS/

Set-Cookie: RMLS%5FSESSION%5FLAST%5FUPDATE=; path=/RETS/

Set-Cookie: RMLS%5FSESSION%5FTIMEOUT=; path=/RETS/

X-SERVER: A52

Date: Thu, 13 Dec 2018 16:07:02 GMT

Content-Length: 1293

Vary: Accept-Encoding

[December 13, 2018 16:07:03 UTC] READING the PAYLOAD with Content-Length

[December 13, 2018 16:07:03 UTC] PAYLOAD ...

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>

<title>401 - Unauthorized: Access is denied due to invalid credentials.</title>

<style type="text/css">

</style>

</head>

<body>

Server Error

<fieldset>

401 - Unauthorized: Access is denied due to invalid credentials.

You do not have permission to view this directory or page using the credentials that you supplied.

</fieldset>

</body>

</html>

[December 13, 2018 16:07:03 UTC] GENERATE a credential

[December 13, 2018 16:07:03 UTC] OPENING socket for Request on cwbr.rets.fnismls.com 80

[December 13, 2018 16:07:03 UTC] Socket already open for Request on cwbr.rets.fnismls.com 80

[December 13, 2018 16:07:03 UTC] SENDING ...

POST /rets/fnisrets.aspx/CWBR/login HTTP/1.1

Authorization: Digest username="taagteam", realm="CWBR", nonce="2018-12-13T16:17:02", uri="/rets/fnisrets.aspx/CWBR/login", qop="auth", nc=00000001, cnonce="0a4f113b", response="83002e0dee5d656b3f572d5f157995fa", opaque=""

Host: cwbr.rets.fnismls.com:80

Accept: /

User-Agent: Paragon/1.1.8

Date: Thu, 13 Dec 2018 16:07:03 GMT

RETS-Request-ID: U571

RETS-Version: RETS/1.7.2

Cookie: RMLS%5FSESSION%5FGUID=; path=/RETS/

Cookie: RMLS%5FSESSION%5FLAST%5FDBUPDATE=; path=/RETS/

Cookie: RMLS%5FSESSION%5FLAST%5FUPDATE=; path=/RETS/

Cookie: RMLS%5FSESSION%5FTIMEOUT=; path=/RETS/

Pragma: no-cache

Content-Type: application/x-www-form-urlencoded

Content-Length: 21

rets-version=rets/1.5

[December 13, 2018 16:07:03 UTC] RESPONSE ...

HTTP/1.1 200 Success

Cache-Control: private

Content-Type: text/xml

Expires: Mon, 01 Jan 0001 00:00:00 GMT

RETS-Server: RETS-Paragon/1.0

RETS-Request-ID: U571

RETS-Version: RETS/1.7.2

Set-Cookie: RMLS%5FSESSION%5FGUID=; path=/RETS/

Set-Cookie: RMLS%5FSESSION%5FLAST%5FDBUPDATE=; path=/RETS/

Set-Cookie: RMLS%5FSESSION%5FLAST%5FUPDATE=; path=/RETS/

Set-Cookie: RMLS%5FSESSION%5FTIMEOUT=; path=/RETS/

Set-Cookie: RETS-Session-ID=-50f8b2be-1a1b-4369-949a-dae90a7e8a97-; path=/

X-SERVER: A52

Date: Thu, 13 Dec 2018 16:07:02 GMT

Content-Length: 535

[December 13, 2018 16:07:03 UTC] READING the PAYLOAD with Content-Length

[December 13, 2018 16:07:03 UTC] PAYLOAD ...

<rets replycode="0" replytext="Login Request" &gt;<="" p="">

<rets-response>

MemberName=TONY SCHMITZ

User=taagteam,6,94,412

Broker=75,75

MetadataVersion=18.12.14485

MetadataTimestamp=2018-12-10T01:25:23.6Z

MinMetadataTimestamp=2018-12-10T01:25:23.6Z

TimeoutSeconds=5400

GetMetadata=/rets/fnisrets.aspx/CWBR/getmetadata

GetObject=/rets/fnisrets.aspx/CWBR/getobject

Login=http://cwbr.rets.fnismls.com/rets/fnisrets.aspx/CWBR/login

Logout=/rets/fnisrets.aspx/CWBR/logout

Search=/rets/fnisrets.aspx/CWBR/search

</rets-response>

</rets>

[December 13, 2018 16:07:03 UTC] INTERPRET the PAYLOAD as XML through parsing

[December 13, 2018 16:07:03 UTC] SHARE credential - succeeded using an object

[December 13, 2018 16:07:03 UTC] SAVE the credential for [POST /rets/fnisrets.aspx/CWBR/login]

[December 13, 2018 16:07:03 UTC] SHARE cookies - succeded

[December 13, 2018 16:07:03 UTC] SHARE socket - succeded

[December 13, 2018 16:07:03 UTC] CREATE new Request for SEARCH

[December 13, 2018 16:07:03 UTC] SET socket - succeded

[December 13, 2018 16:07:03 UTC] SET cookies - succeded

[December 13, 2018 16:07:03 UTC] LOOK for an existing credential for [POST /rets/fnisrets.aspx/CWBR/search]

[December 13, 2018 16:07:03 UTC] CREATE a new credential

[December 13, 2018 16:07:03 UTC] READ as an XML formatted stream

[December 13, 2018 16:07:03 UTC] OPENING socket for Request on cwbr.rets.fnismls.com 80

[December 13, 2018 16:07:03 UTC] Socket already open for Request on cwbr.rets.fnismls.com 80

[December 13, 2018 16:07:03 UTC] SENDING ...

POST /rets/fnisrets.aspx/CWBR/search HTTP/1.1

Host: cwbr.rets.fnismls.com:80

Accept: /

User-Agent: Paragon/1.1.8

Date: Thu, 13 Dec 2018 16:07:03 GMT

RETS-Request-ID: U571

RETS-Version: RETS/1.7.2

Cookie: RMLS%5FSESSION%5FGUID=; path=/RETS/

Cookie: RMLS%5FSESSION%5FLAST%5FDBUPDATE=; path=/RETS/

Cookie: RMLS%5FSESSION%5FLAST%5FUPDATE=; path=/RETS/

Cookie: RMLS%5FSESSION%5FTIMEOUT=; path=/RETS/

Cookie: RETS-Session-ID=-50f8b2be-1a1b-4369-949a-dae90a7e8a97-; path=/

Pragma: no-cache

Content-Type: application/x-www-form-urlencoded

Content-Length: 156

SearchType=Property&Class=RE_1&Select=L_ListingID&Query=%28L_ListingID%3D1805225%2C1804950%29&QueryType=DMQL2&Format=COMPACT-DECODED&StandardNames=0&Count=2

[December 13, 2018 16:07:03 UTC] RESPONSE ...

HTTP/1.1 401 Invalid Username/Password combination

Cache-Control: private

Content-Type: text/html

Expires: Mon, 01 Jan 0001 00:00:00 GMT

RETS-Server: RETS-Paragon/1.0

RETS-Request-ID: U571

RETS-Version: RETS/1.7.2

WWW-Authenticate: Digest qop="auth",realm="CWBR",nonce="2018-12-13T16:17:02",opaque="",stale="false",domain="\rets\fnisrets.aspx\CWBR"

Set-Cookie: RMLS%5FSESSION%5FGUID=; path=/RETS/

Set-Cookie: RMLS%5FSESSION%5FLAST%5FDBUPDATE=; path=/RETS/

Set-Cookie: RMLS%5FSESSION%5FLAST%5FUPDATE=; path=/RETS/

Set-Cookie: RMLS%5FSESSION%5FTIMEOUT=; path=/RETS/

Set-Cookie: RETS-Session-ID=Logging-in; path=/

X-SERVER: A52

Date: Thu, 13 Dec 2018 16:07:02 GMT

Content-Length: 1293

Vary: Accept-Encoding

[December 13, 2018 16:07:03 UTC] READING the PAYLOAD with Content-Length

[December 13, 2018 16:07:03 UTC] PAYLOAD ...

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>

<title>401 - Unauthorized: Access is denied due to invalid credentials.</title>

<style type="text/css">

</style>

</head>

<body>

Server Error

<fieldset>

401 - Unauthorized: Access is denied due to invalid credentials.

You do not have permission to view this directory or page using the credentials that you supplied.

</fieldset>

</body>

</html>

[December 13, 2018 16:07:03 UTC] GENERATE a credential

[December 13, 2018 16:07:03 UTC] OPENING socket for Request on cwbr.rets.fnismls.com 80

[December 13, 2018 16:07:03 UTC] Socket already open for Request on cwbr.rets.fnismls.com 80

[December 13, 2018 16:07:03 UTC] SENDING ...

POST /rets/fnisrets.aspx/CWBR/search HTTP/1.1

Authorization: Digest username="taagteam", realm="CWBR", nonce="2018-12-13T16:17:02", uri="/rets/fnisrets.aspx/CWBR/search", qop="auth", nc=00000001, cnonce="0a4f113b", response="596874215bdcd87298a644f2532539a5", opaque=""

Host: cwbr.rets.fnismls.com:80

Accept: /

User-Agent: Paragon/1.1.8

Date: Thu, 13 Dec 2018 16:07:03 GMT

RETS-Request-ID: U571

RETS-Version: RETS/1.7.2

Cookie: RMLS%5FSESSION%5FGUID=; path=/RETS/

Cookie: RMLS%5FSESSION%5FLAST%5FDBUPDATE=; path=/RETS/

Cookie: RMLS%5FSESSION%5FLAST%5FUPDATE=; path=/RETS/

Cookie: RMLS%5FSESSION%5FTIMEOUT=; path=/RETS/

Cookie: RETS-Session-ID=Logging-in; path=/

Pragma: no-cache

Content-Type: application/x-www-form-urlencoded

Content-Length: 156

SearchType=Property&Class=RE_1&Select=L_ListingID&Query=%28L_ListingID%3D1805225%2C1804950%29&QueryType=DMQL2&Format=COMPACT-DECODED&StandardNames=0&Count=2

[December 13, 2018 16:07:03 UTC] RESPONSE ...

HTTP/1.1 401 Unauthorized-User not logged in.

Cache-Control: private

Content-Type: text/html

Expires: Mon, 01 Jan 0001 00:00:00 GMT

RETS-Server: RETS-Paragon/1.0

RETS-Request-ID: U571

RETS-Version: RETS/1.7.2

Set-Cookie: RMLS%5FSESSION%5FGUID=; path=/RETS/

Set-Cookie: RMLS%5FSESSION%5FLAST%5FDBUPDATE=; path=/RETS/

Set-Cookie: RMLS%5FSESSION%5FLAST%5FUPDATE=; path=/RETS/

Set-Cookie: RMLS%5FSESSION%5FTIMEOUT=; path=/RETS/

X-SERVER: A52

Date: Thu, 13 Dec 2018 16:07:02 GMT

Content-Length: 1293

Vary: Accept-Encoding

[December 13, 2018 16:07:03 UTC] RESPONSE ...

[December 13, 2018 16:07:03 UTC] RESPONSE ...

<html xmlns="http://www.w3.org/1999/xhtml">

[December 13, 2018 16:07:03 UTC] RESPONSE ...

<head>

[December 13, 2018 16:07:03 UTC] RESPONSE ...

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>

[December 13, 2018 16:07:03 UTC] RESPONSE ...

<title>401 - Unauthorized: Access is denied due to invalid credentials.</title>

[December 13, 2018 16:07:03 UTC] RESPONSE ...

<style type="text/css">

[December 13, 2018 16:07:03 UTC] RESPONSE ...

[December 13, 2018 16:07:03 UTC] RESPONSE ...

</style>

[December 13, 2018 16:07:03 UTC] RESPONSE ...

</head>

[December 13, 2018 16:07:03 UTC] RESPONSE ...

<body>

[December 13, 2018 16:07:03 UTC] RESPONSE ...

Server Error

[December 13, 2018 16:07:03 UTC] RESPONSE ...
[December 13, 2018 16:07:03 UTC] RESPONSE ...
<fieldset> [December 13, 2018 16:07:03 UTC] RESPONSE ...

401 - Unauthorized: Access is denied due to invalid credentials.

[December 13, 2018 16:07:03 UTC] RESPONSE ...

You do not have permission to view this directory or page using the credentials that you supplied.

[December 13, 2018 16:07:03 UTC] RESPONSE ... </fieldset>
[December 13, 2018 16:07:03 UTC] RESPONSE ...

[December 13, 2018 16:07:03 UTC] RESPONSE ...

</body>

[December 13, 2018 16:07:03 UTC] RESPONSE ...

</html>

[December 13, 2018 16:07:14 UTC] RESPONSE ...

[December 13, 2018 16:07:14 UTC] SHARE credential - succeeded using an object

[December 13, 2018 16:07:14 UTC] SAVE the credential for [POST /rets/fnisrets.aspx/CWBR/search]

[December 13, 2018 16:07:14 UTC] SHARE cookies - succeded

[December 13, 2018 16:07:14 UTC] SHARE socket - succeded

[December 13, 2018 16:07:14 UTC] CREATE new Request for LOGOUT

[December 13, 2018 16:07:14 UTC] SET socket - succeded

[December 13, 2018 16:07:14 UTC] SET cookies - succeded

[December 13, 2018 16:07:14 UTC] LOOK for an existing credential for [POST /rets/fnisrets.aspx/CWBR/logout]

[December 13, 2018 16:07:14 UTC] CREATE a new credential

[December 13, 2018 16:07:14 UTC] READ as an XML formatted stream

[December 13, 2018 16:07:14 UTC] OPENING socket for Request on cwbr.rets.fnismls.com 80

[December 13, 2018 16:07:14 UTC] Socket already open for Request on cwbr.rets.fnismls.com 80

[December 13, 2018 16:07:14 UTC] SENDING ...

POST /rets/fnisrets.aspx/CWBR/logout HTTP/1.1

Host: cwbr.rets.fnismls.com:80

Accept: /

User-Agent: Paragon/1.1.8

Date: Thu, 13 Dec 2018 16:07:14 GMT

RETS-Request-ID: U571

RETS-Version: RETS/1.7.2

Cookie: RMLS%5FSESSION%5FGUID=; path=/RETS/

Cookie: RMLS%5FSESSION%5FLAST%5FDBUPDATE=; path=/RETS/

Cookie: RMLS%5FSESSION%5FLAST%5FUPDATE=; path=/RETS/

Cookie: RMLS%5FSESSION%5FTIMEOUT=; path=/RETS/

Cookie: RETS-Session-ID=Logging-in; path=/

Pragma: no-cache

Content-Length: 0

[December 13, 2018 16:07:14 UTC] OPENING socket for Request on cwbr.rets.fnismls.com 80

[December 13, 2018 16:07:14 UTC] Socket already open for Request on cwbr.rets.fnismls.com 80

[December 13, 2018 16:07:14 UTC] RESPONSE ...

[December 13, 2018 16:07:14 UTC] SHARE credential failed because no credential is present

[December 13, 2018 16:07:14 UTC] SHARE cookies - succeded

[December 13, 2018 16:07:14 UTC] SHARE socket - succeded

[December 13, 2018 16:07:14 UTC] CLOSING socket for Exchange due to RETS Logout

[December 13, 2018 16:09:14 UTC] RESPONSE ...

[December 13, 2018 16:09:14 UTC] SHARE credential - succeeded using an object

[December 13, 2018 16:09:14 UTC] SAVE the credential for [POST /rets/fnisrets.aspx/CWBR/search]

[December 13, 2018 16:09:14 UTC] SHARE cookies - succeded

[December 13, 2018 16:09:14 UTC] SHARE socket - succeded

[December 13, 2018 16:09:14 UTC] CREATE new Request for LOGOUT

[December 13, 2018 16:09:14 UTC] SET socket - succeded

[December 13, 2018 16:09:14 UTC] SET cookies - succeded

[December 13, 2018 16:09:14 UTC] LOOK for an existing credential for [POST /rets/fnisrets.aspx/CWBR/logout]

[December 13, 2018 16:09:14 UTC] CREATE a new credential

[December 13, 2018 16:09:14 UTC] READ as an XML formatted stream

[December 13, 2018 16:09:14 UTC] OPENING socket for Request on cwbr.rets.fnismls.com 80

[December 13, 2018 16:09:14 UTC] Socket already open for Request on cwbr.rets.fnismls.com 80

[December 13, 2018 16:09:14 UTC] SENDING ...

POST /rets/fnisrets.aspx/CWBR/logout HTTP/1.1

Host: cwbr.rets.fnismls.com:80

Accept: /

User-Agent: Paragon/1.1.8

Date: Thu, 13 Dec 2018 16:09:14 GMT

RETS-Request-ID: U571

RETS-Version: RETS/1.7.2

Cookie: RMLS%5FSESSION%5FGUID=; path=/RETS/

Cookie: RMLS%5FSESSION%5FLAST%5FDBUPDATE=; path=/RETS/

Cookie: RMLS%5FSESSION%5FLAST%5FUPDATE=; path=/RETS/

Cookie: RMLS%5FSESSION%5FTIMEOUT=; path=/RETS/

Cookie: RETS-Session-ID=Logging-in; path=/

Pragma: no-cache

Content-Length: 0

[December 13, 2018 16:09:14 UTC] OPENING socket for Request on cwbr.rets.fnismls.com 80

[December 13, 2018 16:09:14 UTC] Socket already open for Request on cwbr.rets.fnismls.com 80

[December 13, 2018 16:09:14 UTC] RESPONSE ...

[December 13, 2018 16:09:14 UTC] SHARE credential failed because no credential is present

[December 13, 2018 16:09:14 UTC] SHARE cookies - succeded

[December 13, 2018 16:09:14 UTC] SHARE socket - succeded

[December 13, 2018 16:09:14 UTC] CLOSING socket for Exchange due to RETS Logout