2024-05-10 18:24:44 ERROR src.bing_chat.response -> 400, message='Can not decode content-encoding: br'
Hey there FuseFairy! I am having an error regarding copilot.
So, The error I encountered was:
2024-05-10 18:24:33 INFO cogs.event -> udpskid:'Hey there' (udpskid chatroom) [Style: balanced]
2024-05-10 18:24:35 ERROR src.bing_chat.response -> 400, message='Can not decode content-encoding: br'
Traceback (most recent call last):
File "D:\Downloads\DiscordBot-EdgeGPT-main\DiscordBot-EdgeGPT-main\src\bing_chat\response.py", line 85, in send_message
reply = await chatbot.ask(
^^^^^^^^^^^^^^^^^^
File "C:\Users\CatfishGG\AppData\Local\Programs\Python\Python311\Lib\site-packages\re_edge_gpt\chat\re_edge_gpt.py", line 120, in ask
async for final, response in self.chat_hub.ask_stream(
File "C:\Users\CatfishGG\AppData\Local\Programs\Python\Python311\Lib\site-packages\re_edge_gpt\chat\chathub.py", line 117, in ask_stream
response = await upload_image_url(
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CatfishGG\AppData\Local\Programs\Python\Python311\Lib\site-packages\re_edge_gpt\image\upload_image.py", line 39, in upload_image_url
return (await resp.json())["blobId"]
^^^^^^^^^^^^^^^^^
File "C:\Users\CatfishGG\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiohttp\client_reqrep.py", line 1092, in json
await self.read()
File "C:\Users\CatfishGG\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiohttp\client_reqrep.py", line 1032, in read
self._body = await self.content.read()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CatfishGG\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiohttp\streams.py", line 370, in read
block = await self.readany()
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CatfishGG\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiohttp\streams.py", line 392, in readany
await self._wait("readany")
File "C:\Users\CatfishGG\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiohttp\streams.py", line 306, in _wait
await waiter
aiohttp.client_exceptions.ClientPayloadError: 400, message='Can not decode content-encoding: br'
It looks like this on discord.
What do you think about this?
It's still working for me, maybe try vpn?
alright wait. Let me try a VPN
If you can, you can also try running on Replit. https://replit.com/@dd8611706/DiscordBot-EdgeGPT?v=1
I kind of knew this was going to happen because replit's datacenters are messed up. They use 1 bare metal server for hundreds or thousands of users and because of that the traffic of the server is considered to be fraudlent.
So the new error that we have from replit is:
2024-05-10 13:25:15 INFO cogs.event -> udpskid:'Hey there' (udpskid chatroom) [Style: balanced]
2024-05-10 13:25:18 ERROR src.bing_chat.response -> CaptchaChallenge: User needs to solve CAPTCHA to continue.
Full exception: {'type': 2, 'invocationId': '3', 'item': {'firstNewMessageIndex': None, 'defaultChatName': None, 'conversationId': '51D|BingProd|67ADA71B6CEA0CD892BA5AC76CFB9EFA5BD9F1B3ADE67794083141BF75F38ED7', 'requestId': '0f6d6c1a-c9cb-4975-8937-65fc0bd04668', 'telemetry': {'startTime': '2024-05-10T13:25:16.2207637Z'}, 'result': {'value': 'CaptchaChallenge', 'message': 'User needs to solve CAPTCHA to continue.', 'error': 'User needs to solve CAPTCHA to continue.', 'serviceVersion': '20240510.116'}}}
Traceback (most recent call last):
File "/home/runner/DiscordBot-EdgeGPT/src/bing_chat/response.py", line 85, in send_message
reply = await chatbot.ask(
File "/home/runner/DiscordBot-EdgeGPT/.pythonlibs/lib/python3.10/site-packages/re_edge_gpt/chat/re_edge_gpt.py", line 120, in ask
async for final, response in self.chat_hub.ask_stream(
File "/home/runner/DiscordBot-EdgeGPT/.pythonlibs/lib/python3.10/site-packages/re_edge_gpt/chat/chathub.py", line 198, in ask_stream
raise ResponseError(
re_edge_gpt.utils.exception.exceptions.ResponseError: CaptchaChallenge: User needs to solve CAPTCHA to continue.
Full exception: {'type': 2, 'invocationId': '3', 'item': {'firstNewMessageIndex': None, 'defaultChatName': None, 'conversationId': '51D|BingProd|67ADA71B6CEA0CD892BA5AC76CFB9EFA5BD9F1B3ADE67794083141BF75F38ED7', 'requestId': '0f6d6c1a-c9cb-4975-8937-65fc0bd04668', 'telemetry': {'startTime': '2024-05-10T13:25:16.2207637Z'}, 'result': {'value': 'CaptchaChallenge', 'message': 'User needs to solve CAPTCHA to continue.', 'error': 'User needs to solve CAPTCHA to continue.', 'serviceVersion': '20240510.116'}}}
also, I tried doing it on my local machine with a VPN and it still doesn't work. It just displays the 2024-05-10 19:07:47 ERROR src.bing_chat.response -> 400, message='Can not decode content-encoding: br' error again.
Yep, even on github codespace it displays the same error.
I saw this error, you need solve captcha first.
FuseFairy... How will I solve the captcha if it isn't visible to me? 💀
here's solution https://github.com/Integration-Automation/ReEdgeGPT/issues/115
yes, thank you for the the solution but you mentioned "copilot.com" in the reply to that issue there which isn't the URL to copilot itself. You should just replace the copilot.com to https://copilot.microsoft.com/