Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HyperV network instability: wsarecv: An existing connection was forcibly closed by the remote host #2720

Closed
QAnders opened this issue Apr 13, 2018 · 7 comments
Labels
area/networking networking issues cause/poor-internet Failed due to internet access issues co/hyperv HyperV related issues kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. os/windows priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done.

Comments

@QAnders
Copy link

QAnders commented Apr 13, 2018

Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT

Please provide the following details:

Environment: Hyper-V on Windows 10 Enterprise version: 1709

Minikube version (use minikube version): v0.25.2

  • OS (e.g. from /etc/os-release):
  • VM Driver (e.g. cat ~/.minikube/machines/minikube/config.json | grep DriverName):
  • ISO version (e.g. cat ~/.minikube/machines/minikube/config.json | grep -i ISO or minikube ssh cat /etc/VERSION):
  • Install tools:
  • Others:
    The above can be generated in one go with the following commands (can be copied and pasted directly into your terminal):
minikube version
echo "";
echo "OS:";
cat /etc/os-release
echo "";
echo "VM driver": 
grep DriverName ~/.minikube/machines/minikube/config.json
echo "";
echo "ISO version";
grep -i ISO ~/.minikube/machines/minikube/config.json

What happened: I setup minikube according to this guide: https://medium.com/@JockDaRock/minikube-on-windows-10-with-hyper-v-6ef0f4dc158c
After creating the virtual switch I see a decrease in Internetspeeds but still working. Minukube VM is created and I can see that it starts and connect to it but trying to start any applications, e.g. minikube start --vm-driver hyperv --hyperv-virtual-switch "Primary Virtual Switch" it starts working and gets an IP and starts downloading but soon stops with the following error:
Downloading localkube binary 1.16 MB / 163.02 MB [>---------------------------------------] 0.71% 5h10m46s E0413 07:22:58.427478 13424 start.go:234] Error updating cluster: Error updating localkube from uri: Error attempting to download and cache localkube: downloading localkube: failed to download: failed to download to temp file: failed to copy contents: read tcp 192.168.1.18:54897->216.58.207.208:443: wsarecv: An existing connection was forcibly closed by the remote host. E0413 07:22:58.466277 13424 util.go:151] Error uploading error message: : Post https://clouderrorreporting.googleapis.com/v1beta1/projects/k8s-minikube/events:report?key=AIzaSyACUwzG0dEPcl-eOgpDKnyKoUFgHdfoFuA: dial tcp: lookup clouderrorreporting.googleapis.com: no such host

What you expected to happen: For it to download and start the Kube env.

How to reproduce it (as minimally and precisely as possible):

Output of minikube logs (if applicable):

Anything else do we need to know: As stated I get the impression the whole Internet connection on the hosts is also "slowed down" but working...

@shyyawn
Copy link

shyyawn commented Jun 17, 2018

I have the same issue of internet slowing down. Can you help?

@discosultan
Copy link

I had a similar issue when I created a new external virtual switch. However, using the "Default Switch" for Minikube's VM does not pose that problem.

@ghettosamson
Copy link

I used the same link to setup minikube. After creating the "Primary Virtual Switch" internet speeds completely slowed down. I had to delete the created switch and use the "Default Switch".

@tstromberg tstromberg changed the title Windows 10, download fails and slow Internet connection HyperV network instability: wsarecv: An existing connection was forcibly closed by the remote host Sep 19, 2018
@tstromberg tstromberg added co/hyperv HyperV related issues area/networking networking issues failed/local-networking startup failures due to networking issues kind/bug Categorizes issue or PR as related to a bug. os/windows cause/poor-internet Failed due to internet access issues and removed failed/local-networking startup failures due to networking issues labels Sep 19, 2018
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 20, 2018
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jan 19, 2019
@tstromberg tstromberg added the priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. label Jan 24, 2019
@fejta-bot
Copy link

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

@k8s-ci-robot
Copy link
Contributor

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/networking networking issues cause/poor-internet Failed due to internet access issues co/hyperv HyperV related issues kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. os/windows priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done.
Projects
None yet
Development

No branches or pull requests

7 participants