Hi everyone!
When starting our strapi application on my local machine, I’ll get this exception from the browser when navigating to http://localhost:1337/admin (see attached image).
code: “ERR_NETWORK”
message: “Network Error”
name: “AxiosError”
Does anyone have a clue / hint on what could cause this exception?
We are using strapi 4.13.1 as react app with npm and node 18.17, hosting locally using docker containers for postgres and azurite. Servers are hosted on Azure and do not suffer from the same issue.
I’m developing for months locally and this message appeared all of a sudden without any recent changes that could have cause it (last thing changed was removing a console.log() and suddenly that one popped up). The ui is stuck with a endless spinner and neither console, not logs show anything usefull except for the given error. Tried the following to get it solved, but no success so far:
- cleared caches in all browsers and app
- build app from scratch
- removed all used docker containers
- removed and rebuild all used docker images
- removed all used docker volumes
- debugged the little of what made sense to debug
- checked local storage account and database for sanity
- tested with different git branches going back until a month ago
- used yarn instead of npm (made it even worse, no recommendo)
- disabled / reconfigured cors in cms
- disabled cors in browsers
- tested with different tls versions
- “invalidated” all credentials in the .env files to make sure its not about an accidental misconfiguration or expired key
- gave sacrifices to the gods (chips and cola), to no use, though sacrifice was gladly taken
If you have any thoughts on this, all input is gladly taken
This topic has been created from a Discord post (1247933488456269944) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord