Ask Your Question

I am getting (Zlib::DataError) when I use search

asked 2018-01-17 08:43:15 -0500

Hi I am having problem in my ruby script when I am doing search.

The following is the query I am doing => :Property, :class => 'RL_5', :query => "(ListDate=1990-01-01+)")

After running from command prompt I am getting following error /usr/local/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/net/http/response.rb:380:in inflate': incorrect header check (Zlib::DataError) from /usr/local/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/net/http/response.rb:380:inblock in inflate_adapter' from /usr/local/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/net/protocol.rb:411:in call_block' from /usr/local/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/net/protocol.rb:402:in<<' from /usr/local/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/net/protocol.rb:108:in read' from /usr/local/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/net/http/response.rb:402:inread' from /usr/local/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/net/http/response.rb:319:in read_chunked' from /usr/local/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/net/http/response.rb:283:inblock in read_body_0' from /usr/local/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/net/http/response.rb:262:in inflater' from /usr/local/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/net/http/response.rb:281:inread_body_0' from /usr/local/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/net/http/response.rb:202:in read_body' from /usr/local/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/net/http/response.rb:227:inbody' from /usr/local/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/net/http/response.rb:164:in reading_body' from /usr/local/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/net/http.rb:1445:intransport_request' from /usr/local/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/net/http.rb:1407:in request' from /usr/local/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/net/http.rb:1308:inrequest_get' from /usr/local/rvm/gems/ruby-2.3.4/gems/ruby-rets-2.0.8/lib/rets/http.rb:208:in block in request' from /usr/local/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/net/http.rb:853:instart' from /usr/local/rvm/gems/ruby-2.3.4/gems/ruby-rets-2.0.8/lib/rets/http.rb:207:in request' from /usr/local/rvm/gems/ruby-2.3.4/gems/ruby-rets-2.0.8/lib/rets/base/core.rb:268:insearch' from hl_feed_update.rb:86:in block in <main>' from hl_feed_update.rb:71:ineach' from hl_feed_update.rb:71:in `<main>'

Let me know if any one can help me to get it fixed.


edit retag flag offensive close merge delete


I'm not familiar with ruby, but I see the search request in our logs, but it shows the "remote host closed the connection". Note: Make sure to logout (client.logout) when finished.I'm assuming HLMLS since you didn't put your connection URL.

bwolven gravatar imagebwolven ( 2018-01-17 10:48:07 -0500 )edit

In 1.5 version the following query is used to work. But now it is not working in 1.8. Can you help me the fix to work on 1.8? => :Property, :class => 'RL_5', :query => "(L_IdxInclude=0)", :select => [rets_index, "L_UpdateDate", "L_StatusDate", "L_Last_Photo_updt"]) do |da

atxwebdesigner gravatar imageatxwebdesigner ( 2018-01-17 12:09:05 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-01-17 14:36:55 -0500

updated 2018-01-18 11:55:49 -0500

From our logs it looks like you are successfully pulling data now. I see successful data pulls from "Ruby RETS/v2.0.8' Can you verify that it is working now?

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-01-17 08:43:15 -0500

Seen: 28 times

Last updated: Jan 18