Open
Description
π Bug Report
π€·ββοΈ What did you do
I don't know the details, but it seems that vite can't connect to port 5173, so I can't access the admin page. I keep refreshing it, and it works.
This problem only occurs when running with Docker.
If you set only DB and Adminer in docker-compose, and run strapi with yarn develop
in the root directory, the problem doesn't occur.
βοΈ Error log
Uncaught (in promise) TypeError: Failed to fetch
at chunk-2TAU4CQN.js?v=1fee42fe:5196:9
at commitHookEffectListMount (chunk-LV225RC7.js?v=1fee42fe:16936:34)
at commitPassiveMountOnFiber (chunk-LV225RC7.js?v=1fee42fe:18184:19)
at commitPassiveMountEffects_complete (chunk-LV225RC7.js?v=1fee42fe:18157:17)
at commitPassiveMountEffects_begin (chunk-LV225RC7.js?v=1fee42fe:18147:15)
at commitPassiveMountEffects (chunk-LV225RC7.js?v=1fee42fe:18137:11)
at flushPassiveEffectsImpl (chunk-LV225RC7.js?v=1fee42fe:19518:11)
at flushPassiveEffects (chunk-LV225RC7.js?v=1fee42fe:19475:22)
at commitRootImpl (chunk-LV225RC7.js?v=1fee42fe:19444:13)
at commitRoot (chunk-LV225RC7.js?v=1fee42fe:19305:13)
GET http://localhost:5173/ net::ERR_CONNECTION_REFUSED
ping @ http://localhost/@vite/client:710
waitForSuccessfulPing @ http://localhost/@vite/client:730
(anonymous) @ http://localhost/@vite/client:528
## πββοΈ Expected behavior/code
A clear and concise description of what you expected to happen (or code).
## π©βπ» Environment
- π¦ Node version: FROM node:18-alpine
- π» OS: Linux - x64 (Ubuntu22.04)
## π‘ Possible Solution
<!-- Only if you have suggestions on a fix for the bug -->
## πΊ Additional context/Screenshots
<!-- Add any other context about the problem here. If applicable, add screenshots to help explain. -->
Metadata
Metadata
Assignees
Labels
No labels