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

windows client: Internet Connection Problem related to TAP and outline #366

Closed
mataqvazadeh opened this issue Nov 2, 2018 · 15 comments
Closed
Assignees
Labels
bug Something is broken, we are tracking it prioritised Being actively worked on

Comments

@mataqvazadeh
Copy link

Last week, Suddenly my laptop didn't connect to Internet, the problem was related to DNS. And it was wonderful because the problem was between only my laptop (window 7) and my router. my laptop could connect to my phone's hot-spot and other devices could connect to WiFi and internet correctly.

After googling a lot, finally I reset my tcp/ip by this command:
netsh int ip reset

After reseting, Ouline could not connect and showed 'Unexpected Error ...'. I had searched in issues and found the problem is related to TAP, so I deleted and inatlled tap again.

Every thing was OK but after restart windows, the internet connection problem occurred again.

I think it's related to new version of Outline.

Best Regards

@lgg
Copy link
Contributor

lgg commented Nov 2, 2018

@mataqvazadeh try this:

  • reboot laptop
  • internet not working
  • disconnect from wifi
  • close outline
  • connect to wifi
  • internet works fine?

I think I might faced this issue too.

@mataqvazadeh
Copy link
Author

@lgg I tried steps.

  • I rebooted laptop

  • yes, internet did not working

  • I disconnected from wifi

  • but, ouline had been closed with restart. so I opened it and closed again.

  • I connected to wifi again

  • Noting happened.

But when internet had problem, and I tried to use Outline, I got 'Another VPN error' and command prompt showed this message:

Pipe connected
Got data from pipe
Pipe connected
Got data from pipe
could not connect: UnsupportedRoutingTable (OutlineService says: no interface has an IPv4 gateway (network config: outline-tap0 (Down): 0 x ipv4 gateways, 0 x ipv6 gateways, Bluetooth Network Connection (Down): 0 x ipv4 gateways, 0 x ipv6 g
ateways, Wireless Network Connection (Up): 0 x ipv4 gateways, 0 x ipv6 gateways, Local Area Connection (Down): 0 x ipv4 gateways, 0 x ipv6 gateways, Loopback Pseudo-Interface 1 (Up): 0 x ipv4 gateways, 0 x ipv6 gateways, isatap.{6A027EC6-86E6-4552-971B-2695F1050F9B} (Down): ipv4 disabled, 0 x ipv6 gateways, Teredo Tunn
eling Pseudo-Interface (Down): ipv4 disabled, 0 x ipv6 gateways, isatap.{1A47844B-34D4-40E4-98BD-BD463C5B96B9} (Down): ipv4 disabled, 0 x ipv6 gateways))
ss-local exited with signal SIGTERM
tun2socks exited with signal SIGTERM
Error: net::ERR_NETWORK_CHANGED
Promise "DNS lookup" resolved before 10000 ms.
Promise "Reachability check" resolved before 10000 ms.

@lgg
Copy link
Contributor

lgg commented Nov 3, 2018

@mataqvazadeh how did you get the command prompt output?

@mataqvazadeh
Copy link
Author

@lgg I ran Outline from command prompt in windows.

@gaotongsh
Copy link

My friend is having the exact same issue when connecting to my server last week. Hope someone could share insight of how this happened.

@trevj trevj self-assigned this Nov 5, 2018
@trevj
Copy link
Contributor

trevj commented Nov 5, 2018

@mataqvazadeh Thanks for the report - sorry you've been having trouble connecting with Outline. It looks like your laptop has problems connecting to your wifi router. Two questions for now:

  • was this the case before you installed Outline?
  • does Outline work when your laptop is using your phone's hotspot?

@trevj trevj added the need more info We need more information in order to help or verify label Nov 5, 2018
@trevj trevj changed the title Internet Connection Problem related to TAP and outline windows client: Internet Connection Problem related to TAP and outline Nov 5, 2018
@mataqvazadeh
Copy link
Author

@trevj
Thanks, No Problem. There is no software without bugs.
Actually my laptop connects to router but the problem is internet connection. I can access router settings but I can't access any website. When I run Windows Troubleshooter , I get this message:

diagnostics

And answering to your questions:

  • Absolutely not. This problem occurred after updating Outline to new version (1.2.17)

  • I tried using outline with my phone's hot spot, and after restarting windows problem occurred again with my hot spot connection. same scenario. But this time I got this message from windows troubleshooter:

diagnostics hotspot

Best Regards

@saeedghod
Copy link

saeedghod commented Nov 7, 2018

Temporary solution for this problem is to close/disconnect outline client before shut down the OS.
If you forgot to do this just uninstall and then install your LAN/WLAN adapter (For install hit "Scan for hardware changes" button) through "device manager" .

@mataqvazadeh
Copy link
Author

@saeedghod Thanks. Yeah, Accidentally I found this solution last night.

@ppryamikov
Copy link

I have the same problem on two of my PCs with Windows 10. There's no internet connection after each reboot. Uninstalling the actual network adapter and than scanning for hardware changes helps. Uninstalling Outline doesn't. So there's no proof, but I think it's related to Outline too.

@jandornig
Copy link

Hi @trevj my 2 laptops are having the same exact issue.

Is there an update coming? in the first moment i didnt know how to solve it and reset the network adapters completely to get it working again. Reboots/disconnecting etc. didnt help by themselves.

It seems like outline is not properly disconnecting when i shut down computers. then on a reboot-wake up, the issue happens that it cant connect to the internet at all. and starting outline brings up an error that say another vpn is already engaged, which it isnt.

route delete 0.0.0.0
and ipconfig/renew worked for me last time (so i dont have to completely reset it, didnt see this thread before with other suggestions.)

@Flawks
Copy link

Flawks commented Nov 17, 2018

@saeedghod actually, the solution "close/disconnect outline client before shut down the OS" doesn't work fine, as I noticed the same Internet Connection Problem after rebooting PC with Outline being disconnected. Driver re-installation didn't help so I solved this issue with System restore.
There is Wi-Fi adapter on my PC (Windows 7, x64), so I decided to replay same scenario on VirtualBox Windows 7:

  • installed Outline client
  • connected to server
  • disconnected from server
  • shut virtual Windows
  • run it again (internet works fine)
  • shut it down with disconnected Outline
  • left it turned off for several days

After several days I ran virtual Windows 7 and it showed Internet Connection Problem.
netsh int ip reset was the only way I found to solve it (thanks, @mataqvazadeh).

@0ttik
Copy link

0ttik commented Nov 19, 2018

There is defnetly some problem with outline application. Firstly I thought that it is connected with hamachi adapter that was conflicting with outline adapter in some way. After deleting hamachi adapter I had my Internet connection going, but then again this error occured without hamachi. It really looks like it appears after turn on/trun off or after I wake pc from sleep mode.

@trevj
Copy link
Contributor

trevj commented Dec 7, 2018

@mataqvazadeh @gaotongsh @ppryamikov @jandornig @gisha Thanks for the reports and apologies for any inconvenience this may have caused.

@lgg @saeedghod @Flawks Many thanks for the helpful workarounds.

I believe this is related to how Outline creates persistent routes on the system. We originally made these routes persistent to properly handle sleep and suspend but it seems that's no longer necessary - without persistent routes, rebooting your system should always return it to a useable state.

Fix here and should appear in the next release sometime next week:
#430

@trevj trevj added bug Something is broken, we are tracking it prioritised Being actively worked on and removed need more info We need more information in order to help or verify labels Dec 7, 2018
@trevj
Copy link
Contributor

trevj commented Dec 20, 2018

This was released in:
https://github.com/Jigsaw-Code/outline-client/releases/tag/windows-v1.2.23

@trevj trevj closed this as completed Dec 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken, we are tracking it prioritised Being actively worked on
Projects
None yet
Development

No branches or pull requests

9 participants