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

Unable to connect to HTTP #3277

Closed
wicaksono opened this issue Jun 5, 2018 · 6 comments
Closed

Unable to connect to HTTP #3277

wicaksono opened this issue Jun 5, 2018 · 6 comments

Comments

@wicaksono
Copy link

This bug-tracker is monitored by developers and other technical types. We like detail! So please use this form and tell us, concisely but precisely, what's up. Please fill out ALL THE FIELDS!

If you have a feature request, please post to the UserVoice.

If this is a console issue (a problem with layout, rendering, colors, etc.), please post to the console issue tracker.

Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues. Instead, send dumps/traces to [email protected], referencing the GitHub bug number. Ideally, please configure your machine to capture minidumps, repro the issue, and send the minidump from "C:\Windows\minidump".

  • Your Windows build number: Microsoft Windows [Version 10.0.17134.81]

  • What you're doing and what's happening:
    I'm not behind proxy
    I'm using portable hardisk
    I'm using Kaspersky Free
    I did test using my home and work connection (both not behind proxy)
    I did disable AV (both windows and kaspersky) and Firewall
    I did run as administrator

curl -i http://archive.ubuntu.com -v
* Rebuilt URL to: http://archive.ubuntu.com/
*   Trying 91.189.88.161...
* Connected to archive.ubuntu.com (91.189.88.161) port 80 (#0)
> GET / HTTP/1.1
> Host: archive.ubuntu.com
> User-Agent: curl/7.47.0
> Accept: */*
>
* Empty reply from server
* Connection #0 to host archive.ubuntu.com left intact
curl: (52) Empty reply from server
  • What's wrong / what should be happening instead: Response from server isn't empty

  • Strace of the failing command, if applicable: (If some_command is failing, then run strace -o some_command.strace -f some_command some_args, and link the contents of some_command.strace in a gist here)

See our contributing instructions for assistance.

@rafaeldamasceno
Copy link

I'm also having trouble with connection using Kaspersky Free 19, but it's just (?) HTTP that's not working, so can't apt-get update or curl.

DNS is working fine, ping works as expected.

I have tried disabling the AV, but that doesn't seem to help.

This seems related to #475, but it's not the same as connection is working.

The closest related issue is #1720, but that involved IPv6 issues and eventually a KES patch, which is not available to Kaspersky Free users.

@wicaksono
Copy link
Author

wicaksono commented Jun 7, 2018

After reading related issue you give, I try to uninstall KF and it's working!

UPDATE:
https://forum.kaspersky.com/index.php?/topic/354919-bash-shell-for-win-10-linux-subsystem-for-windows/

@therealkenc
Copy link
Collaborator

I try to uninstall KF and it's working

That's the lesson. When you disable antivirus software, the too-clever-by-half low level system modifications they make remain in place. If those mods are what is tripping up WSL's low-level assumptions, then badness results whether the antivirus software is "running" or not.

@rafaeldamasceno
Copy link

@therealkenc Yes, I realized that removing Kaspersky altogether would probably work. However, removing the antivirus is not a good solution nor an option, sometimes. I'd still like to get the incompatibility solved and, following this thought, what do you feel is the best option? Should I just go into #475 and report my issue? Should I hijack this issue? Should I create another one? Or do you feel this problem might be too much on the side of Kaspersky that I should be bothering them instead?

@therealkenc
Copy link
Collaborator

Or do you feel this problem might be too much on the side of Kaspersky that I should be bothering them instead?

It isn't really a "side" thing. The MSFT devs aren't privy to what 3rd-party antivirus vendors are doing under the hood. I am going to venture that you are not the first person to have encountered the problem and that Kaspersky has already been notified, but it doesn't hurt I suppose.

@vlad-s
Copy link

vlad-s commented Jun 20, 2018

Sorry to interrupt, the only fix I found for this issue is by removing the port monitoring in Kaspersky Free. This is done via KF - Settings - Network Settings - check "Monitor selected ports only" - Select ports - remove everything. After clearing the port monitoring list, networking in WSL worked without issues.

@rafaeldamasceno & @wicaksono, I know it's ugly, but at least there's no need to uninstall or disable the AV.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants