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

Error Response for new Quiz #1

Open
Klynic opened this issue Mar 27, 2024 · 0 comments
Open

Error Response for new Quiz #1

Klynic opened this issue Mar 27, 2024 · 0 comments

Comments

@Klynic
Copy link

Klynic commented Mar 27, 2024

I tried replicating this, and the page eventually opened but when I put in ns my questions and clicked the publish button, this was the response I got

⨯ TypeError: fetch failed
at Object.fetch (node:internal/deps/undici/undici:11730:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async De.request (file:///C:/Users/Admin/Desktop/Embed/klynic-frame/node_modules/@upstash/redis/chunk-W3IXR5IB.mjs:1:1176)
at async gt.exec (file:///C:/Users/Admin/Desktop/Embed/klynic-frame/node_modules/@upstash/redis/chunk-W3IXR5IB.mjs:1:3091)
at async handler (webpack-internal:///(api)/./src/pages/api/publish.ts:33:5)
at async K (C:\Users\Admin\Desktop\Embed\klynic-frame\node_modules\next\dist\compiled\next-server\pages-api.runtime.dev.js:21:2946)
at async U.render (C:\Users\Admin\Desktop\Embed\klynic-frame\node_modules\next\dist\compiled\next-server\pages-api.runtime.dev.js:21:3827)
at async DevServer.runApi (C:\Users\Admin\Desktop\Embed\klynic-frame\node_modules\next\dist\server\next-server.js:556:9)
at async NextNodeServer.handleCatchallRenderRequest (C:\Users\Admin\Desktop\Embed\klynic-frame\node_modules\next\dist\server\next-server.js:268:37)
at async DevServer.handleRequestImpl (C:\Users\Admin\Desktop\Embed\klynic-frame\node_modules\next\dist\server\base-server.js:807:17) at async C:\Users\Admin\Desktop\Embed\klynic-frame\node_modules\next\dist\server\dev\next-dev-server.js:331:20
at async Span.traceAsyncFn (C:\Users\Admin\Desktop\Embed\klynic-frame\node_modules\next\dist\trace\trace.js:151:20)
at async DevServer.handleRequest (C:\Users\Admin\Desktop\Embed\klynic-frame\node_modules\next\dist\server\dev\next-dev-server.js:328:24)
at async invokeRender (C:\Users\Admin\Desktop\Embed\klynic-frame\node_modules\next\dist\server\lib\router-server.js:163:21)
at async handleRequest (C:\Users\Admin\Desktop\Embed\klynic-frame\node_modules\next\dist\server\lib\router-server.js:342:24) {
cause: Error: getaddrinfo ENOTFOUND abc-xyz.upstash.io
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'abc-xyz.upstash.io'
},
page: '/api/publish'
}

I used the Redis Url and Token you dropped here:

Redis URL

REDIS_URL="https://abc-xyz.upstash.io"

# Redis Token
REDIS_TOKEN="aHVudGVyMg=="

but the issue remains the same .

Could you check it out?
image

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