upstash / issues

Issue Tracker for Upstash
https://upstash.com
2 stars 0 forks source link

Qstash create a cron hit error #48

Closed muhaimincs closed 1 year ago

muhaimincs commented 1 year ago
bad request: destination: invalid destination url: unable to resolve host: lookup http on xx.xx.xx.xx: no such host

this is how I initiate it

const qstashResponse = await qstashClient.publishJSON({
    url: `https://${process.env.NEXT_PUBLIC_SITE_URL}/m12/api/${req.body.intended}/notification`,
    cron: `0 ${clock} * * *`,
    retries: 3,
    body: req.body,
})
chronark commented 1 year ago

What's your host? We block localhost for example

muhaimincs commented 1 year ago

I use ngrok to run it

chronark commented 1 year ago

hey is this still happening?

muhaimincs commented 1 year ago

Yeah it solved already. I was put extra https at the prefix On 22 Mar 2023 at 4:42 PM +0800, Andreas Thomas @.***>, wrote:

hey is this still happening? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>