quirrel-dev / quirrel

The Task Queueing Solution for Serverless.
https://quirrel.dev
MIT License
892 stars 67 forks source link

Getting exception while trying to run quirrel #1135

Open kayurattribe opened 1 year ago

kayurattribe commented 1 year ago

Bug Report

Current Behavior Getting technical exception while trying to enqueue using quirrel.

Input Code

ReminderQueue.enqueue(
          {
            body,  
            email: investorEmail,
          },
          {
            runAt: dayjs(courseType.startDate).subtract(60, 'minutes').toDate(),
            retry: ['5min'],
          },
        );

Expected behavior/code No Errors. We expect the queue to fire without any issues.

Environment

Possible Solution

Additional context/Screenshots Add any other context about the problem here. If applicable, add screenshots to help explain. quirrel error

Skn0tt commented 1 year ago

Hi @kayurattribe! The error you're seeing is because by default, Quirrel tries to work with the api.quirrel.dev server, which has been discontinued.

You need to self-host a server and configure your backend to point to that. If you haven't done that yet, take a look here: https://docs.quirrel.dev/deploying#how-to-deploy-your-own-server