Welcome to Tesla Motors Club
Discuss Tesla's Model S, Model 3, Model X, Model Y, Cybertruck, Roadster and More.
Register

Wifi

This site may earn commission on affiliate links.
This is going to be a long post but it contains a lot of information (and background) about what I have found, and how I have specifically resolved, the so-called "WiFi connectivity" issue with my Tesla.


Moderator comment - to avoid cross posting, you can continue to view the original text at its new location:

 
Last edited by a moderator:
  • Like
Reactions: candida
This is going to be a long post but it contains a lot of information (and background) about what I have found, and how I have specifically resolved, the so-called "WiFi connectivity" issue with my Tesla. I have been a certified Network Engineer (CNE, MCSE) building and managing networks since the early 1980's. Fortunately I have enough tools (software), and understand how to use them, in order for me to identify and resolve this issue I was having. I'm also lucky my network equipment (Access Points and Routers) are robust enough to be able to provide me the data needed to identify the very specific source of issues which was causing me "WiFi" connectivity issues (and maybe the same as others are having as well). I'll try to be brief and precise but this story bears some background discussion. So here goes...

First: Tesla should be ashamed. The issues many of us are seeing are due to lazy network programming. Additionally, this is not a "WiFi" issue as many have surmised (simply cause the car connects via WiFi), it is a security issue. To make matters worse, the error message the car presents ("Can't connect to WiFi because it doesn't support a login page") is completely inaccurate and misleading. This is not a "WiFi" problem...

How I got here: I brought in my 2016 Model X for an MCU "upgrade" last week. Not because I really wanted one, but because it was the only way I could get the eMMC recall issue mitigated. Our SiriusXM function kept disappearing and I was told it was because of eMMC corruption. I have been waiting for that recall for about a year and a half now (and experiencing continued problems) but was told they simply could not do the recall beacuse of the "chip shortage". However, it seems if you are willing to cough up $2000 (MCU + Radio) they don't have any problems getting chips! Its like magic! Its only if you want Tesla to honor their recall at THEIR expense that there seems to be a shortage. ANYWAY... The original MCU had no problems connecting to my network but the very next day when we brought the car home from service, the new MCU refused to connect. Same network, very next day, different MCU. So now I paid $2000 for this "upgrade" and my car is complaining that it "can't connect to my network"!

I'm not going to go through the run-around I got from service in trying to address this problem (I had to solve it myself), but here is the gist of things:

1. Here is the error message which the car reports after I provide it a valid SSID and PWD:

Could Not Join {SSID}

This network tried to present a login page which
may require authentication, payment or
acceptance of terms and conditions which is not
currently supported.

2. This is a misleading message. The car actually WAS "joining" my network just fine!

3. After getting the MAC address for the WiFi NIC in my car (from the console), I downloaded the transaction logs from my WiFi access points (Ubiquiti) and saw nothing odd in the transactions when the car tried to connect. According to the AP's everything looked fine and the car WAS connecting...

4. Furthermore, I checked my DHCP server and I saw that an IP Address was being issued to the car. So the car WAS connecting to the WiFi Network and it WAS getting an IP Address on the network. (So much for the erroneous error message). The car WAS talking on the network. So what was it saying?

5. So, now I set up a packet capture on both the inside interface and the outside interface on my router/firewall. I ran the WiFi connection exercise again from inside the car and and asked for all the packets to be captured as the conversation passed through my router (Watchguard M370).

6. The car was making an HTML page request to "connman.vn.tesla.services" (Cloudfront) and it was getting a single reply back. I compared the packets on both sides of the router/firewall, loaded both sets of captures into WireShark, and noticed the HTML reply being sent back was being filtered as it passed through my firewall.

7. The HTML reply from Tesla (back to the car) contained four HTML headers which were being stripped out by my router: X-ConnMan, X-Cache, X-Amz-Cf-Pop, and X-Amz-CF-Id. The car was getting a reply to its query, except those four headers (but not others) was being stripped out. Apparently the car didn't like this so it simply gave up and posted a misleading and inaccurate error message. So, why was the HTTP proxy on my firewall filtering the reply?

8. According to the Internet Engineering Task Force (IETF) in RFC6648, the use of "X-" HTML headers was deprecated back in 2012! These were being stripped by default in my router/firewall's HTTP proxy by default for security reasons.

rfc6648

Why we need to deprecate x prefix for HTTP headers?

*** So the router/firewall was doing EXACTLY what it was supposed to do but unfortunately Tesla listens to nobody and decided to go their own way on this. Its also unfortunate that many folks are referring this to a WiFi problem, when in fact, it is more specifically a router/firewall issue. ...and its being doen for YOUR protection. I guess it doesn't help that many folks have their WiFi Access Point and Router built into the same piece of equipment. But, it it IS a security issue, and this is TESLA's FAULT.

9. So I set up a packet filter (wide open) for the IP being assigned to my Model X so it didn't get subject to all that pesky security nonsense being imposed on all the other devices on my network which use HTML just fine. Basically, punching a hole in my router, just for my MX, solved the problem! Nice, huh?

10. After confirming this, I created a separate/dedicated HTML Proxy rule just for use by the IP assigned to my Model X (which provides no HTML Header Filtering at all). At least this gives me some level of protection rather than leaving that hole wide open (despite the Tesla Network Engineers). I'm lucky my equipment provides me the ability to diagnose these types of issues and also the granularity to address them. But what does Tesla expect the average consumer do? ...Turn off all the security on their network (cause they may not have the granularity of control to mitigate this on an individual IP or service basis)? ...or simply keep trying new network equipment until they find one "unsophisticated" enough that it doesn't provide this level of security protection at all?

The original MCU and the new MCU obviously behave differently. I had no issues with the original one yet the new one was violating the default policy established on my router. So, something has changed in the way their network protocols are functioning (or not) between the two devices. Needless to say, no one at Tesla has replied to tell me what changed in their protocols/services between the two MCU's.

Although my Service Center said they forwarded my findings on to Tesla, its not likely they are going to step up and tell everyone about how they are ignoring RFC6648. ...and what do you think the odds are that they will fix it? However, if you are having issues with "WiFi connectivity" and your Tesla, its likely because the device at the boundary of your network is doing the job it was originally designed to do.
Thanks for taking the time to do this, I'm in awe of your expertise... Does this explain why my car instantly glomms on to the service network (not the guest network) at an SC AND why mere mortals don't see the service network - because it's had the hole punched out of it they hide it from the world but the cars can see it?
And how does it explain why my car doesn't see any network except my phone when I'm hotspotting actually from inside?
 
Same wifi issues seem to be popping up in 2022. We have a wifi access point in our garage, newly installed for the car. We thought it had connected for the first update but didn't complete it so I have finished it off through hotspotting on my phone. It may be that it commenced the download the first time we charged after getting off the boat.

I did visit a local SC but didn't catch any WiFi signal (I wasn't charging as I was at 73%) - I think I was being a numpty - do you have to be charging at the SC to see the Guest wifi network?

From previous post I am following up on interrogating my router to confirm that the car had connected to the garage AP. Any other suggestions?
 
I have never seen any guest wifi at superchargers. I'm not saying that they are not there, but never seen the car connect to one whilst supercharging and certainly do not show up as a visible SSID.

Possibly some confusion with the term SC meaning Service Centre and being interchangeably used with Supercharger (often referred to as SuC)?

Certainly many have successfully connected to wifi at Service Centres, but not sure if they needed to be within a service window - I suspect not from some of the US comments, but things do differ in different regions.
 
I have never seen any guest wifi at superchargers. I'm not saying that they are not there, but never seen the car connect to one whilst supercharging and certainly do not show up as a visible SSID.

Possibly some confusion with the term SC meaning Service Centre and being interchangeably used with Supercharger (often referred to as SuC)?

Certainly many have successfully connected to wifi at Service Centres, but not sure if they needed to be within a service window - I suspect not from some of the US comments, but things do differ in different regions.
Last time I was at a Service Centre there was a visible guest SSID. I have been told there's an invisible one that cars being serviced glom onto.

I've given up trying to use any wifi except my phone inside the car.
 
Thanks everybody. That clears it up on the S Charger point anyway.

I tried front end into the garage after doing an update from my phone hotspot and I was able to browse. But only God knows whether that was associated with changing my text language to German, correcting my ability to log in to my Tesla account, getting the latest update or rearranging the car.

I won't know till the next update comes along or I log onto my router ....maybe the wind changed or something.
 
  • Funny
Reactions: candida
A huge thank you to Evanevery. We now have connectivity to the Tesla from the AP in the garage. I did have to call in the chap who set up our network as he had to look at the setup and individual APs but it was an easier solution than expected.[/b][/QUOTE]