reneboer / python-carnet-client

python script that emulated the VW WE Connect (formerly CarNet) web site
GNU General Public License v3.0
21 stars 9 forks source link

Issue: Unable to get past error: Failed to post portlet page. #18

Closed m0rt3nlund closed 5 years ago

m0rt3nlund commented 5 years ago

Hi!

Does anyone know why my application stops at "Failed to post portlet page"?

I enabled debugging and this is the reply:

reply: 'HTTP/1.1 200 OK\r\n'
header: Date: Mon, 02 Sep 2019 12:15:04 GMT
header: Server: Apache
header: X-Environment: neo-http-4
header: Strict-Transport-Security: max-age=31536000; includeSubDomains
header: X-Content-Type-Options: nosniff
header: X-Frame-Options: SAMEORIGIN
header: X-XSS-Protection: 1; mode=block
header: Expires: Thu, 01 Jan 1970 00:00:00 GMT
header: Cache-Control: private, no-cache, no-store, must-revalidate
header: Pragma: no-cache
header: Vary: Accept-Encoding,User-Agent
header: Content-Encoding: gzip
header: Content-Length: 9751
header: Content-Type: text/html;charset=UTF-8
DEBUG:requests.packages.urllib3.connectionpool:https://www.portal.volkswagen-we.com:443 "POST /portal/web/guest/complete-login?p_auth=uq2L0Xel&p_p_id=33_WAR_cored5portlet&p_p_lifecycle=1&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1&_33_WAR_cored5portlet_javax.portlet.action=getLoginStatus HTTP/1.1" 200 9751
reneboer commented 5 years ago

Hi, I assume you can logon to the portal using a browser just fine? No portal down, in maintenance or other messages? On that step, step 7, you should get a 302 redirect as return with a redirect to /portal/delegate/dashboard/.

m0rt3nlund commented 5 years ago

Yes, login using the browser works! And today script worked as well, i think until I login using the browser again, or maybe the app, then it stopped working with the same error again.. Cookies or something in python not being cleared?

m0rt3nlund commented 5 years ago

I used wrong username and password...