-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
TypeError: fetch failed #54
Labels
duplicate
This issue or pull request already exists
Comments
有个PR可以指定代理,应该是GFW的问题 |
Duplicate of #34 |
ddiu8081
added
duplicate
This issue or pull request already exists
and removed
question
Further information is requested
labels
Mar 4, 2023
我在.env填https://chat.duti.tech/api/conversation或者https://gpt.pawan.krd/backend-api/conversation 该报错还是报错。。。。 G:\[Notes]\chatgpt-demo>npm run dev
> novel-gpt@0.0.1 dev
> astro dev
astro v2.0.17 started in 78ms
┃ Local http://localhost:3000/
┃ Network use --host to expose
error invalid url
File:
G:\[Notes]\chatgpt-demo\G:\[Notes]\chatgpt-demo\node_modules\undici\lib\core\util.js:111:11
Stacktrace:
InvalidArgumentError: invalid url
at Object.parseOrigin (G:\[Notes]\chatgpt-demo\node_modules\undici\lib\core\util.js:111:11)
at new Client (G:\[Notes]\chatgpt-demo\node_modules\undici\lib\client.js:211:23)
at new ProxyAgent (G:\[Notes]\chatgpt-demo\node_modules\undici\lib\proxy-agent.js:72:21)
at Module.post (G:\[Notes]\chatgpt-demo\src\pages\api\generate.ts:17:33)
at async call (file:///G:/[Notes]/chatgpt-demo/node_modules/astro/dist/core/endpoint/index.js:71:20)
at async call (file:///G:/[Notes]/chatgpt-demo/node_modules/astro/dist/core/endpoint/dev/index.js:15:10)
at async handleRoute (file:///G:/[Notes]/chatgpt-demo/node_modules/astro/dist/vite-plugin-astro-server/route.js:117:20)
at async run (file:///G:/[Notes]/chatgpt-demo/node_modules/astro/dist/vite-plugin-astro-server/request.js:46:14)
at async runWithErrorHandling (file:///G:/[Notes]/chatgpt-demo/node_modules/astro/dist/vite-plugin-astro-server/controller.js:65:5)
at async handleRequest (file:///G:/[Notes]/chatgpt-demo/node_modules/astro/dist/vite-plugin-astro-server/request.js:40:3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
请问这个报错是什么意思
The text was updated successfully, but these errors were encountered: