You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My institution uses a test server that has no SSL certificate so having to access it through http. It is just for internal testing. Next.js application always runs on it well until yesterday.
I rebuilt and deployed next.js application on it yesterday. As I tried to access the website, there are errors "GET https://hostname/__next/xxxxx net::ERR_CONNECTION_REFUSED". Also, clicking links on homepage(only text and links are shown) will also redirect to "https://hostname/xxxxx" . It looks like next.js sends all requests with rewriting to https protocol in a http server. I did not make any change to the code before rebuilding and deploying.
It should be due to next.js because all other react applications running on this http server are working. Any advice and help would be appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Summary
My institution uses a test server that has no SSL certificate so having to access it through http. It is just for internal testing. Next.js application always runs on it well until yesterday.
I rebuilt and deployed next.js application on it yesterday. As I tried to access the website, there are errors "GET https://hostname/__next/xxxxx net::ERR_CONNECTION_REFUSED". Also, clicking links on homepage(only text and links are shown) will also redirect to "https://hostname/xxxxx" . It looks like next.js sends all requests with rewriting to https protocol in a http server. I did not make any change to the code before rebuilding and deploying.
It should be due to next.js because all other react applications running on this http server are working. Any advice and help would be appreciated.
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions