Coder Social home page Coder Social logo

Comments (12)

snowby666 avatar snowby666 commented on June 12, 2024

Can you retry again since its still working for me
Tested in env: 3.9, 3.10 and 3.11.

from poe-api-wrapper.

bluusun avatar bluusun commented on June 12, 2024

Tried from different IPs, Linux and Mac. Same error. Used latest pip version and repo version API had been stable since September for me. Anything else I can do to debug?

from poe-api-wrapper.

bluusun avatar bluusun commented on June 12, 2024

Using Python 3.11.6 and 3.8.10. No issue on either version until today. Also tried different tokens.

from poe-api-wrapper.

bluusun avatar bluusun commented on June 12, 2024

Successfully installed poe-api-wrapper-1.3.4

python3 poe-test.py
2023-11-21 22:07:37.257 | INFO | poe_api_wrapper.api:send_message:722 - New Thread created | 2qt3v2dr3or1uge0e0q
2023-11-21 22:07:47.263 | WARNING | poe_api_wrapper.api:send_message:792 - Retrying request 1/3 times...
2023-11-21 22:07:57.269 | WARNING | poe_api_wrapper.api:send_message:792 - Retrying request 2/3 times...
2023-11-21 22:08:07.270 | WARNING | poe_api_wrapper.api:send_message:792 - Retrying request 3/3 times...
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.11/site-packages/poe_api_wrapper/api.py", line 787, in send_message
response = self.message_queues[human_message_id].get(timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/queue.py", line 179, in get
raise Empty
_queue.Empty

from poe-api-wrapper.

bluusun avatar bluusun commented on June 12, 2024

ALso getting this now...

2023-11-22 00:12:10.158 | WARNING | poe_api_wrapper.api:on_ws_close:314 - Connection to remote host was lost. Reconnecting...
2023-11-22 00:12:10.377 | WARNING | poe_api_wrapper.api:on_ws_close:314 - Connection to remote host was lost. Reconnecting...
2023-11-22 00:12:10.610 | WARNING | poe_api_wrapper.api:on_ws_close:314 - Connection to remote host was lost. Reconnecting...
2023-11-22 00:12:10.797 | WARNING | poe_api_wrapper.api:on_ws_close:314 - Connection to remote host was lost. Reconnecting...
2023-11-22 00:12:11.055 | WARNING | poe_api_wrapper.api:on_ws_close:314 - Connection to remote host was lost. Reconnecting...
2023-11-22 00:12:11.274 | WARNING | poe_api_wrapper.api:on_ws_close:314 - Connection to remote host was lost. Reconnecting...
2023-11-22 00:12:11.533 | WARNING | poe_api_wrapper.api:on_ws_close:314 - Connection to remote host was lost. Reconnecting...
2023-11-22 00:12:11.846 | WARNING | poe_api_wrapper.api:on_ws_close:314 - Connection to remote host was lost. Reconnecting...
2023-11-22 00:12:12.081 | WARNING | poe_api_wrapper.api:on_ws_close:314 - Connection to remote host was lost. Reconnecting...
2023-11-22 00:12:12.288 | WARNING | poe_api_wrapper.api:on_ws_close:314 - Connection to remote host was lost. Reconnecting...
2023-11-22 00:12:12.511 | WARNING | poe_api_wrapper.api:on_ws_close:314 - Connection to remote host was lost. Reconnecting...
2023-11-22 00:12:12.753 | WARNING | poe_api_wrapper.api:on_ws_close:314 - Connection to remote host was lost. Reconnecting...
2023-11-22 00:12:13.055 | WARNING | poe_api_wrapper.api:on_ws_close:314 - Connection to remote host was lost. Reconnecting...
2023-11-22 00:12:13.295 | WARNING | poe_api_wrapper.api:on_ws_close:314 - Connection to remote host was lost. Reconnecting...
2023-11-22 00:12:13.507 | WARNING | poe_api_wrapper.api:on_ws_close:314 - Connection to remote host was lost. Reconnecting...
2023-11-22 00:12:13.692 | WARNING | poe_api_wrapper.api:on_ws_close:314 - Connection to remote host was lost. Reconnecting...

from poe-api-wrapper.

bluusun avatar bluusun commented on June 12, 2024

Changed to capybara. Now I get a response 1/5 times. Rest shows errors.

from poe-api-wrapper.

bluusun avatar bluusun commented on June 12, 2024

PLease try a few times and most times no response is available.

from poe-api-wrapper.

bluusun avatar bluusun commented on June 12, 2024

Reply is always available in poe web interface.

from poe-api-wrapper.

bluusun avatar bluusun commented on June 12, 2024

It seems the timeout setting might get ignored - I now use

for chunk in client.send_message(bot, prompt,file_path=file_urls,timeout=400):

from poe-api-wrapper.

bluusun avatar bluusun commented on June 12, 2024

It seems to look for some immediate response from poe - if it does not get one it sends retry requests and all fail. Most of my replies take about 30-60 seconds on the web. That timeout seems to get ignored. Any ideas?

from poe-api-wrapper.

snowby666 avatar snowby666 commented on June 12, 2024

It seems that Poe may have changed their system again. I'll look into it.

from poe-api-wrapper.

bluusun avatar bluusun commented on June 12, 2024

I think it works again. Maybe it was some poe issue? Most requests error out via API but worked in web interface. Now it's mostly back...Thanks for this amazing API btw!

from poe-api-wrapper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.