-
Notifications
You must be signed in to change notification settings - Fork 381
Open
Description
Hi there,
I am self-hosting the Emails & Messages Saleor app and testing it in Saleor dev sandbox.
When saving email provider configuration, an internal server error pops up.
This error appears only in Saleor dev sandbox. Local deployment on saleor-platform works well.
Setup
- Saleor dev sandbox
- Emails & Messages app deployed on AWS Amplify
- Custom APL using AWS graphql (dynamo DB)
Steps to reproduce
- Self-host Emails & Messages app (in my case it's AWS Amplify)
- Go to app configuration
- Enter details for "SMTP server" > hit save [configuration successfully saved]
- Enter details for "Sender" > hit save [saving configuration fails with error 500]
Error
"name": "tRPC error",
"err": {
"type": "TRPCError",
"message": "Internal server error",
"stack": "TRPCError: Internal server error\n at throwTrpcErrorFromConfigurationServiceError (/tmp/app/.next/server/pages/api/trpc/[trpc].js:918:11)\n at /tmp/app/.next/server/pages/api/trpc/[trpc].js:1101:20\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at async resolveMiddleware (file:///var/task/node_modules/@trpc/server/dist/index.mjs:420:30)\n at async callRecursive (file:///var/task/node_modules/@trpc/server/dist/index.mjs:456:32)\n at async callRecursive (file:///var/task/node_modules/@trpc/server/dist/index.mjs:456:32)\n at async /tmp/app/.next/server/pages/api/trpc/[trpc].js:1230:20\n at async callRecursive (file:///var/task/node_modules/@trpc/server/dist/index.mjs:456:32)\n at async callRecursive (file:///var/task/node_modules/@trpc/server/dist/index.mjs:456:32)\n at async callRecursive (file:///var/task/node_modules/@trpc/server/dist/index.mjs:456:32)",
"code": "INTERNAL_SERVER_ERROR",
"name": "TRPCError"
},
"msg": "smtpConfiguration.updateSender returned error:"
As I mentioned, all works well in local development, i.e. saleor-platform + app via localhost, with both custom APL and file APL. It's only the Saleor dev sandbox and app deployed on AWS which trows the error.
Can you help?
piotrgrundas
Metadata
Metadata
Assignees
Labels
No labels