connecting and login Variman server

75 views
Skip to first unread message

Nathan Page

unread,
Jan 9, 2012, 4:59:34 PM1/9/12
to Variman RETS Server
I just installed Variman (as service) on a SBS 2008 (64 bit) Windows
system and it is connected to a MySQL database. So far all seems to be
working but I am a little confused on the login. I can enter 'http:\
\localhost:6103\rets\login' and get a windows login box but am not
able to login. Get a 401 error "This request requires HTTP
authentication ()." after I enter user name and password. Anyone got
a suggestion on what I need to try next?

log:
09 Jan 2012 16:03:04,978 ERROR [127.0.0.1 ]
org.realtors.rets.server.webapp.auth.AuthenticationFilter
-> Caught
java.lang.IllegalArgumentException: URI from header </rets/login >
does not match Request-URI </rets/login>
at
org.realtors.rets.server.webapp.auth.DigestAuthorizationRequest.assertValidateUri(DigestAuthorizationRequest.java:
207)
at
org.realtors.rets.server.webapp.auth.DigestAuthorizationRequest.<init>(DigestAuthorizationRequest.java:
188)
at
org.realtors.rets.server.webapp.auth.AuthenticationFilter.doAuthentication(AuthenticationFilter.java:
148)
at
org.realtors.rets.server.webapp.auth.AuthenticationFilter.doFilter(AuthenticationFilter.java:
100)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
845)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
447)
at java.lang.Thread.run(Unknown Source)

Keith T. Garner

unread,
Jan 9, 2012, 5:05:23 PM1/9/12
to variman...@googlegroups.com
As a RETS server, you need to do a few things for authentication that a browser can not do (such as have some specific RETS headers.) I suggest using a client of some sort. (Or is that what you're doing?)

--
Keith T. Garner kga...@kgarner.com
"Make no little plans; they have no magic to
stir men's blood." - Daniel H. Burnham

Nathan Page

unread,
Jan 9, 2012, 6:27:59 PM1/9/12
to Variman RETS Server
Thanks Keith....
I have also tried MRIS Conduit and it returns ' RETS reply. (-1)'.

Nathan



On Jan 9, 5:05 pm, "Keith T. Garner" <kgar...@gmail.com> wrote:
> As a RETS server, you need to do a few things for authentication that a browser can not do (such as have some specific RETS headers.)  I suggest using a client of some sort.  (Or is that what you're doing?)
>
> On Jan 9, 2012, at 3:59 PM, Nathan Page wrote:
>
>
>
>
>
> > I just installed Variman (as service) on a SBS 2008 (64 bit) Windows
> > system and it is connected to a MySQL database. So far all seems to be
> > working but I am a little confused on the login. I can enter 'http:\
> > \localhost:6103\rets\login' and get a windows login box but am not
> > able to login. Get a 401 error "This request requires HTTP
> > authentication ()."  after I enter user name and password. Anyone got
> > a suggestion on what I need to try next?
>
> > log:
> > 09 Jan 2012 16:03:04,978 ERROR [127.0.0.1 ]
> > org.realtors.rets.server.webapp.auth.AuthenticationFilter
> > -> Caught
> > java.lang.IllegalArgumentException: URI from header </rets/login >
> > does not match Request-URI </rets/login>
> >    at
> > org.realtors.rets.server.webapp.auth.DigestAuthorizationRequest.assertValid­ateUri(DigestAuthorizationRequest.java:
> > 207)
> >    at
> > org.realtors.rets.server.webapp.auth.DigestAuthorizationRequest.<init>(Dige­stAuthorizationRequest.java:
> > 188)
> >    at
> > org.realtors.rets.server.webapp.auth.AuthenticationFilter.doAuthentication(­AuthenticationFilter.java:
> > 148)
> >    at
> > org.realtors.rets.server.webapp.auth.AuthenticationFilter.doFilter(Authenti­cationFilter.java:
> > 100)
> >    at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio­nFilterChain.java:
> > 235)
> >    at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC­hain.java:
> > 206)
> >    at
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j­ava:
> > 233)
> >    at
> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j­ava:
> > 191)
> >    at
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
> > 128)
> >    at
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
> > 102)
> >    at
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav­a:
> > 109)
> >    at
> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
> > 286)
> >    at
> > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
> > 845)
> >    at org.apache.coyote.http11.Http11Protocol
> > $Http11ConnectionHandler.process(Http11Protocol.java:583)
> >    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
> > 447)
> >    at java.lang.Thread.run(Unknown Source)
>
> --
>  Keith T. Garner                                        kgar...@kgarner.com
>                 "Make no little plans; they have no magic to
>                    stir men's blood." - Daniel H. Burnham- Hide quoted text -
>
> - Show quoted text -

Mark Klein

unread,
Jan 9, 2012, 9:01:12 PM1/9/12
to variman...@googlegroups.com
On Jan 9, 2012, at 1:59 PM, Nathan Page wrote:

> I just installed Variman (as service) on a SBS 2008 (64 bit) Windows
> system and it is connected to a MySQL database. So far all seems to be
> working but I am a little confused on the login. I can enter 'http:\
> \localhost:6103\rets\login'

Are you actually using backslashes or forward slashes (they need to be
forward slashes)?

> and get a windows login box but am not
> able to login. Get a 401 error "This request requires HTTP
> authentication ()." after I enter user name and password. Anyone got
> a suggestion on what I need to try next?

Turn up the logging volume to DEBUG and see what else is in the logs.

Oh, let me ask the obvious first question (ok, I'm asking it last):
You did set up user authentication already, didn't you?

Nathan Page

unread,
Jan 10, 2012, 5:31:24 AM1/10/12
to Variman RETS Server
1) Yes Mark they are forward slashes and not backslashes....thanks for
asking.

2) User Authentication? I missed this in the manual....but after a
little looking I modified the tomcat-users.xml files and it looks
like I am now able to connect. I can now do more testing.

Thanks
Nathan
Reply all
Reply to author
Forward
0 new messages