Question Teredo keeps going offline, how do I keep my sanity and fix it at the same time?

Mantha065

Reputable
Feb 5, 2016
23
0
4,510
Teredo is from hell.

When it's working, in the command prompt its state looks fine:

netsh interface teredo>show state
Teredo Parameters
---------------------------------------------
Type : client
Server Name : win1710.ipv6.microsoft.com.
Client Refresh Interval : 20 seconds
Client Port : unspecified
State : qualified
Client Type : teredo client
Network : unmanaged
NAT : cone
NAT Special Behaviour : UPNP: Yes, PortPreserving: Yes
Local Mapping : -omitted-
External NAT Mapping : -omitted-


After five minutes or so, it will disconnect, and show this:

netsh interface teredo>show state
Teredo Parameters
---------------------------------------------
Type : client
Server Name : win1710.ipv6.microsoft.com.
Client Refresh Interval : 20 seconds
Client Port : unspecified
State : probe (primary server)
Client Type : teredo client
Network : unmanaged


I'll restart it by typing "netsh interface teredo>set state type=client", and after a minute or two it will work again...only to disconnect once more. And so goes the maddening cycle.

Now, I've had issues with Teredo ever since I started trying to play Forza Horizon 4 online with my friends a week ago. A few nights ago I pulled an all-nighter, absolutely scouring the internet for any and all solutions, and somehow managed to get it reliably, stably working. Three days later, Teredo spits in my face and refuses to work again for no apparent reason. I have tried every single solution on the official Microsoft "Teredo is unable to qualify- solutions" page, as well as using the Group Policy editor (after enabling it) and attempting to re-install it. Originally, the Group Policy editor method was as far as I know what made it work for three days, but after making sure the Group Policies haven't changed, I'm left empty-handed.

You have no idea how much of a titanic literal headache this has been for me. My friends have no issues with their connections, but as fate would have it, I do. I've posted on reddit to no avail, I've posted on the Xbox Live forums to no avail, and I have no reliable community left to call upon except for good ol' Tom's Hardware. Please stop me from going insane.
 

Ralston18

Titan
Moderator
Verify: Teredo did work without problems until you tried playing Forza Horizon 4 - correct?

I noted the "State": Qualified vs Probe (primary server)

Seems to be a good clue as to the source of the problem.

Some googling led me to the following links:

https://www.drivereasy.com/knowledge/teredo-is-unable-to-qualify-xbox-window-10-solved/

Use the above link as a reference/troubleshooting guide. Skip the Driver Easy downloads.

https://xbox-forums.com/threads/teredo-error-primary-teredo-server-unreachable-over-udp.283910/

Note the response by XBF Amber M.
 

Mantha065

Reputable
Feb 5, 2016
23
0
4,510
I had never played any games that used Xbox Live services until playing Forza Horizon 4, so I don't know if it was ever working before then. This is the first time I've had to interact with Teredo.

I tried the fixes in the Driver Easy guide. IP Helper was already set to automatic and is running, I set the server name to default yesterday, and I reinstalled Teredo the night I managed to get it working. However, when I open the Windows\System32\drivers\etc\hosts file, I get a text document stating "This is a sample HOSTS file used by Microsoft TCP/IP for Windows", and the rest of it seems to just describe what an actual hosts file would do. Unless that was the correct file, then I was unable to check for unnecessary entries.

I'll try reinstalling Teredo once more, for good measure.

I saw the response by XBF Amber M, and I'm mostly certain that my router isn't blocking Teredo or the ports it requires, given that I had a working connection for a few days without any major issues. Unfortunately, I can't check for certain because I don't know the username/password to routerlogin.net (they were changed from the defaults a couple years ago and nobody remembers them anymore. I'd have to learn how to reset the router or something.)

Meanwhile, netsh int teredo show state gives me this now, for no apparent reason. I haven't even done anything to actually fix it yet today:

C:\Windows\system32>netsh int teredo show state
Teredo Parameters
---------------------------------------------
Type : client
Server Name : win1710.ipv6.microsoft.com.
Client Refresh Interval : 20 seconds
Client Port : unspecified
State : offline
Error : primary teredo server unreachable over UDP

I did check it once before that and it gave me the usual result in the original post, so it appears to have simply decided to go offline.


EDIT: I couldn't find Teredo Tunneling Adapter in the Device Manager (with show hidden devices on), nor can I find it in Add Legacy Hardware. However, Teredo Pseudo Interface is listed as a currently installed device under Network Adapters.

DOUBLE EDIT: (this reply is getting quite long, sorry lol) I tried disabling/renabling it again just to see if anything changed, and in the moment immediately after it inevitably loses connection, I get the error "unable to maintain contact with primary server over UDP" (and then it goes back to "primary server unreachable") if that adds any valuable information.
 
Last edited: