RetsReplyCode 20037

183 views
Skip to first unread message

gregg

unread,
May 13, 2011, 1:58:04 PM5/13/11
to Variman RETS Server
I have been using Variman at an MLS client site for about a year with
great success. Recently we integrated ZipForms and ran into a small
problem. If a user enters an invalid username or password an error is
logged through RetsException however it never makes it way to sending
the 20037 ReplyCode. I am using the latest release of Variman. Is this
a known bug/issue or am I missing something...

Any help would be greatly appreciated.

Regards,

Gregg

Mark Klein

unread,
May 13, 2011, 8:36:57 PM5/13/11
to variman...@googlegroups.com

On May 13, 2011, at 10:58 AM, gregg wrote:

> I have been using Variman at an MLS client site for about a year with
> great success. Recently we integrated ZipForms and ran into a small
> problem. If a user enters an invalid username or password an error is
> logged through RetsException however it never makes it way to sending
> the 20037 ReplyCode. I am using the latest release of Variman. Is this
> a known bug/issue or am I missing something...

That error says "User Agent Authentication Failed". Variman is not
using user agent authentication, so it would not return this error. As
for normal user authentication, Variman handles that with an HTTP 401
response - no connection is ever established in order to return a RETS
error.

Hope that helps.


gregg petch

unread,
May 13, 2011, 9:58:03 PM5/13/11
to variman...@googlegroups.com
Yes it does Mark. As  usual (a good thing) you have followed the spec very closely. Section 3.9 specifically states:
 
Any of the following status codes (in addition to the others provided in RFC 2616) may be returned by a server in response to any request:

401 Not Authorized Either the header did not contain an acceptable Authorization or the username/ password was invalid. The server response MUST include a WWW-Authenticate header field.

I will discuss this with the developers at ZipForms.

Thank you for your prompt reply.
 
Regards,
 
Gregg
Reply all
Reply to author
Forward
0 new messages