andreyapopov
andreyapopov
RRailway
Created by andreyapopov on 9/8/2023 in #✋|help
TypeError: fetch failed error without much description in the logs
will do, thank you for your help!
33 replies
RRailway
Created by andreyapopov on 9/8/2023 in #✋|help
TypeError: fetch failed error without much description in the logs
Supabase 🙂
33 replies
RRailway
Created by andreyapopov on 9/8/2023 in #✋|help
TypeError: fetch failed error without much description in the logs
I may need to talk with them maybe. It works locally and on Vercel, but I wonder if Vercel is indeed doing some monkey business like you said, and I'm just missing something. I took the code straight from Supabase template so theoretically it should work, maybe I am indeed missing something simple
33 replies
RRailway
Created by andreyapopov on 9/8/2023 in #✋|help
TypeError: fetch failed error without much description in the logs
yeah, no, I definitely appreciate it
33 replies
RRailway
Created by andreyapopov on 9/8/2023 in #✋|help
TypeError: fetch failed error without much description in the logs
I'm not using next auth but using supabase auth instead.
33 replies
RRailway
Created by andreyapopov on 9/8/2023 in #✋|help
TypeError: fetch failed error without much description in the logs
Even locally, it doesn't redirrect me to a strange localhost port, it keeps it within whatever port I'm on
33 replies
RRailway
Created by andreyapopov on 9/8/2023 in #✋|help
TypeError: fetch failed error without much description in the logs
Still weird redirect to a locahost when after logging in / signing out with supabase, gotta figure that one out.
33 replies
RRailway
Created by andreyapopov on 9/8/2023 in #✋|help
TypeError: fetch failed error without much description in the logs
image is loading now and that error is no longer in the log
33 replies
RRailway
Created by andreyapopov on 9/8/2023 in #✋|help
TypeError: fetch failed error without much description in the logs
oh this seems to have fixed it
33 replies
RRailway
Created by andreyapopov on 9/8/2023 in #✋|help
TypeError: fetch failed error without much description in the logs
Adding a variable didn't seem to help, and again - images aren't being displayed. Does Railway support the new Next 13 folder structure?
33 replies
RRailway
Created by andreyapopov on 9/8/2023 in #✋|help
TypeError: fetch failed error without much description in the logs
yeah I have. It reads and writes data from supabase just fine
33 replies
RRailway
Created by andreyapopov on 9/8/2023 in #✋|help
TypeError: fetch failed error without much description in the logs
Oh this might be what I was missing, let me try that!
33 replies
RRailway
Created by andreyapopov on 9/8/2023 in #✋|help
TypeError: fetch failed error without much description in the logs
So, Supabase seems to be causing another issue actually. I have the following code on the main page: const supabase = createServerComponentClient({ cookies }) const { data: { user }, } = await supabase.auth.getUser() Then there's verification if there's user and different behaviour based on that. Interestingly, when I login/signup with Supabase both locally and on Vercel redirects work as expected while at Railway it tries to send me to localhost to some strange port
33 replies
RRailway
Created by andreyapopov on 9/8/2023 in #✋|help
TypeError: fetch failed error without much description in the logs
I'm pretty sure it's trying to load an image and failing. I deployed same codebase to Vercel and there are no isses in logs and both images are being displayed while with Railway only one image is displayed and there's this error.
33 replies
RRailway
Created by andreyapopov on 9/8/2023 in #✋|help
TypeError: fetch failed error without much description in the logs
Actually nowhere, I have no connections to that address anywhere in the code. It's something Railway is trying to do, and I'm not sure what.
33 replies