-
-
Notifications
You must be signed in to change notification settings - Fork 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
[Bug] CF R2--S3图片上传失败 #2965
Comments
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
是不是还有access code |
Is there any access code? |
还真是的,非常感谢。 |
Really, thank you very much. |
This issue is closed, If you have any questions, you can comment and reply. |
我遇到了相同问题。请问是如何解决的? |
I encountered the same problem. How was it solved? |
📦 Environment
Vercel
📌 Version
1.1.3
💻 Operating System
Windows
🌐 Browser
Edge
🐛 Bug Description
这是我的配置信息(已处理),当我上传文件时,遇到“文件上传失败,请检查网络连接或稍后再试
详情: TRPCClientError: UNAUTHORIZED”的错误,日志为
'''
[POST] [middleware: "src/middleware"] /trpc/edge/upload.createS3PreSignedUrl status=200
[POST] /trpc/edge/upload.createS3PreSignedUrl?batch=1&nxtPtrpc=upload.createS3PreSignedUrl status=401
Error in tRPC handler (edge) on path: upload.createS3PreSignedUrl
TRPCError: UNAUTHORIZED
at (src/libs/trpc/middleware/password.ts:21:12)
at (node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:152:0)
at (node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:182:0)
at (node_modules/@trpc/server/dist/unstable-core-do-not-import/http/resolveResponse.mjs:137:0)
at (node_modules/@trpc/server/dist/unstable-core-do-not-import/http/resolveResponse.mjs:195:0)
at (node_modules/@trpc/server/dist/adapters/fetch/fetchRequestHandler.mjs:32:0)
at (node_modules/next/dist/esm/server/future/route-modules/app-route/module.js:195:0)
at (node_modules/next/dist/esm/server/future/route-modules/app-route/module.js:124:0)
at (node_modules/next/dist/esm/server/future/route-modules/app-route/module.js:257:0) {
code: 'UNAUTHORIZED',
name: 'TRPCError'
}
'''
📷 Recurrence Steps
🚦 Expected Behavior
No response
📝 Additional Information
No response
The text was updated successfully, but these errors were encountered: