Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 5956

Why does my nextjs 13 project returns 502 - bad gateway for rsc payload fetching?

$
0
0

I'm uploading a nextjs 13 project to a VPS, but the links at the project home wasn't working as expected. So I opened the network tab and have seen it:

network tab

Each url of these requests has the structure "/product/{id}?_rsc={hex}", and "/product/{id}" is the url that my links are pointing to, so I think it is correlated (probably prefetching of pages).

These requests stay pending until it resolve to 502 - bad gateway and I don't know the reason for it.

My environment: Ubuntu 22.04.1 LTS, Node 16.14.0, Nginx 1.18.0, NextJS 13.4.7


Viewing all articles
Browse latest Browse all 5956

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>