FuseFairy/DiscordBot-EdgeGPT

Error when try use "/bing hello"

Closed this issue ยท 14 comments

ERROR: 0, message='Attempt to decode JSON with unexpected mimetype: text/html', url=URL('https://www.bing.com/images/kblob')

image
How fix it?

Try running it via Docker. In the directory, run the command 'docker compose up'

Try running it via Docker. In the directory, run the command 'docker compose up'

Not working ๐Ÿ˜

There is no solution for this, it may be a Microsoft problem. Try vpn or host the bot on a server in another country.

Try running it via Docker. In the directory, run the command 'docker compose up'

Not working ๐Ÿ˜

same error?

Try running it via Docker. In the directory, run the command 'docker compose up'

Not working ๐Ÿ˜

same error?

Yes, again

There is no solution for this, it may be a Microsoft problem. Try vpn or host the bot on a server in another country.

I hosting this bot on my vps heh, reedgegpt working normal, but your bot have this error

Okay, but I can use the bot just fine. I'm checking.

Try running it via Docker. In the directory, run the command 'docker compose up'

Not working ๐Ÿ˜

same error?

Yes, again

I have a generally strange situation, 2 hostings. On one it is launched using the python3 command, everything is ok, there is an error through docker. On the second set completely, through python the same error as yours..

add print(reply) at cogs/src line130 and run again, I wanted to make sure there was a reply first.

image

add print(reply) at cogs/src line130 and run again, I wanted to make sure there was a reply first.

image

image
image

Hmm, nothin in console, No output in the console after adding login :( no additional data,

I added print(reply) in the response.py file, and still no additional data!

Then I think the problem is with re-edge-gpt, because even ask() fails to return the message

or try upgrade re-edge-gpt package pip install re-edge-gpt==0.0.25

I'm still get that error even I changed my hosting, cookies

Try using the latest version, the api has updates, if the error still occurs, it should be a problem with the country of the account, you can try to apply for another country's account, like I am using Taiwan's account.