Replies: 1 comment 1 reply
-
The retry exchange after fetch won't work. I don't think urql can cause ECONRESET that's a failure communicating from point x to point y 😅 I wonder whether the retry after fetch is causing some weird loop but I don't think so as fetch is terminating |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, development has been a huge pain, as at some point astro started throwing errors at me even after a page was already received in the browser.
Cannot read properties of undefined (reading 'map')
, for which urql is the issue, as many queries just return undefined and give -104 ECONNRESET error. I have to ctrl-r a few times to get my site back.This also affects my deployment, and it straight up crashes my storefront in a way that not even pm2 can restart the node process
I have a nanostore for my urql client, which I initialise like so:
connect.ts
server-client.ts
Then use like so in my SSR astro pages:
pages/index.astro
doing console.log on the result of
product_result
I got that one without error once, then refreshed and got two errors at the same time. Sometimes it does product and after that fail, sometimes one component on a page fails and another queries fine...
Beta Was this translation helpful? Give feedback.
All reactions