Ask Your Question

Revision history [back]

401 Nonce Expired

1: url: http://hudson.rets.paragonrels.com/rets/fnisrets.aspx/HUDSON/login?rets-version=rets/1.5 2: username: NAM HOANG (I am a realtor, not a vendor, but I have access to RETS)

This is the output from my debug log:

rets-client:request request: { debugId: 1, uri: 'http://hudson.rets.paragonrels.com/rets/fnisrets.aspx/HUDSON/login?rets-version=rets%2F1.5', method: 'GET', headers: { 'User-Agent': 'RETS node-client/4.x', 'RETS-Version': 'RETS/1.5', host: 'hudson.rets.paragonrels.com' } } +0ms

rets-client:request auth: { debugId: 1, statusCode: 401, headers: { 'cache-control': 'private', 'content-type': 'text/html', expires: 'Mon, 01 Jan 0001 00:00:00 GMT', 'rets-server': 'RETS-Paragon/1.0', 'rets-version': 'RETS/1.5', 'www-authenticate': 'Digest qop="auth",realm="HUDSON",nonce="2019-05-16T03:21:53",opaque="",stale="false",domain="\rets\fnisrets.aspx\HUDSON"', 'x-server': 'A11', date: 'Thu, 16 May 2019 03:11:52 GMT', connection: 'close', 'content-length': '1293', vary: 'Accept-Encoding' }, uri: 'http://hudson.rets.paragonrels.com/rets/fnisrets.aspx/HUDSON/login?rets-version=rets%2F1.5' } +367ms

rets-client:request request: { debugId: 1, uri: 'http://hudson.rets.paragonrels.com/rets/fnisrets.aspx/HUDSON/login?rets-version=rets%2F1.5', method: 'GET', headers: { 'User-Agent': 'RETS node-client/4.x', 'RETS-Version': 'RETS/1.5', authorization: 'Digest username="NAM HOANG", realm="HUDSON", nonce="2019-05-16T03:21:53", uri="/rets/fnisrets.aspx/HUDSON/login?rets-version=rets%2F1.5", qop=auth, response="5fde621f01bd55b0f260ff0455f3ea22", nc=00000001, cnonce="5c5be3e2b46d463bb0c0b5661a084170"', referer: 'http://hudson.rets.paragonrels.com/rets/fnisrets.aspx/HUDSON/login?rets-version=rets%2F1.5', host: 'hudson.rets.paragonrels.com' } } +9ms

rets-client:request response: { debugId: 1, headers: { 'cache-control': 'private', 'content-type': 'text/html', expires: 'Mon, 01 Jan 0001 00:00:00 GMT', 'rets-server': 'RETS-Paragon/1.0', 'rets-version': 'RETS/1.5', 'www-authenticate': 'Digest qop="auth",realm="HUDSON",nonce="2019-05-16T03:21:53.8b328b9a2a7239800da8f610b6d31326",opaque="",stale="true",domain="\rets\fnisrets.aspx\HUDSON"', 'x-server': 'A11', date: 'Thu, 16 May 2019 03:11:53 GMT', connection: 'close', 'content-length': '1293', vary: 'Accept-Encoding' }, statusCode: 401, body: '\r\n<html xmlns="http://www.w3.org/1999/xhtml">\r\n<head>\r\n<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>\r\n<title>401 - Unauthorized: Access is denied due to invalid credentials.</title>\r\n<style type="text/css">\r\n\r\n</style>\r\n</head>\r\n<body>\r\n

Server Error

\r\n
\r\n
<fieldset>\r\n

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

\r\n

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

\r\n </fieldset>
\r\n
\r\n</body>\r\n</html>\r\n' } +220ms Unhandled rejection RetsServerError: RETS Server error while attempting login - HTTP Status 401 returned (Nonce Expired)