ChatGPTNextWeb / ChatGPTNextWeb/NextChat

提问返回Error getting a new session

Open
#4,568 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
88.8k
Forks
59.1k
PR merge metrics
No merged PRs in 30d

Description

### Bug Description

刚部署后可以使用,之后莫名其妙的提示Error getting a new session,不论怎么重新部署都解决不好

### Steps to Reproduce

正常提问,回复就是
```
{
"status": false,
"error": {
"message": "Error getting a new session, please try again later, if the issue persists, please open an issue on the GitHub repository.",
"type": "invalid_request_error"
}
}
```

### Expected Behavior

想知道是哪里出了问题

### Screenshots

_No response_

### Deployment Method

- [X] Docker
- [ ] Vercel
- [ ] Server

### Desktop OS

Windows11

### Desktop Browser

Edge,Chrome

### Desktop Browser Version

124.0

### Smartphone Device

_No response_

### Smartphone OS

_No response_

### Smartphone Browser

_No response_

### Smartphone Browser Version

_No response_

### Additional Logs

```
[OpenAI Route] params { path: [ 'v1', 'chat', 'completions' ] }
[Server Config] using 1 of 1 api key
[Auth] allowed hashed codes: [ 'cab8111fd0b710a336c898e539090e34' ]
[Auth] got access code: void
[Auth] hashed access code: cab8111fd0b710a336c898e539090e34
[User IP] ***
[Time] 4/25/2024, 5:20:10 AM
[Server Config] using 1 of 1 api key
[Auth] use system api key
[Proxy] v1/chat/completions?path=v1&path=chat&path=completions
[Base Url] ***
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.