Python-Tls-Client
Python-Tls-Client copied to clipboard
Unknown problem Stream error
Hi! Help me please, sometimes getting this error
ERROR:main:Exception while handling an update: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/telegram/ext/_application.py", line 945, in process_update await coroutine File "/usr/local/lib/python3.10/site-packages/telegram/ext/_handler.py", line 135, in handle_update return await self.callback(update, context) File "/Users/pleshkov/Documents/pets/chatgpt_telegram_bot/bot.py", line 38, in prompt_handle r = chatbot.ask(prompt, conversation_id=None, parent_id=None) # You can specify custom conversation and parent ids. Otherwise it uses the saved conversation (yes. conversations are automatically saved) File "/usr/local/lib/python3.10/site-packages/revChatGPT/ChatGPT.py", line 128, in ask response = self.session.post( File "/usr/local/lib/python3.10/site-packages/tls_client/sessions.py", line 389, in post return self.execute_request(method="POST", url=url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.10/site-packages/tls_client/sessions.py", line 346, in execute_request raise TLSClientExeption(response_object["body"]) tls_client.exceptions.TLSClientExeption: stream error: stream ID 1; INTERNAL_ERROR
Hey, can you try the newest version pls?