<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>I've been working on a weird problem with a Tesla in Guam. Yep, they have Teslas in Guam, apparently.</div><div><br></div><div>Anyway, the problem is the user gets weird app behavior with the car disconnected a lot of the time.</div><div><br></div><div>A lot of hunting later, and I find his car reconnects regularly every ten minutes. The old connection is still open to the server (not torn down), and a new connection appears almost exactly ten minutes after the first one. Not an issue for the server (as it interprets that correctly and kicks off the first connection), but uses up bandwidth anyway and means the car is often disconnected (especially if you contact the car in the top half of the ten minute window.</div><div><br></div><div>More hunting, and I find 2 others cars with similar behavior. I'm chasing down the owners to find what cellular provider they use to see if there is anything in common.</div><div><br></div><div>It seems that the cellular providers are killing the OVMS TCP/IP connection after ten minutes (or so).</div><div><br></div><div>A google search came up with this:</div><div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><a href="http://web.eecs.umich.edu/~zmao/Papers/netpiculet.pdf">http://web.eecs.umich.edu/~zmao/Papers/netpiculet.pdf</a></div><div>(search for "10 minutes" in the document to find the relevant comment)</div></blockquote><br><div>This seems really dumb, but possible I guess.</div><div><br></div><div>The solution is to be PING the car from the server, more frequently, but I hate using more bandwidth. Perhaps I can come up with an adaptive algorithm to do this only for cars that connect without disconnection of the previous connection a lot.</div><div><br></div><div>Anyone heard of this?</div><div><br></div><div>Regards, Mark.</div><div><br></div></body></html>