Problem connecting to TREB

301 views
Skip to first unread message

Patrick Pohler

unread,
Aug 25, 2015, 12:06:59 AM8/25/15
to PHRETS
Hey all I'm having issues connecting to Toronto Real Estate Board (TREB). Their docs say all I need is to set the version for 1.7. Rets Connector w/ same login credentials can connect. Any advice on what settings I need to pass to get a connection? I've posted some var dumps

Here's the static header:

["static_headers":"Anecka\Rets\phRETS":private]=>

  array(3) {

    ["RETS-Version"]=>

    string(8) "RETS/1.7"

    ["User-Agent"]=>

    string(18) "RETS-Connector/1.2"

    ["Accept"]=>

    string(3) "*/*"

  }


And here's the output of the Error()


array(3) {

  ["type"]=>

  string(4) "http"

  ["code"]=>

  int(404)

  ["text"]=>

  string(1007) "<html><head><title>Apache Tomcat/7.0.62 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - /retsâ__treb3pv/server/login</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>/retsâ__treb3pv/server/login</u></p><p><b>description</b> <u>The requested resource is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.62</h3></body></html>"

}


Thanks! 

Patrick Pohler

unread,
Aug 25, 2015, 10:24:43 AM8/25/15
to PHRETS
Figured it out. I was copying & pasting the URL in an email and the "-" character wasn't actually a proper dash that the server could recognize, so it was throwing the 404. doh.
Reply all
Reply to author
Forward
0 new messages