jpasqua / VisibleTesla

Java App to monitor and Control the Tesla Model S
125 stars 41 forks source link

Cannot log in from UK #99

Open wocsnia opened 9 years ago

wocsnia commented 9 years ago

Currently I cannot log in from the UK, with my new (v6.0) Tesla Model S 60, using either 0.28.* or 0.29.0.

I have confirmed that I am using the same login details that I use with the Tesla android/iphone apps and with the teslamotors.com website.

I simply get the following error:

Dec 23, 2014 12:28:46 AM org.noroomattheinn.visibletesla.VTUtils logAppInfo
INFO: VisibleTesla: 0.29.00
Dec 23, 2014 12:28:46 AM org.noroomattheinn.visibletesla.VTUtils logAppInfo
INFO: Max memory: 1760mb
Dec 23, 2014 12:28:46 AM org.noroomattheinn.visibletesla.VTUtils logAppInfo
INFO: JVM Arguments
Dec 23, 2014 12:28:46 AM org.noroomattheinn.visibletesla.CommandIssuer run
WARNING: Failed command (org.noroomattheinn.visibletesla.LoginController$AttemptLogin@78b9e139): 
Dec 23, 2014 12:28:59 AM org.noroomattheinn.tesla.Tesla login
SEVERE: null
java.io.IOException: Error while reading from POST: [500] Internal Server Error



  We're sorry, but something went wrong (500)
  



  
  

We're sorry, but something went wrong.

We've been notified about this issue and we'll take a look at it shortly.

at us.monoid.web.AbstractResource.fill(AbstractResource.java:51) at us.monoid.web.Resty.fillResourceFromURL(Resty.java:432) at us.monoid.web.Resty.doPOSTOrPUT(Resty.java:394) at us.monoid.web.Resty.text(Resty.java:258) at us.monoid.web.Resty.text(Resty.java:284) at org.noroomattheinn.utils.RestyWrapper.text(RestyWrapper.java:107) at org.noroomattheinn.tesla.Tesla.login(Tesla.java:148) at org.noroomattheinn.tesla.Tesla.connect(Tesla.java:191) at org.noroomattheinn.visibletesla.LoginController$AttemptLogin.call(LoginController.java:201) at org.noroomattheinn.visibletesla.LoginController$AttemptLogin.call(LoginController.java:187) at org.noroomattheinn.visibletesla.CommandIssuer.run(CommandIssuer.java:74) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: https://portal.vn.teslamotors.com/login at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source) at us.monoid.web.AbstractResource.fill(AbstractResource.java:30) ... 11 more Dec 23, 2014 12:28:59 AM org.noroomattheinn.visibletesla.CommandIssuer run WARNING: Failed command (org.noroomattheinn.visibletesla.LoginController$AttemptLogin@2e29036b):

I have, unfortunately, been unable to get the latest git extract to work (Unfortunately, I am not familiar with ant and packaging java from git clones).

Any help appreciated - app looks awesome!

Daduck commented 9 years ago

I can confirm this behavior. Version 6 on Tesla, 0.29 VisTesla

jpasqua commented 9 years ago

Please see: http://www.teslamotorsclub.com/showthread.php/19975-VisibleTesla?p=848346&viewfull=1#post848346

It is likely that more and more people will not be able to log in as Tesla moves people over to it's new servers.

jpasqua commented 9 years ago

This is addressed in versions beyond 0.30.00, but they are "developer only" releases as described in the thread listed above.

geirgp commented 9 years ago

"developer only" as in "you have to build manually from source" ?

jpasqua commented 9 years ago

Yes, as in you need to build it yourself. I am making a prebuilt version for limited testing to see whether other people will be throttled. The answer is yes. Using this new version of VT with any regularity (which is the whole point) will cause you to be throttled at some point and will impact the operation of your mobile app as well.