Websockets is out of control!
- Dominant language
- C#
- Stars
- 33
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
So, I created a very basic project with the following lines
dotnet new -i aurelia-dotnet-templates
dotnet new aurelia -ht http2 -c sass -e none
I opened the solution in VS2017 and ran it using IIS Express. The page loads.
However, if I open dev tools as the page is loading, the Network information is going nuts with tons of websocket requests. There is nothing in app code that makes any kind of POST request and yet there are tons of POST requests being made in the Network area.
This activity goes on long after the page has loaded. In the end, the status bar indicates that 3.84MB of 3.88MB was transferred -- interesting since the entire dist folder is only 1MB. It also states there were 192 requests made -- my dist folder only has 22 files in it and the largest file is 107KB.
I'm very curious where all this extra activity and data is coming from.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue with the two dotnet new commands, then run the generated solution under IIS Express in VS2017 and inspect the browser Network panel while loading. Trace the repeated WebSocket and POST activity back to its source; done means identifying why the requests and transferred data occur and documenting or correcting the unexpected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- networking, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100