Failed fetching stories because the server is down
See original GitHub issueI am running into an issue after switching to using the “chrome.docker” target.
When I try to run the loki test command (after ensuring the storybook server has been started and is running),
I get the following error:

However, if I build storybook, and run loki --reactUri file:./build-storybook, it works fine.
This is my current loki configuration:
"loki": {
"chromeTolerance": 3,
"configurations": {
"chome.largeScreen": {
"target": "chrome.docker",
"width": 1920,
"height": 1080,
"deviceScaleFactor": 1,
"mobile": false,
"fitWindow": false
},
"chrome.laptop": {
"target": "chrome.docker",
"width": 1366,
"height": 768,
"deviceScaleFactor": 1,
"mobile": false,
"fitWindow": false
}
}
}
I am not too familiar with Docker, so this might be a stupid question, but do I need to somehow start the storybook server inside the Docker container? I’d appreciate any help here.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:9
Top Results From Across the Web
Developers - Failed fetching stories because the server is down
I'm getting Failed fetching stories because the server is down with a static storybook build. Basically, I've got this line in my ...
Read more >How do I use the Network view in Dev Tools? - FullStory Support
Look for Failures ... In FullStory, when a bar for a request shows up red, this indicates an error where the request failed....
Read more >Troubleshoot common problems | Fleet and Elastic Agent ...
If you are unable to see Fleet Server in Kibana, make sure it's set up. ... However, because Fleet Server is on the...
Read more >Error messages on Wattpad – Help Center
While using Wattpad, you may encounter a range of error messages. These may be caused by bugs, connection issues, server issues, or they...
Read more >Troubleshoot Dataflow errors | Google Cloud
This issue occurs because some required APIs are not enabled in your project. ... manifest for IMAGE_NAME not found: manifest unknown: Failed to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Any updates? I am encountering this issue with
targetset tochrome.dockerand alsochrome.app. Loki doesn’t see the storybook server on the default port nor some other port. It works fine with static buildI have a similar question. When running
loki test --port 6006 --configurationFilter chrome.laptopI need to start storybook on port 6006 in advance. If I runloki test --port 6006 --configurationFilter chrome.docker, do I need to start the storybook somehow?My configurations: