Skip to content

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

@ash7620

Description

@ash7620

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions