quirrel icon indicating copy to clipboard operation
quirrel copied to clipboard

Getting exception while trying to run quirrel

Open kayurattribe opened this issue 1 year ago • 1 comments

Bug Report

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

Input Code

  • REPL or Repo link if applicable:
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

  • Quirrel version: [e.g. v1.0.3] - 1.13.1
  • Node/npm version: [e.g. Node 14/npm 6] 16.13.2/ 8.10.0

Possible Solution

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

kayurattribe avatar May 08 '23 05:05 kayurattribe

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

Skn0tt avatar May 08 '23 07:05 Skn0tt