-
Notifications
You must be signed in to change notification settings - Fork 68
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
400 | Error: Please specify QUIRREL_BASE_URL.. #948
Comments
hey @jatidevelopments! are you using the hosted Quirrel version (https://quirrel.dev), or a self-hosted instance? could you specify what "it always asks for the QUIRREL_BASE_URL" means? is that a log output you're seeing? |
Hi @Skn0tt we are using the hosted Quirrel version. We deploy on AWS. I can't see anything in the Logsoutput but it happens when I try to call the |
Hmm :/ That error is thrown by this line: Line 103 in ba99519
It seems to me that somehow your environment variables aren‘t set correctly. Can you verify that QUIRREL_BASE_URL is indeed specified? For example by logging |
Okay, I will test it. Maybe it's because the env is from the Parameter Store at AWS. Do I need to add |
Shouldn‘t make a difference. If there‘s no protocol given, it automatically uses Line 106 in ba99519
but specyfing the protocol also works fine. |
I assume that you were able to fix the QUIRREL_BASE_URL issue. That error looks like you specified QUIRREL_ENCRYPTION_SECRET locally, but had pending jobs that weren‘t encrypted at all. So now it‘s trying to decrypt an unencrypted payload. Could that be the case? |
I know the error So it's solved! But thanks for the support! |
Bug Report
Current Behavior
When deploying to AWS (Fargate) Quirrel doesn't seem to work. It always asks for the QUIRREL_BASE_URL when calling the queue. I tried setting the QUIRREL_BASE_URL with
https://
and without.Input Code
Queue is in path: /api/emailQueue.ts (NextJS):
Calling the queue:
Expected behavior/code
Pushing to the queue and don't return an error that the QUIRREL_BASE_URL isn't defined.
Environment
Does anybody know a solution?
The text was updated successfully, but these errors were encountered: