outline-apps icon indicating copy to clipboard operation
outline-apps copied to clipboard

[Windows] `context deadline exceeded` when connecting to the server

Open SButterfly opened this issue 3 months ago • 13 comments

Application

Outline Client

Describe the bug

Hi! A client (from Russia) coudn't connect to one of the servers (hosted in Digital Ocean, the Netherlands).

ProxyConnectionFailure: Failed to connect to server Digital Ocean.
Cause:   ERR_INTERNAL_ERROR: context deadline exceeded

Version 1.16.1 (487370) and in 1.17.0 The error appears after ~6 secs of trying to establish a connection

Steps to reproduce

  1. Open a desktop application
  2. Connect to the server

What did you expect to happen?

Successful connection

What actually happened?

No response

Outline Version

1.16.1 (487370), 1.17.0

What operation system are you using?

Windows

Operating System Version

11

Screenshots and Videos

No response

SButterfly avatar Sep 05 '25 05:09 SButterfly

same

ilyjekson avatar Sep 07 '25 09:09 ilyjekson

This seems to be a fairly generic error from not being able to reach the server. My problem turned out to be due to ddclient getting broken by cloudflare headers and setting my dynamic DNS to 1.0.1.1.

vinc3m1 avatar Sep 11 '25 06:09 vinc3m1

The same on Win11. Mobile devices worked well

mason1002 avatar Sep 15 '25 14:09 mason1002

Thanks for the report. To help us troubleshoot, could you please provide some more information?

  1. Are the network environments for your mobile and Windows devices the same (e.g., using the same Wi-Fi network)?
  2. Is the access key you are using a dynamic key or a static key?
  3. Does the access key use the server's hostname or its IP address? If it's using a hostname, could you try creating a new key with the server's IP address directly and see if that resolves the issue?

jyyi1 avatar Sep 15 '25 20:09 jyyi1

One of my friends also encountered this problem, probably due to the blocking of the provider. Since the same key works with mobile communications.

LKirillK avatar Sep 26 '25 16:09 LKirillK

I use this prefix, but it doesn't work for a friend. prefix=POST%20

LKirillK avatar Sep 26 '25 16:09 LKirillK

Prefixes from here don't work for a friend https://developers.google.com/outline/docs/guides/service-providers/prefixing?hl=ru

LKirillK avatar Sep 26 '25 16:09 LKirillK

Thanks for the report. To help us troubleshoot, could you please provide some more information?

  1. Are the network environments for your mobile and Windows devices the same (e.g., using the same Wi-Fi network)?
  2. Is the access key you are using a dynamic key or a static key?
  3. Does the access key use the server's hostname or its IP address? If it's using a hostname, could you try creating a new key with the server's IP address directly and see if that resolves the issue?
  1. the same Wi-Fi network.
  2. a static key
  3. Using IP address

I tried creating a new access key, and it worked!

mason1002 avatar Sep 28 '25 06:09 mason1002

Thanks, @mason1002 , for confirming that creating a new access key solved the issue for you! This is a very helpful finding.

@SButterfly @LKirillK @ilyjekson , could you please also try creating a new access key on your Outline Manager and see if that resolves the connection problem on your Windows devices?

jyyi1 avatar Oct 10 '25 22:10 jyyi1

@jyyi1 It helped, but the solution looks strange and I think the problem will occur again after a while. I will write if the problem occurs again.

LKirillK avatar Oct 11 '25 22:10 LKirillK

I've encountered this bug again, but now I just turned off and turned on the key in my control panel. The bug occurs when the client's traffic limit is manually reset. The bug is strange, it only occurs on my friend's PC (he also doesn't have the vless protocol working) and probably isn't an outline problem. I use 3X-UI.

LKirillK avatar Oct 12 '25 18:10 LKirillK

@LKirillK Thanks for the update. You're probably right, it's likely a network configuration issue on your friend's end, especially since other protocols are also failing.

jyyi1 avatar Oct 13 '25 23:10 jyyi1

Just restart.

sasm110313 avatar Nov 18 '25 09:11 sasm110313