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

Initial setup fails with no error (crash!) #1014

Open
stefankoehne opened this issue Dec 28, 2024 · 1 comment
Open

Initial setup fails with no error (crash!) #1014

stefankoehne opened this issue Dec 28, 2024 · 1 comment

Comments

@stefankoehne
Copy link

Describe the bug
After a few weeks I am logged out again but can not set the addon up again. When I submit the "User config"-Page, the loading-circle shows up and disappears after a few seconds. Sometimes Home Assistant crashes, sometimes the addon crashes, sometimes nothing happens.
Logfile sais:
2024-12-28 11:39:23,293 :: INFO :: Initial setup...&br;
/init.sh: line 5: 9 Killed psa-car-controller $ARGS

As described, sometimes the addon does a reboot after submitting:
Containerised psa_car_controller loading...&br;
2024-12-28 11:39:45,623 :: INFO :: App version 3.5.3&br;
2024-12-28 11:39:46,739 :: ERROR :: Please reconnect by going to config web page&br;
2024-12-28 11:39:46,743 :: INFO :: save config change&br;
2024-12-28 11:39:46,752 :: WARNING :: Can't get language&br;
2024-12-28 11:39:51,123 :: INFO :: update_data&br;
2024-12-28 11:39:51,161 :: INFO :: * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)&br;

To Reproduce
Steps to reproduce the behavior:

  1. form filled out on the "User config" page
  2. submit

Normally you will receive a confirmation that you can continue with the OTP config. But nothing happens for me.

Config file
What exactly is needed here?

Environment (please complete the following information):

  • OS: Home Assistant OS
  • Peugeot e208
  • Application version 3.5.3
  • Log from http://server_address:port/log: see above
Browser console log
dash_renderer.min.js:2 
    POST http://homeassistant:8123/api/hassio_ingress/eked8Lht46kGuJ_uf8cukAQPCtBikkWoaoqX7r173TM/_dash-update-component 502 (Bad Gateway)
g @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
Va @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
f @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
f @ dash_renderer.min.js:2
P @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
ya @ dash_renderer.min.js:2
a @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
Xa @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
Xt @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
e @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
f @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
nc @ dash_renderer.min.js:2
a @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
p @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
f @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
Ec @ dash_renderer.min.js:2
a @ dash_renderer.min.js:2
Promise.then
Ec @ dash_renderer.min.js:2
a @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
p @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
dispatch @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
f @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
Ai @ dash_renderer.min.js:2
a @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
dispatch @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
Qh @ react-dom.production.min.js:146
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
value @ dash_renderer.min.js:2
O.<computed> @ dash_bootstrap_components.min.js:2
ki @ react-dom.production.min.js:176
ji @ react-dom.production.min.js:13
mi @ react-dom.production.min.js:13
lf @ react-dom.production.min.js:13
wi @ react-dom.production.min.js:187
Kd @ react-dom.production.min.js:32
pc @ react-dom.production.min.js:32
Wf @ react-dom.production.min.js:34
(anonymous) @ react-dom.production.min.js:236
uf @ react-dom.production.min.js:15
Qd @ react-dom.production.min.js:42
sc @ react-dom.production.min.js:41
unstable_runWithPriority @ react.production.min.js:25
Da @ react-dom.production.min.js:60
mk.Events.current @ react-dom.production.min.js:236
Ei @ react-dom.production.min.js:41
dash_renderer.min.js:2 {message: 'Callback error updating form_result.children', html: '502: Bad Gateway'}html: "502: Bad Gateway"message: "Callback error updating form_result.children"[[Prototype]]: Objectconstructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()__defineGetter__: ƒ __defineGetter__()__defineSetter__: ƒ __defineSetter__()__lookupGetter__: ƒ __lookupGetter__()__lookupSetter__: ƒ __lookupSetter__()__proto__: (...)get __proto__: ƒ __proto__()set __proto__: ƒ __proto__()
Eo @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
p @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
Promise.then
Ji @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
observer @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
p @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
f @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
Du @ dash_renderer.min.js:2
a @ dash_renderer.min.js:2
Promise.then
Du @ dash_renderer.min.js:2
a @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
observer @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
p @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
f @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
nc @ dash_renderer.min.js:2
a @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
p @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
f @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
Ec @ dash_renderer.min.js:2
a @ dash_renderer.min.js:2
Promise.then
Ec @ dash_renderer.min.js:2
a @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
p @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
dispatch @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
f @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
Ai @ dash_renderer.min.js:2
a @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
dispatch @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
Qh @ react-dom.production.min.js:146
(anonymous) @ dash_renderer.min.js:2
(anonymous) @ dash_renderer.min.js:2
value @ dash_renderer.min.js:2
O.<computed> @ dash_bootstrap_components.min.js:2
ki @ react-dom.production.min.js:176
ji @ react-dom.production.min.js:13
mi @ react-dom.production.min.js:13
lf @ react-dom.production.min.js:13
wi @ react-dom.production.min.js:187
Kd @ react-dom.production.min.js:32
pc @ react-dom.production.min.js:32
Wf @ react-dom.production.min.js:34
(anonymous) @ react-dom.production.min.js:236
uf @ react-dom.production.min.js:15
Qd @ react-dom.production.min.js:42
sc @ react-dom.production.min.js:41
unstable_runWithPriority @ react.production.min.js:25
Da @ react-dom.production.min.js:60
mk.Events.current @ react-dom.production.min.js:236
Ei @ react-dom.production.min.js:41
@stefankoehne
Copy link
Author

stefankoehne commented Dec 28, 2024

It worked about an hour later. So it was probably a PSA problem. Can be closed.
Maybe the error management can be improved a bit to be able to detect and display such errors

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

1 participant