Next.js Discord

Discord Forum

router redirect suddenly not working

Unanswered
Elite posted this in #help-forum
Open in Discord
so all of a sudden my router.push after the form submit doesnt seem to be working. i get no errors on client or server. The console log gets printed. I’m on 13.4.10

13 Replies

i’ve tried downgrading and switching regions and neither has fixed it. i have no idea.
Polar bear
same this happened to us also
after some digging. it was something to do with a monitoring library/service i was using on the client side. seems to have been resolved after disabling it (not ideal)

going to dig further later.
@Elite Hm Dyk what service it was
highlight.
Hm I don’t have that
was talking with the highlight guys, and he mentioned they use a library called rrweb, it could be a faulty version of that? perhaps check your dependency tree to see
@Elite
after more investigation. highlight was throwing an error in a promise which if done (to my knowledge) would cause a suspense boundary to happen or not to happen. still not really clear.

to summarize @Northeast Congo Lion @Polar bear ,i would check your dependencies and see if any recent additions or upgrades may have caused this issue. which was the case for me.
@Elite My dependencies are the same as my main branch so I still don’t know
perhaps try comparing it to previous commit? did you upgrade anything?
@au perhaps try comparing it to previous commit? did you upgrade anything?
Like I’ve just added different routes