Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unexpected EOF while making a search Compact #61

Open
sredxny opened this issue Nov 14, 2018 · 0 comments
Open

unexpected EOF while making a search Compact #61

sredxny opened this issue Nov 14, 2018 · 0 comments

Comments

@sredxny
Copy link

sredxny commented Nov 14, 2018

Hello, cheers! I am facing a repetitive problem while am pulling data using gorets. I don't know if it's gorets related, HTTP or my implementation. The problem is that in some request after I make a SearchCompact then am getting unexpected EOF

The logs of the search is as follows:

POST /rets/Search.ashx HTTP/1.1
Host: matrixrets.pcmls.com
User-Agent: Threewide/1.0
Content-Length: 156
Accept: */*
Authorization: Digest username="15551", realm="MATRIX", nonce="MjAxOC0xMS0xNCAwMDo1MDoyNS43Njg", uri="/rets/Search.ashx", response="3a56c08963b6dfaa0af0f663079ba12f", qop=auth, nc=0000000b, cnonce=$
Content-Type: application/x-www-form-urlencoded
Cookie: AWSALB=8jcZi34A2hw558yRHgYqEYWUeolxTzRWvfLCZPURLN8V30A8VjzjS6F2H/WP1ih+qNDKB6afLP3TkobiAeLIlaDzqL15IuW3x+8xo201jC8uA9dK/xQTIdI9; ASP.NET_SessionId=sjytbucm0vy1jhmnosyznn5t
Rets-Version: RETS/1.8


Class=Listing&Count=1&Format=COMPACT&Limit=500&Offset=20000&Query=%28LastChangeTimestamp%3D2015-01-01T00%3A00%3A00%2B%29&QueryType=DMQL2&SearchType=PropertyHTTP/1.1 200 OK
Date: Tue, 13 Nov 2018 23:50:45 GMT
Content-Type: text/xml; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: AWSALB=9QcBTCKmkFqw7HpAdZNTJbookeq3AldZQp9ZdruLsC+Yf622RVSXT02WNtTMneiP4eZy/amSgUE6m5999y3YS8DqS47Msn6wNxc5uskKlJQGr3p8Yas2GHfgZjSK; Expires=Tue, 20 Nov 2018 23:50:45 GMT; Path=/
Cache-Control: private
Server: Microsoft-IIS/8.0
RETS-Version: RETS/1.8
X-AspNet-Version: 4.0.30319
X-UA-Compatible: IE=Edge
X-Content-Type-Options: nosniff

And the last data retrieved is as follows https://pastebin.com/raw/7ck2ndgs

So, where may I be failing? or how can I avoid this and get all the data?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant