CleverbotIO / ruby-cleverbot.io

Cleverbot client for Ruby
https://cleverbot.io
MIT License
5 stars 1 forks source link

Cookie#domain returns dot-less domain name now. Use Cookie#dot_domain if you need "." at the beginning. #7

Open ghvillasboas opened 7 years ago

ghvillasboas commented 7 years ago

Since 1.2.2 (including 1.2.3), Cleverbot isn't working anymore and giving me the following error. Any fix expected on the pipeline?

Thanks.

irb(main):004:0> bot.say('Why am I still talking to you?') Cookie#domain returns dot-less domain name now. Use Cookie#dot_domain if you need "." at the beginning. RuntimeError: Error: Bad Call to the API UNRECOGNIZED ERROR! PLEASE REPORT TO CLEVERBOT RUBY ISSUE TRACKER. from /Users/george/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/cleverbot_io-1.2.3/lib/cleverbot.rb:62:in try_throw' from /Users/george/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/cleverbot_io-1.2.3/lib/cleverbot.rb:46:insay' from (irb):4 from /Users/george/.rbenv/versions/2.3.1/bin/irb:11:in `

'

elifoster commented 7 years ago

Those are unrelated.

Cookie#domain returns dot-less domain name now. Use Cookie#dot_domain if you need "." at the beginning. is an HTTPClient warning and doesn't actually error.

As for the "Bad Call" error, it seems like it's a cleverbot-wide issue. @dtesler is looking into it.

ghvillasboas commented 7 years ago

Thank you! It indeed looks like a server side issue, not even on the TRY button on your website it seems to work.

screen shot 2017-01-23 at 9 30 55 pm

elifoster commented 7 years ago

From the Slack:

david [4:07 PM] @ everyone minor downtime on API due to excess Algolia operations. I suppose 3M API calls/day may have had something to do with that. Working on a solution. (edited)