-
Notifications
You must be signed in to change notification settings - Fork 7
API change #20
Comments
Actually Car-Net is migrating to We Connect. On the Web maintenance time is up to 8th Juli 23:59. Let's see if API is available afterwards. Otherwise we need to know the changes by We Connect.... |
Is it working for you again? |
Have the same error since 8th July. I have the following error in the log - and username + password are correct:
Is there any solution for this problem? |
The endpoints and behaviors outlined in this git are working for me today, as a United States customer of Car-Net. But I'm not sure if this works for customers in other regions: https://github.com/thomasesmith/vw-car-net-api |
Have you been able to use your car-net app through mitmproxy? At least with the myAudi App it is not working due to the SSL pinning feature I guess... I just get a Network Error message while using the proxy even if most of the other websites and apps are working! So I fear they implemented their CA hardcoded into the app.. |
Yes, the Car-Net mobile app connects fine when connecting through an mitm proxy. At least the U.S. iOS app does. I can't speak for other versions/markets though. |
I was able to connect via mitmproxy on my old Android phone with an xposed module which disables the ssl pinning :) Now I can see the requests and auth token of the myaudi app! |
I tried to connect via url https://cns.vw.com/mps/v1/login but the only answer it got is: 504 Gateway Time-outThe server didn't respond in time. Sadly it's not that easy to login via App system... |
This is how it behaves if you try to load the url in a browser. Is that what you're attempting? This URL is an API endpoint that expects a JSON payload in the body of the request and a particular header. It will always respond 504 when you try to simply load the URL in a browser. |
Yes, I know that is an API |
Okay, good yeah, I just wanted to be sure there wasn't a misunderstanding. Weird, I am connecting fine to that endpoint from USA. But I just changed my workstations VPN to connect to a server in Germany (where GitHub tells me you are located) and then tried again and I now get 504 responses back from it too. Make of that what you will. |
Yes, I'm located in Germany. So there's a geofance probably. I also tried the american login screen and my credentials are not working. |
I am currently working on fixing the API change at least for the Audi part. I am again able to login and receive the information about my car.
Any idea from someone? BTW: I am willing to help with VW as well, but I can´t test with my own car. So I can just offer to work together with a EU VW customer! |
Did you manage to login by the App API or by web API? If App API it would be great to share this code to be able to make the carnet adapter work again. |
I was able to decrypt the API calls of the myAudi app via mitmproxy and an unlocked Android phone with xposed and a module to disable ssl pinning. So I use the App API for my calls!
|
I tried the audi connect with my E-Golf but then I get "invalid credentials"... |
Not a problem at all! I can at least try :)
Everything is prepared already so if you provide credentials I can test it with my setup and give you the API Calls!
Just send me a mail to massa [at] partyheld de
|
Any idea on this is still highly appreciated! Feel free to contact me at "massa [at] partyheld de" |
New informations on logging into new We Connect. @massa007 helped me by logging login procedure of We Connect app via mitmproxy. Here are my conclusions Start login via GET With this you can proceed to send userid via GET Next is a POST to Here starts my problem... how to get hmac and _csrf? I see some additional values like nonce and challenge being passed, but how to get hmac and _csrf? In the weblogin they are part of some forms data presented by VW but here? Any help is appreciated to continue mods for We Connect... |
Solution is found with this adapter: https://github.com/TA2k/ioBroker.vw-weconnect/ |
Making a request like this curl -X POST |
Can you still decrypt API calls from myAudi? I have no unlocked device to escape the SSL Pinning. |
Didn‘t try since the day I posted that ^^ Do you need anything?
… Am 12.05.2020 um 14:15 schrieb Mr-Staffman ***@***.***>:
I was able to decrypt the API calls of the myAudi app via mitmproxy and an unlocked Android phone with xposed and a module to disable ssl pinning. So I use the App API for my calls!
E.g. this is the access_token call for Audi:
curl \
-H "Accept:application/json" \
-H "Content-Type:application/x-www-form-urlencoded" \
-d "username=USER&password=PASSWORD#&scope=openid profile email mbb offline_access mbbuserid myaudi selfservice:read selfservice:write&client_id=mmiconnect_android&grant_type=password" \
-X POST https://id.audi.com/v1/token
Can you still decrypt API calls from myAudi? I have no unlocked device to escape the SSL Pinning.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Maybe if I add you as a user of my car and and you can help me? Please reply on gmail staffan.spjuth |
Hi all, I'm trying to use carnet with German login. It seems the carnet API has the same structure as the audi API. While Audi is working for me, carnet doesn't authenticate. Am I right assuming that carnet is no longer functional and you are in the process of deciphering weconnect? |
It seems VW changed something today. It's not working anymore.
The text was updated successfully, but these errors were encountered: