Hi guys,
in the last couple of days I'm experiencing problems with app downloads. I get the error mentioned in the headline: "Failed to install the app". Checking with Firefox Tools - it seems the Z-Way app server is responding with response code 500 for internal server error.
Interestingly it seems that not all apps are affected, some can be downloaded without any problems, some were downloadable after multiple tries.
Any idea, help or advice?
Thank you very much!
Can't install apps: "Failed to install the app"
Re: Can't install apps: "Failed to install the app"
The log does not show any error messages or warnings. Just normal:
But in both cases the app will not install and it's showing the "Failed to install the app" Window at the default UI.
[2017-01-10 20:52:35.353] [core] Installing app PeriodicallySwitchController ...
[2017-01-10 20:52:49.778] [core] Installing app FireProtection ...
But in both cases the app will not install and it's showing the "Failed to install the app" Window at the default UI.
Re: Can't install apps: "Failed to install the app"
hm.. need more debugging info... something like "strace -fp <z-way-pid> -e trace=file" during installation. Just to gues where is the problem.
Re: Can't install apps: "Failed to install the app"
This ist the output:
Here pops the error message up, some seconds later this is flowding in to the terminal:~ $ sudo strace -fp 4600 -e trace=file
Process 4600 attached with 11 threads
[pid 4610] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
Process 6339 attached
Process 6340 attached
[pid 6340] open("/etc/resolv.conf", O_RDONLY|O_CLOEXEC) = 12
[pid 6340] open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 12
[pid 6340] stat64("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=47, ...}) = 0
[pid 6340] +++ exited with 0 +++
[pid 6339] +++ exited with 0 +++
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4609] open("automation/storage/configjson-06b2d3b23dce96e1619d2b53d6c947ec.json.tmp", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 11
[pid 4609] rename("automation/storage/configjson-06b2d3b23dce96e1619d2b53d6c947ec.json.tmp", "automation/storage/configjson-06b2d3b23dce96e1619d2b53d6c947ec.json") = 0
[pid 4609] open("automation/storage/configjson-06b2d3b23dce96e1619d2b53d6c947ec.json.tmp", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 11
[pid 4609] rename("automation/storage/configjson-06b2d3b23dce96e1619d2b53d6c947ec.json.tmp", "automation/storage/configjson-06b2d3b23dce96e1619d2b53d6c947ec.json" <unfinished ...>
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4611] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
[pid 4609] <... rename resumed> ) = 0
[pid 4609] open("automation/storage/configjson-06b2d3b23dce96e1619d2b53d6c947ec.json.tmp", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 11
[pid 4609] rename("automation/storage/configjson-06b2d3b23dce96e1619d2b53d6c947ec.json.tmp", "automation/storage/configjson-06b2d3b23dce96e1619d2b53d6c947ec.json") = 0
Re: Can't install apps: "Failed to install the app"
Hm.. looks it do not even start unpacking it - means it falls somewhaere in network problem. For example failed to download file. Can you check with wireshark? or tcpdump. It should connect to our server and download the file, but for some reason looks it does not.
Re: Can't install apps: "Failed to install the app"
As mentioned earlier I've checked with Firefox some details:
https://picload.org/image/rogaioco/bild ... -1023-.png
https://picload.org/image/rogaiocc/bild ... -1023-.png
https://picload.org/image/rogaiocp/bild ... -1023-.png
Maybe it's helpful? Will also check with your mentioned tools.
https://picload.org/image/rogaioco/bild ... -1023-.png
https://picload.org/image/rogaiocc/bild ... -1023-.png
https://picload.org/image/rogaiocp/bild ... -1023-.png
Maybe it's helpful? Will also check with your mentioned tools.
Re: Can't install apps: "Failed to install the app"
No, it is not. The problem is on the server side, not on client. So we need to get traces from the server. If you can provide remote access via "Remote support" feature, we can try ti diagnose this
Re: Can't install apps: "Failed to install the app"
I don't know if I used tcpdump the right way, but got a dump file for fire app with this command:
Remote (support) access is enabled.
The funny thing is: my first try was the Christmas Lights app, but this time it worked/downloaded (have also this dump file).tcpdump -i eth0 -s 0 -w output_fire_app.dump tcp port 8083
Remote (support) access is enabled.
- Attachments
-
- output_fire_app.dump.zip
- tcpdump from failing fire situation app
- (1.5 KiB) Downloaded 306 times
Re: Can't install apps: "Failed to install the app"
oh, don't filter by 8083. We need to see Z-Way requesting the module. I propose to do instead "port not 22" to remove all SSH traffic.
We need your login/password/id to access. Please send on support@ or via PM
We need your login/password/id to access. Please send on support@ or via PM