Comments (29)
export can be put in .env
and then source .env
. It doesn't really matter. Just need environment variables set
from chatgptproxy.
export ACCESS_TOKEN="..."
export PUID="..."
source .env
from chatgptproxy.
Same issue. Did you find the solution?
from chatgptproxy.
Use environment variables.
from chatgptproxy.
Remember to export ACCESS_TOKEN="..." && export PUID="..."
from chatgptproxy.
Use environment variables.
So I should create an .env with ACCESS_TOKEN and PUID? Or use export? @acheong08
from chatgptproxy.
export can be put in
.env
and thensource .env
. It doesn't really matter. Just need environment variables set
It worked but I get this
- using env: export GIN_MODE=release
- using code: gin.SetMode(gin.ReleaseMode)
[GIN-debug] GET /ping --> main.main.func2 (3 handlers)
[GIN-debug] GET /api/*path --> main.proxy (3 handlers)
[GIN-debug] POST /api/*path --> main.proxy (3 handlers)
[GIN-debug] PUT /api/*path --> main.proxy (3 handlers)
[GIN-debug] PATCH /api/*path --> main.proxy (3 handlers)
[GIN-debug] HEAD /api/*path --> main.proxy (3 handlers)
[GIN-debug] OPTIONS /api/*path --> main.proxy (3 handlers)
[GIN-debug] DELETE /api/*path --> main.proxy (3 handlers)
[GIN-debug] CONNECT /api/*path --> main.proxy (3 handlers)
[GIN-debug] TRACE /api/*path --> main.proxy (3 handlers)
2023/03/20 01:40:20 793256 :8080
Got response: 401 Unauthorized
Error: 401 Unauthorized
{"detail":{"message":"Could not parse your authentication token. Please try signing in again.","type":"invalid_request_error","param":null,"code":"invalid_jwt"}}
Error: Failed to refresh puid cookie
from chatgptproxy.
@acheong08 Any update on this? I would be appreciative if you could let me know how to get this to work.
from chatgptproxy.
Got response: 401 Unauthorized
Error: 401 Unauthorized
{"detail":{"message":"Could not parse your authentication token. Please try signing in again.","type":"invalid_request_error","param":null,"code":"invalid_jwt"}}
Error: Failed to refresh puid cookie
It seems your access token is invalid. Try copy and pasting the full thing properly (It has some breaks so it might not have been copied correctly)
from chatgptproxy.
Got response: 401 Unauthorized
Error: 401 Unauthorized
{"detail":{"message":"Could not parse your authentication token. Please try signing in again.","type":"invalid_request_error","param":null,"code":"invalid_jwt"}}
Error: Failed to refresh puid cookieIt seems your access token is invalid. Try copy and pasting the full thing properly (It has some breaks so it might not have been copied correctly)
Its a really big thing, so I am not sure how else to paste it properly. It would be really nice if you could just set it on a .env and it would work. I tried sourcing my .env but its not working.
from chatgptproxy.
You're meant to put it in .env. It just seems that you didn't copy it correctly to the .env either
from chatgptproxy.
You're meant to put it in .env. It just seems that you didn't copy it correctly to the .env either
This is the wrong way?
from chatgptproxy.
Remember to put export in the .env file
from chatgptproxy.
And check access token validity via https://jwt.io/
from chatgptproxy.
Remember to put export in the .env file
So it would be export access_token && export puid?
from chatgptproxy.
export ACCESS_TOKEN="..." export PUID="..."
source .env
@acheong08 Thanks for the instructions but I get a new error, Now it says 500 internal server error.
from chatgptproxy.
@acheong08 Any further help on this? ;-;
from chatgptproxy.
Internal Server Error means OpenAI is having issues
from chatgptproxy.
Internal Server Error means OpenAI is having issues
Ok lemme try again now
from chatgptproxy.
@acheong08 Still Getting 403 forbidden error, failed to refresh PUID
from chatgptproxy.
what is puid
from chatgptproxy.
what is puid
from chatgptproxy.
@acheong08 Any update on this issue?
from chatgptproxy.
export can be put in
.env
and thensource .env
. It doesn't really matter. Just need environment variables setIt worked but I get this
- using env: export GIN_MODE=release - using code: gin.SetMode(gin.ReleaseMode) [GIN-debug] GET /ping --> main.main.func2 (3 handlers) [GIN-debug] GET /api/*path --> main.proxy (3 handlers) [GIN-debug] POST /api/*path --> main.proxy (3 handlers) [GIN-debug] PUT /api/*path --> main.proxy (3 handlers) [GIN-debug] PATCH /api/*path --> main.proxy (3 handlers) [GIN-debug] HEAD /api/*path --> main.proxy (3 handlers) [GIN-debug] OPTIONS /api/*path --> main.proxy (3 handlers) [GIN-debug] DELETE /api/*path --> main.proxy (3 handlers) [GIN-debug] CONNECT /api/*path --> main.proxy (3 handlers) [GIN-debug] TRACE /api/*path --> main.proxy (3 handlers) 2023/03/20 01:40:20 793256 :8080 Got response: 401 Unauthorized Error: 401 Unauthorized {"detail":{"message":"Could not parse your authentication token. Please try signing in again.","type":"invalid_request_error","param":null,"code":"invalid_jwt"}} Error: Failed to refresh puid cookie
It means the access token you sent is invalid
from chatgptproxy.
@acheong08 Still Getting 403 forbidden error, failed to refresh PUID
You need to put PUID and access token
from chatgptproxy.
what is puid
a cookie
from chatgptproxy.
and if it continues to return internal server error, it might mean something is wrong with your PUID or access token
from chatgptproxy.
and if it continues to return internal server error, it might mean something is wrong with your PUID or access token
Very weird since my puid and access token works for other bots I host. Not sure what’s wrong here.
from chatgptproxy.
and if it continues to return internal server error, it might mean something is wrong with your PUID or access token
怎么获得PUID
from chatgptproxy.
Related Issues (20)
- How i set up? HOT 1
- How to Install
- revChatGPT.typings.Error (code 403) using V1 for non GPT-3.5 models HOT 4
- Our systems have detected unusual activity from your system. Please try again later."} (code: 403) HOT 38
- 401: Your authentication token has expired. Please try signing in again.
- how to fix the error: wrong version number HOT 1
- how to fix the error "Our systems have detected unusual activity from your system. Please try again later." HOT 2
- Blocked
- Our systems have detected unusual activity from your system. Please try again later HOT 1
- 能在vercel上部署吗
- .gitmodules 文件缺失,导致子模块无法正确加载
- Docker file Error with Run go install HOT 2
- GPT-4 Our systems have detected unusual activity from your system. Please try again later.
- Docker run failed HOT 1
- What can I use this project for?
- Is there anyway to bypass the proxy rate limit? HOT 8
- arkose token not provided HOT 2
- is this the same thing as the proxy on "bypass.churchless.tech" HOT 2
- Why do I keep returning 403?
- Is there any IP Proxy Pool recommended?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatgptproxy.