Skip to content
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

[GET] "http://esm.sh/@iconify-json/ph/icons.json": <no response> fetch failed #462

Open
1 task done
qintee opened this issue Feb 11, 2024 · 1 comment
Open
1 task done

Comments

@qintee
Copy link

qintee commented Feb 11, 2024

What operating system are you using?

Windows && Ubuntu

What browser are you using?

Chrome

Describe the bug

I use a relay server to proxy the GPT connection and it work well perfectly but suddenly I can't use it anymore,no matter how many times I restart the service
I once speculated that the reason was an abnormality in the relay server,but after testing through other methods, OPENAI-API_KEY has no problem and can run on other services
I have also suspected that it is due to my local network. My cloud server has two gpt demo services, a few days ago one running well and the other failed. Now, all services have failed (including local services)

What prompt did you enter?

No response

Console Logs

Image show error messages in Linux and Text display the Windows local logs

`[GET] "http://esm.sh/@iconify-json/ph/icons.json": fetch failed
11:18:57 [vite] Error when evaluating SSR module astro:scripts/page-ssr.js: failed to import "/__uno.css"
|- FetchError: [GET] "http://esm.sh/@iconify-json/ph/icons.json": fetch failed
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async $fetchRaw2 (D:\Sofeware_collection\CODE\JaVaCode\GPT\chatgpt-demo-main\node_modules.pnpm\[email protected]\node_modules\ofetch\dist\shared\ofetch.92c14be7.cjs:234:14)
at async Object.$fetch2 (D:\Sofeware_collection\CODE\JaVaCode\GPT\chatgpt-demo-main\node_modules.pnpm\[email protected]\node_modules\ofetch\dist\shared\ofetch.92c14be7.cjs:267:15)

11:18:57 [vite] Error when evaluating SSR module D:/Sofeware_collection/CODE/JaVaCode/GPT/chatgpt-demo-main/src/pages/index.astro: failed to import "astro:scripts/page-ssr.js"
|- FetchError: [GET] "http://esm.sh/@iconify-json/ph/icons.json": fetch failed
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async $fetchRaw2 (D:\Sofeware_collection\CODE\JaVaCode\GPT\chatgpt-demo-main\node_modules.pnpm\[email protected]\node_modules\ofetch\dist\shared\ofetch.92c14be7.cjs:234:14)
at async Object.$fetch2 (D:\Sofeware_collection\CODE\JaVaCode\GPT\chatgpt-demo-main\node_modules.pnpm\[email protected]\node_modules\ofetch\dist\shared\ofetch.92c14be7.cjs:267:15)

error [GET] "http://esm.sh/@iconify-json/ph/icons.json": fetch failed
File:
D:\Sofeware_collection\CODE\JaVaCode\GPT\chatgpt-demo-main\node_modules.pnpm\[email protected]\node_modules\ofetch\dist\shared\ofetch.92c14be7.cjs:234:14
Code:
233 | }
> 234 | return await onError(context);
| ^
235 | }
236 | const hasBody = context.response.body && !nullBodyResponses.has(context.response.status) && context.options.method !== "HEAD";
237 | if (hasBody) {
Stacktrace:
FetchError: [GET] "http://esm.sh/@iconify-json/ph/icons.json": fetch failed
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async $fetchRaw2 (D:\Sofeware_collection\CODE\JaVaCode\GPT\chatgpt-demo-main\node_modules.pnpm\[email protected]\node_modules\ofetch\dist\shared\ofetch.92c14be7.cjs:234:14)
at async Object.$fetch2 (D:\Sofeware_collection\CODE\JaVaCode\GPT\chatgpt-demo-main\node_modules.pnpm\[email protected]\node_modules\ofetch\dist\shared\ofetch.92c14be7.cjs:267:15)

Cause:
TypeError: fetch failed
at Object.fetch (node:internal/deps/undici/undici:11457:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async $fetchRaw2 (D:\Sofeware_collection\CODE\JaVaCode\GPT\chatgpt-demo-main\node_modules.pnpm\[email protected]\node_modules\ofetch\dist\shared\of\shared\ofetch.92c14be7.cjs:225:26)
at async $fetchRaw2 (D:\Sofeware_collection\CODE\JaVaCode\GPT\chatgpt-demo-main\node_modules.pnpm\[email protected]\node_modules\ofetch\dist\shared\ofetch.92c14be7.cjs:234:14)
at async Object.$fetch2 (D:\Sofeware_collection\CODE\JaVaCode\GPT\chatgpt-demo-main\node_modules.pnpm\[email protected]\node_modules\ofetch\dist\shared\ofetch.92c14be7.cjs:267:15)`

bug1
bug2

Participation

  • I am willing to submit a pull request for this issue.
@qintee
Copy link
Author

qintee commented Feb 19, 2024

I think I have identified the problem, I reopen my website on my phone and my PC can use service successfully.
So I think this issue is caused by accessing websites on mobile phones, which leads to service issues.

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

No branches or pull requests

1 participant