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

Authentication failed - since last update #50

Open
AzraelsDisk opened this issue Jun 18, 2024 · 8 comments
Open

Authentication failed - since last update #50

AzraelsDisk opened this issue Jun 18, 2024 · 8 comments

Comments

@AzraelsDisk
Copy link

Watchdog updated today to :last version - since this update I got the following error
Running it on --online mode

Not sure if it is a problem of Zendure MQTT?

2024-06-18` 20:33:47,860:INFO: Authenticating with Zendure ...
2024-06-18 20:33:48,922:ERROR: Authentication failed!
2024-06-18 20:33:48,927:ERROR:
MethodNotAllowedThe specified method is not allowed against this resource.POSTOBJECTSYAQ6VTNBZ9RXTY5k0UAFKEhWaF62XS07bQw01YRJSEkMNWIpNQTERTPScRjjEwaqfVMc938NRmfxOxbJQrF6qqRIlg=
2024-06-18 20:33:48,927:INFO: Getting device list ...
2024-06-18 20:33:49,733:ERROR: Fetching device list failed!
2024-06-18 20:33:49,737:ERROR:
MethodNotAllowedThe specified method is not allowed against this resource.POSTOBJECTWTE5VJHTJ9PJ0BXCa0Kfsh7bbiOOiRHLKMpH3dhhESVSFZzNBM7Cj53xNZdGwGBdqGYZZesAI3Q3RdLivfTuhTLUAiM=
2024-06-18 20:33:49,737:ERROR: Connecting to Zendure's MQTT broker failed!
Traceback (most recent call last):
File "//solarflow-status.py", line 311, in zendure_mqtt_background_task
auth = get_auth()
File "//solarflow-status.py", line 298, in get_auth
devices = api.get_device_ids()
File "/zenapi/ZendureAPI.py", line 102, in get_device_ids
for dev in devices:
TypeError: 'NoneType' object is not iterable

@z-master42
Copy link

Are you on the EU or the global server?

@reinhard-brandstaedter
Copy link
Owner

Interesting....nothing has changed in regards to the ZendureAPI.

@reinhard-brandstaedter
Copy link
Owner

Oh well this change indeed has now been built into the image.
So that change seems to break something.

@AzraelsDisk
Copy link
Author

AzraelsDisk commented Jun 19, 2024 via email

@AzraelsDisk
Copy link
Author

I have redeployed version 0.19 and its working proper - was there a change in the configfile?

@reinhard-brandstaedter
Copy link
Owner

I believe @jvinkovic 's cjange regarding the EU API broke things. Has the EU/Global API really the same endpoint "v2" now?

@z-master42
Copy link

z-master42 commented Jun 22, 2024

No, they are still v2 and eu. His approach was to remove the SF_API_VERSION and specify the entire server via ZEN_API. However, something still doesn't seem to fit, or there seem to be unused components in the code.

@AzraelsDisk
Copy link
Author

can I do anything to support you, do you need additional logfiles?

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

3 participants