Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting the error Exception: Authentication failed. You have not been accepted into the beta. #4

Open
1 task done
ash7620 opened this issue Feb 13, 2024 · 0 comments

Comments

@ash7620
Copy link

ash7620 commented Feb 13, 2024

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

Tried editing constants.py with different DNS for FORWARDED_IP but still seems to be not working

Steps to reproduce the problem

  1. Go to ....
  2. Press ....
  3. ...

What should have happened?

Normal workflow

Version where the problem happens

python 3.10

What Python version are you running this with?

No response

What is your operating system ?

No response

Command Line Arguments

INFO:httpx:HTTP Request: GET https://edgeservices.bing.com/edgesvc/turing/conversation/create "HTTP/1.1 200 OK"
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/bing_chat/conversation.py", line 57, in __init__
    self.struct = response.json()
  File "/usr/local/lib/python3.10/site-packages/httpx/_models.py", line 762, in json
    return jsonlib.loads(self.content, **kwargs)
  File "/usr/local/lib/python3.10/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.10/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/lib/python3.10/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/1.py", line 11, in <module>
    asyncio.run(main())
  File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/1.py", line 7, in main
    c = BingGPT.Chatbot()
  File "/usr/local/lib/python3.10/site-packages/bing_chat/BingGPT.py", line 29, in __init__
    Conversation(self.proxy, cookies=cookies),
  File "/usr/local/lib/python3.10/site-packages/bing_chat/conversation.py", line 62, in __init__
    raise Exception(
Exception: Authentication failed. You have not been accepted into the beta.
root@dca8f7a40b6d:/usr/local/lib/python3.10/site-packages/bing_chat# Exception: Authentication failed. You have not been accepted into the beta.

Console logs

Exception: Authentication failed. You have not been accepted into the beta.

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant