-
Notifications
You must be signed in to change notification settings - Fork 906
[Bug]: 'Exception: Authentication failed' with a Status code: 302 #569
Comments
If that doesn't work, do |
I have set it as an environment variable. I got another status code:301. The same exception still exists. |
Where does it redirect to? |
Hey,@acheong08,https://cn.bing.com/edgesvc/turing/conversation/create is doesn't work.If you can make a proxy for EdgeGPT,BingImageCreator? |
Fix then:
|
Looks like a recursive redirect. Could it be because of the IP spoofing? |
Make a public proxy without cloudflare CDN,Try another CDN. |
Which CDN is free and accessible for China? I tried gcore before but it didn't work |
Make a full reverse proxy |
btw 9b32a32 might help with the redirect. |
not edgeservices? |
Do you know the Chinese CDN services? |
Yes,not edgeservices,It can be use in EdgeGPT and the BingImageCreator. |
BingImageCreator need a full site proxy |
Can China access repl.it, vercel, or cloudflare workers? I ran out of credit for my US server recently |
repl.it can work,vercel.app domain can't access,but with a custom domain can work.worker.dev domain can't access,but with a custom domain can work. |
Hey, is there any good solution for "httpx.TooManyRedirects: Exceeded maximum allowed redirects."? I aways meet this problem. |
Is there an existing issue for this?
What happened?
ran "python -m EdgeGPT.EdgeGPT --cookie-file ./cookies.json" and got the Exception:
EdgeGPT - A demo of reverse engineering the Bing GPT chatbot
Repo: github.com/acheong08/EdgeGPT
By: Antonio Cheong
Initializing...
<title>Object moved</title>Enter
alt+enter
orescape+enter
to send a messageStatus code: 302
Object moved to here.
https://edgeservices.bing.com/edgesvc/turing/conversation/create
Traceback (most recent call last):
File "D:\program files (x86)\python\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "D:\program files (x86)\python\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "D:\program files (x86)\python\lib\site-packages\EdgeGPT\EdgeGPT.py", line 218, in
main()
File "D:\program files (x86)\python\lib\site-packages\EdgeGPT\main.py", line 244, in main
asyncio.run(async_main(args))
File "D:\program files (x86)\python\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "D:\program files (x86)\python\lib\asyncio\base_events.py", line 642, in run_until_complete
return future.result()
File "D:\program files (x86)\python\lib\site-packages\EdgeGPT\main.py", line 79, in async_main
bot = await Chatbot.create(proxy=args.proxy, cookies=cookies)
File "D:\program files (x86)\python\lib\site-packages\EdgeGPT\EdgeGPT.py", line 42, in create
await Conversation.create(self.proxy, cookies=cookies),
File "D:\program files (x86)\python\lib\site-packages\EdgeGPT\conversation.py", line 111, in create
raise Exception("Authentication failed")
Exception: Authentication failed
Steps to reproduce the problem
What should have happened?
Chat with new Bing normally.
Version where the problem happens
EdgeGPT 0.11.4
What Python version are you running this with?
python 3.9.0
What is your operating system ?
Windows
Command Line Arguments
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: