"Error: Connection got disposed." flood
See original GitHub issueI’ve encountered an issue with code-d with one specific package. As soon code-d is loaded it starts spamming “Request failed. Connection got disposed.”
serve-d v0.6.0 with workspace-d v3.5.0 Included features: “d”, “workspaces” Built: Sun May 3 02:09:22 2020 with bundled dub, dfmt, dscanner OS: Windows 10 x64
Steps to reproduce
mkdir codedissue
cd codedissue
dub init -n
dub add evael-ecs
dub build
code .
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
[VS Code] Connection got disposed. · Issue #245 - GitHub
Error : Connection got disposed. Steps to Reproduce: Go trough sign in process for live share using browser to get user code.
Read more >Flooding and Sewage Back-ups: Home Care Guide - Mass.gov
Flooding and Sewage Back-ups: Home Care Guide. How to protect your home and family from disease-causing pathogens in the event of a flood...
Read more >Repairing Your Flooded Home
Clean everything that got wet. Floodwaters pick up sewage and chemicals from roads, farms, factories, and stor- age buildings. Spoiled food and flooded...
Read more >Protecting Building Utilities From Flood Damage - FEMA
If you ordered and received your copy of Protecting Building Utilites From Flood Damage directly from the FEMA Publications Center, you will automatically ......
Read more >FLOOD REPAIR FACT SHEET | Master Electricians Australia
For portable electrical equipment the electrician must assess the damage and refer to the Australian Standard AS/NZS 3760, after which the appropriate disposal...
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

ah sorry just saw you posted the dub configuration, can diagnose it myself
I think I found my personal issue. Was almost about to post an issue about. I dont know about @Superbelko 's configuration but after a long time of confusion (I never fixed my issue until only today!), I coincidentally found out dub does not support the use of the
autodetecttargetType inside aconfigurationsconfiguration.I’m not sure why this leads to such weird errors. I’ve created a small example project with the issue, but it doesn’t always show the same errors. It’s currently stuck on “downloading” (even though there’s no dependencies… not sure why this happened this time). It sometimes (though not always) looks comparable to the error also shown in issue #389.
All in all, to me it seems like there’s some issues with detecting/printing issues with incorrect/problematic dub.json files. If possible I’d like to ask if this can be improved, though I have no clue if that is viable.
Sidenote: For some reason commandline dub does not complain about my incorrect dub.json file. (It actually uses the incorrect configuration, though, even though a main is included in the source, it decides to use the
librarytargetType given theautodetecttargetType. This is very weird to me, I’m not even sure if this is a bug in dub (or if I should report it).Recreating: Simply add a configuration that uses the
autodetecttargetType as one of its configurations: