Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Traceback after filling out SMS code, plus {'err': 'NOK:SN'} #1205

@sanderjo

Description

@sanderjo

Not in the FAQ

Describe the bug

After filling out the OAuth code, on the OTP page I request the SMS code, which I receive. However, after filling it out, I get {'err': 'NOK:SN'} in the GUI, plus a traceback.

2026-04-27 19:32:22,111 :: ERROR :: finishOtp:
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/psa_car_controller/web/view/config_views.py", line 174, in finishOtp
    otp_session = new_otp_session(sms_code, code_pin, app.myp.remote_client.otp)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/psa_car_controller/psa/otp/otp.py", line 337, in new_otp_session
    if otp.activation_start():
       ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/psa_car_controller/psa/otp/otp.py", line 194, in activation_start
    raise ConfigException(xml)
psa_car_controller.psa.otp.otp.ConfigException: {'err': 'NOK:SN'}
2026-04-27 19:32:22,112 :: INFO :: 172.17.0.1 - - [27/Apr/2026 19:32:22] "POST /_dash-update-component HTTP/1.1" 200 -

Image

To Reproduce
Steps to reproduce the behavior:

  1. what command did you use. => See above
  2. when the bug append ? => "Append"? Or "happen"? See above.
  3. Does it persist after restarting the program? => Yes
  4. Does it persist after recreate config by going to http://server_address:port/config?
    Config file
    Give the anonymize content of the config file

Environment (please complete the following information):

  • OS: [e.g. Windows] => Docker, in Linux
  • Brand and model of car. => Peugeot e208
  • Application version (commit number, branch or tag) => App version 3.6.3
  • Log from http://server_address:port/log and browser console log => See traceback aboven

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions