Open TTimo opened 8 years ago
I also get this exact error.
If I patch up the code to skip the unknown forms rather than abort, I get an endless loop of
skip unknown form type: frm
skip unknown form type: frmwelcome
skip unknown form type: frmcompat
skip unknown form type: frm
[..]
The first form to fail looks like this:
<frm GET https://[VPNHOST]/dana-na/auth/remediate.cgi application/x-www-form-urlencoded
<HiddenControl(action=) (readonly)>
<HiddenControl(signinId=url_0) (readonly)>
<HiddenControl(realmId=) (readonly)>
<HiddenControl(executedStep=preauth) (readonly)>
<HiddenControl(stateId=) (readonly)>
<HiddenControl(p=) (readonly)>
<HiddenControl(showContinue=1) (readonly)>
<HiddenControl(showRemedOption=0) (readonly)>
<HiddenControl(hostcheckTS=) (readonly)>
<HiddenControl(totalseconds=) (readonly)>
<HiddenControl(executedAction=) (readonly)>>
I see 'preauth' .. is that step screwing me up?
There is a commit in one of the forks that fixes this. https://github.com/pavelkogan/juniper-vpn-py/commit/ee20a42a64526981d5581e50677bb864095f8ab9
I am getting the following error when running the script, any suggestions?