Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login error even with confirmed accurate login credentials and Nissan servers functioning. #58

Open
jenny-lynn-ax opened this issue Jun 3, 2023 · 0 comments
Assignees

Comments

@jenny-lynn-ax
Copy link

jenny-lynn-ax commented Jun 3, 2023

Describe the bug
When starting the addon, log shows WARNING: 2023-06-03 11:23:09.031345: main: An error occured while logging in. Please make sure you have selected the right LEAF_TYPE, LEAF_USERNAME and LEAF_PASSWORD. even though I've confirmed login credentials are indeed accurate. Log output below.

LEAF_TYPE
Newer Than May 2019

Expected behavior
Expected successful login.

WARNING: 2023-06-03 11:30:14.815534: main: An error occured while logging in. Please make sure you have selected the right > > LEAF_TYPE, LEAF_USERNAME and LEAF_PASSWORD. Retrying in 5 seconds.
FINE: 2023-06-03 11:30:14.816528: main: NoSuchMethodError: The method '[]' was called on null.
Receiver: null
Tried calling: []("realm"
FINE: 2023-06-03 11:30:14.817724: main: #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:38)
#1 _objectNoSuchMethod (dart:core-patch/object_patch.dart:85)
#2 NissanConnectSession.login (package:dartnissanconnect/src/nissanconnect_session.dart:299)
asynchronous suspension>
#3 NissanConnectSessionWrapper.login (file:///app/src/leaf/nissan_connect_wrapper.dart:21)
asynchronous suspension>
#4 _login (file:///app/src/leaf_2_mqtt.dart:87)
asynchronous suspension>
#5 main (file:///app/src/leaf_2_mqtt.dart:63)

WARNING: 2023-06-03 11:30:14.827515: main: Could not execute request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants