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

Error after updating the IO Broker Script Host to version 5.0.12 #18

Open
Reinhard67 opened this issue Sep 18, 2023 · 5 comments
Open

Comments

@Reinhard67
Copy link

Hello,

after I updated the script host to version 5.0.12 today, the following errors occur:

psa.0 2023-09-18 21:04:28.486 warn {"code":"495","message":"Invalid or expired client certificate"}
psa.0 2023-09-18 21:04:28.486 warn receive new api failed
psa.0 2023-09-18 21:04:28.485 warn AxiosError: Request failed with status code 495
psa.0 2023-09-18 21:04:28.451 warn OldAPI Login failed, only relevant for non eletric cars
psa.0 2023-09-18 21:04:28.450 warn {"code":"495","message":"Invalid or expired client certificate"}
psa.0 2023-09-18 21:04:28.449 warn receive old api failed
psa.0 2023-09-18 21:04:28.448 warn AxiosError: Request failed with status code 495
psa.0 2023-09-18 21:04:27.914 info Login successful
psa.0 2023-09-18 21:04:24.522 info starting. Version 0.0.11 in /opt/iobroker/node_modules/iobroker.psa, node: v16.20.2, js-controller: 5.0.12

Plattform: linux
Betriebssystem: linux
Architektur: arm
CPUs: 4
Geschwindigkeit: 1800 MHz
Modell: unknown
RAM: 3.7 GB
System-Betriebszeit: 1 T. 02:36:38
Node.js: v16.20.2
time: 1695063645198
timeOffset: -120
NPM: 8.19.4
Adapter-Anzahl: 498
Datenträgergröße: 29.0 GB
Freier Festplattenspeicher: 22.4 GB
Aktive Instanzen: 12

Thanks for your help

Reinhard

@TA2k
Copy link
Owner

TA2k commented Sep 18, 2023

please test the github version

@Reinhard67
Copy link
Author

Ok, I have installed the adapter from GitHub but it is not listed in the instances.
The log file now contains the following error messages:

host.raspberrypi 2023-09-19 20:12:05.414 error system.adapter.psa.0 invalid mode
host.raspberrypi 2023-09-19 20:11:44.399 error system.adapter.psa.0 invalid mode
admin.0 2023-09-19 20:11:44.364 warn This object will not be created in future versions. Please report this to the developer.
admin.0 2023-09-19 20:11:44.363 warn Object system.adapter.psa.0 is invalid: obj.type has to exist

Here is the installation Log:
$ iobroker url https://github.com/TA2k/ioBroker.psa --host raspberrypi --debug
install TA2k/ioBroker.psa#984f09812aa7373ab0d6384eebdffe6660e888d2
NPM version: 8.19.4
Installing TA2k/ioBroker.psa#984f09812aa7373ab0d6384eebdffe6660e888d2... (System call)
npm WARN skipping integrity check for git dependency ssh://git@github.com/TA2k/ioBroker.psa.git
added 2 packages in 8s51 packages are looking for funding run npm fund for details
upload [4] psa.admin /opt/iobroker/node_modules/iobroker.psa/admin/admin.d.ts admin.d.ts video/mp2t
upload [3] psa.admin /opt/iobroker/node_modules/iobroker.psa/admin/index_m.html index_m.html text/html
upload [2] psa.admin /opt/iobroker/node_modules/iobroker.psa/admin/psa.png psa.png image/png
upload [1] psa.admin /opt/iobroker/node_modules/iobroker.psa/admin/style.css style.css text/css
upload [0] psa.admin /opt/iobroker/node_modules/iobroker.psa/admin/words.js words.js application/javascript
Screenshot 2023-09-19 202558
Process exited with code 0

@TA2k
Copy link
Owner

TA2k commented Sep 19, 2023

switch to beta repo and install the adapter normal way

@Reinhard67
Copy link
Author

Ok, I have now installed the adpater from beta repro and I got the following errors:

psa.0 2023-09-19 22:14:10.045 warn No Token received for old api
psa.0 2023-09-19 22:14:10.044 warn No account for this e-mail or password incorrect
psa.0 2023-09-19 22:14:10.043 warn {"returnCode":"NEED_CREATION"}
psa.0 2023-09-19 22:14:10.034 warn No Token received for old api
psa.0 2023-09-19 22:14:10.034 warn No account for this e-mail or password incorrect
psa.0 2023-09-19 22:14:10.033 warn {"returnCode":"NEED_CREATION"}
psa.0 2023-09-19 22:14:09.904 error Login failed
psa.0 2023-09-19 22:14:09.903 error {"error_description":"The provided access grant is invalid, expired, or revoked.","error":"invalid_grant"}
psa.0 2023-09-19 22:14:09.902 error Login failed
psa.0 2023-09-19 22:14:09.900 error AxiosError: Request failed with status code 400

@mcm1957
Copy link

mcm1957 commented Aug 3, 2024

Adapter has been removed from repository due to broken functionality.
See #23

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