Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Exception: Authentication failed #46

Closed
yubuyuabc opened this issue Feb 15, 2023 · 34 comments
Closed

Exception: Authentication failed #46

yubuyuabc opened this issue Feb 15, 2023 · 34 comments

Comments

@yubuyuabc
Copy link

image

I've made a cookies.json, but still error like this picture

@acheong08
Copy link
Owner

It means you don't have beta access

@yubuyuabc
Copy link
Author

In fact, I have new bing chat access

@Irisaka
Copy link

Irisaka commented Feb 15, 2023

The same issue, I have beta access but still get "Authentication failed".

@Manamama
Copy link

A tip from the Very Large Lettered status quo:
UPDATE 2023/02/14 - Do not use for now while I verify its safety

Now, how long have you waited for that beta access, guys? Any tips to expedite that before they chroot jail it further?

@acheong08
Copy link
Owner

In fact, I have new bing chat access

How did you write the cookies.json. Is the format correct? Does it include the _U cookie? What version did you run? Did you point it to the right path?

@acheong08
Copy link
Owner

image

@acheong08
Copy link
Owner

My cookie.json:

[
    {
        "domain": "www.bing.com",
        "hostOnly": true,
        "httpOnly": false,
        "name": "_U",
        "path": "/",
        "sameSite": null,
        "secure": false,
        "session": true,
        "storeId": null,
        "value": "..."
    }
]

@acheong08
Copy link
Owner

image

I've made a cookies.json, but still error like this picture

I see. You didn't set the environment variable

@acheong08
Copy link
Owner

I'll add more documentation for developer usage

@acheong08
Copy link
Owner

Set export COOKIE_FILE=/path/to/cookies.json

@superhermes
Copy link

My cookie.json:

[
    {
        "domain": "www.bing.com",
        "hostOnly": true,
        "httpOnly": false,
        "name": "_U",
        "path": "/",
        "sameSite": null,
        "secure": false,
        "session": true,
        "storeId": null,
        "value": "..."
    }
]

The json that is copied with the extension in the description looks like this.

image

@acheong08
Copy link
Owner

Does _U show up anywhere there?

@acheong08
Copy link
Owner

And the issue here is that you didn't set the cookie path as environment variable

@acheong08
Copy link
Owner

Set export COOKIE_FILE=/path/to/cookies.json

^ This is the solution

@Irisaka
Copy link

Irisaka commented Feb 15, 2023

image

image

Confused.

@laixiao
Copy link

laixiao commented Feb 15, 2023

I70NTU(~_)2ZKUD49 N5C
TGTVEVK{W3R~UO7ZIY(6B}A
6_YT02SYM6OY_5IG46{CPRS

@Irisaka
Copy link

Irisaka commented Feb 15, 2023

image

I can get cookies, but cannot pass authentication.

@acheong08
Copy link
Owner

Found the issue. You might want to check it

@acheong08
Copy link
Owner

Closing and moving over to the other issue

@acheong08 acheong08 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 15, 2023
@acheong08
Copy link
Owner

ReOpening

@acheong08 acheong08 reopened this Feb 15, 2023
@acheong08
Copy link
Owner

We got new info that people with the KievRPSSecAuth cookie cannot use the program for some reason.

@Irisaka
Copy link

Irisaka commented Feb 15, 2023

屏幕截图_20230215_193024

image

I get the KievRPSSecAuth cookie, maybe this is the problem. In depression...

@acheong08
Copy link
Owner

Oh wait there was bug in release

@acheong08
Copy link
Owner

@acheong08
Copy link
Owner

And send the error logs

@Irisaka
Copy link

Irisaka commented Feb 15, 2023

image

After updated, back to the original problem.

@acheong08
Copy link
Owner

Can you show the bit before that?

@acheong08
Copy link
Owner

It shows the error code and response text

@Irisaka
Copy link

Irisaka commented Feb 15, 2023

image

Oh, sorry, I'm not queit familiar to this.

@acheong08
Copy link
Owner

Thanks I will look into this

@906596696
Copy link

Thanks I will look into this

This may be caused by a banned region, such as China. This can be solved by adding this to the header。Or use proxy.
"x-forwarded-for": "8.8.8.8" @acheong08

@EightEggs
Copy link

Thanks I will look into this

This may be caused by a banned region, such as China. This can be solved by adding this to the header。Or use proxy. "x-forwarded-for": "8.8.8.8" @acheong08

Exactly. People can use extensions in browser such as ModHeader to set "x-forwarded-for": "8.8.8.8".
However we do not know how to set it in a python script.

@906596696
Copy link

Thanks I will look into this

This may be caused by a banned region, such as China. This can be solved by adding this to the header。Or use proxy. "x-forwarded-for": "8.8.8.8" @acheong08

Exactly. People can use extensions in browser such as ModHeader to set "x-forwarded-for": "8.8.8.8". However we do not know how to set it in a python script.

image
you can edit this or wait for author update

@acheong08
Copy link
Owner

Thanks I will look into this

This may be caused by a banned region, such as China. This can be solved by adding this to the header。Or use proxy. "x-forwarded-for": "8.8.8.8" @acheong08

Will do. Thanks for the fix

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

No branches or pull requests

8 participants