Picture of Sam 4951
Registered 5 years 4 days
Sam 4951 Wednesday, 22 June 2022, 03:58 PM
AP Manager wants to install PBX-Designer.debug, while this file is not listed in PBX-Designer_files
Dear Innovaphone support,

On purpose we removed the PBX-Designer.debug file from the App Store, because symbols are not required to run an app.
Off course the PBX-Designer.debug file was also removed from the list of files in PBX-Designer_files.

But still the AP Manager wants to install this .debug file.

Second issue: on some platforms the App Store installation succeeds. It detects the .debug file is missing, but continues the installation:

06-22 10:02:53.253 TaskInstallService::TaskHttpDownloadProgress PBX-Designer.png download complete
06-22 10:02:53.253 HTTPClient(00fe1770,00fc9290)::SetRequestType reqType:0 resourceName:/AppStoreContent/20220618.030026/x86_64/PBX-Designer/PBX-Designer.debug contentLength:0
06-22 10:02:53.253 HTTPClient(00fe1770,00fc9290)::Send size:0 last:0
06-22 10:02:53.262 HTTPClient(00fe1770,00fc9290)::HTTPClientSendResult
06-22 10:02:53.262 HTTPClient(00fe1770,00fc9290)::HTTPClientRequestComplete
06-22 10:02:53.262 HTTPClient(00fe1770,00fc9290)::Recv size:16384, recvPartitial:FALSE
06-22 10:02:53.262 HTTPClient(00fe1770,00fc9290)::HTTPClientRecvResult len:1245 transferComplete:1
06-22 10:02:53.262 HTTPClient(00fe1770,00fc9290)::GetHTTPResult lastResult:1
06-22 10:02:53.262 ManagerHTTPBinaryDownLoad::HTTPClientRecvResult download error
06-22 10:02:53.262 TaskInstallService::TaskHttpDownloadProgress PBX-Designer.debug download failed
06-22 10:02:53.278 HTTPClient(00fe1770,00fc9290)::SetRequestType reqType:0 resourceName:/AppStoreContent/20220618.030026/x86_64/PBX-Designer/ffmpeg contentLength:0
06-22 10:02:53.278 HTTPClient(00fe1770,00fc9290)::Send size:0 last:0
06-22 10:02:53.306 HTTPClient(00fe1770,00fc9290)::HTTPClientSendResult
06-22 10:02:53.306 HTTPClient(00fe1770,00fc9290)::HTTPClientRequestComplete
06-22 10:02:53.306 HTTPClient(00fe1770,00fc9290)::Recv size:16384, recvPartitial:FALSE
06-22 10:02:53.306 HTTPClient(00fe1770,00fc9290)::HTTPClientRecvResult len:16384 transferComplete:0
06-22 10:02:53.306 HTTPClient(00fe1770,00fc9290)::GetHTTPResult lastResult:0
...
06-22 10:02:53.861 ManagerHTTPBinaryDownLoad::HTTPClientRecvResult download complete
06-22 10:02:53.861 TaskInstallService::TaskHttpDownloadProgress ffmpeg download complete
06-22 10:02:53.861 HTTPClient(00fe1770,00fc9290)::Shutdown
06-22 10:02:53.861 HTTPClient(00fe1770,00fc9290)::HTTPClientShutdown reason:HTTP_SHUTDOWN_NORMAL
06-22 10:02:53.861 ManagerHTTPBinaryDownLoad::HTTPClientShutdown reason:0
06-22 10:02:53.861 HTTPClient(00fe1770,00fc9290)::~HTTPClient
06-22 10:02:54.064 TaskStartService(00fba900)::TaskStartService
06-22 10:02:54.064 TaskStartService::SpawnService service:PBX-Designer pid:26777 is starting
06-22 10:02:54.084 Manager::SocketListenResult
06-22 10:02:54.084 ServiceSocketConnection::ServiceInitConnectionResult service:PBX-Designer
06-22 10:02:54.084 Manager::SpawnServiceResult service:PBX-Designer
06-22 10:02:54.086 ManagerSession(00fc4f00)::TaskInstallServiceFinished install service PBX-Designer complete
06-22 10:02:54.086 ManagerSession(00fc4f00)::ServiceAdded mt: ServiceInstalled service:PBX-Designer
06-22 10:02:54.086 ManagerSession(00fc4f00)::SendResult rcv:1 mt:InstallServiceResult errorsadnull) src:manager-appstore param1sadnull)


While on another platform (same AP Manager version: 13r2 136349 sr12, same App Platform 100013 (x86_64)), the App installation fails:

06-22 08:13:49.761 TaskInstallService::TaskHttpDownloadProgress PBX-Designer.png download complete
06-22 08:13:49.761 HTTPClient(018852e0,0186ef20)::SetRequestType reqType:0 resourceName:/release/download/20220618.030026/x86_64/PBX-Designer/PBX-Designer.debug contentLength:0
06-22 08:13:49.762 HTTPClient(018852e0,0186ef20)::Send size:0 last:0
06-22 08:13:49.769 HTTPClient(018852e0,0186ef20)::HTTPClientSendResult
06-22 08:13:49.769 HTTPClient(018852e0,0186ef20)::HTTPClientRequestComplete
06-22 08:13:49.769 HTTPClient(018852e0,0186ef20)::Recv size:16384, recvPartitial:FALSE
06-22 08:13:49.769 HTTPClient(018852e0,0186ef20)::HTTPClientRecvResult len:336 transferComplete:1
06-22 08:13:49.769 HTTPClient(018852e0,0186ef20)::GetHTTPResult lastResult:1
06-22 08:13:49.769 ManagerHTTPBinaryDownLoad::HTTPClientRecvResult download error
06-22 08:13:49.769 TaskInstallService::TaskHttpDownloadProgress PBX-Designer.debug download failed
06-22 08:13:49.774 HTTPClient(018852e0,0186ef20)::SetRequestType reqType:0 resourceName:/release/download/20220618.030026/x86_64/PBX-Designer/ffmpeg contentLength:0
06-22 08:13:49.774 HTTPClient(018852e0,0186ef20)::Send size:0 last:0
06-22 08:13:49.774 TCPSocket(0182cb80,018852e8)::IoContextNotify socket error (32 : Broken pipe)
06-22 08:13:49.774 HTTPClient(018852e0,0186ef20)::HTTPClientShutdown reason:HTTP_SHUTDOWN_NORMAL
06-22 08:13:49.774 ManagerHTTPBinaryDownLoad::HTTPClientShutdown reason:0
06-22 08:13:49.774 HTTPClient(018852e0,0186ef20)::~HTTPClient
06-22 08:13:49.774 TaskInstallService::TaskHttpDownloadFailed PBX-Designer download failed
06-22 08:13:49.803 ManagerSession(01884590)::TaskInstallServiceFinished(), install service failed
06-22 08:13:49.803 ManagerSession(01884590)::SendResult rcv:1 mt:InstallServiceResult error:errorInstallServiceFailed src:manager-appstore param1sadnull)

Can you please give feedback on both issues?

1. Why is the AP Manager not taking the contents of PBX-Designer_files into account?
2. Why is the non-existance of PBX-Designer.debug leading to a succesfull installation on one platform, but failing on another?

Thanks,
Sam
Picture of Daniel Deterding (innovaphone)
Moderator Registered 15 years 121 days
Daniel Deterding (innovaphone) Thursday, 23 June 2022, 07:09 AM
Re: AP Manager wants to install PBX-Designer.debug, while this file is not listed in PBX-Designer_files
Hi Sam,

1. The AP Manager doesn't know anything about the _files files. This file is for the App Store app which then builds a suitable JSON file which is parsed by the AP Manager.
2. The .debug files are always implicitly downloaded but you're right, that the installation should still succeed even if this file doesn't exist.
Your second trace reveals, that the failing .debug download is indeed ignored but the subsequent download of the ffmpeg file fails because the TCP connection is broken. A Wireshark trace with HTTP (not HTTPs) would be interesting to see why and the AP Manager trace with the TCP flag enabled.
Do you use our App Store app or an own HTTP server which hosts the Apps?

A side note to the debug files: while they're not needed for running an App they are really usefull for the backtraces if an App crashes. You then have line numbers inside the callstack which often helps to understand the trap faster without the need to load the coredump.

Greetings,
Daniel
Picture of Sam 4951
Registered 5 years 4 days
Sam 4951 Thursday, 23 June 2022, 02:50 PM
Re: AP Manager wants to install PBX-Designer.debug, while this file is not listed in PBX-Designer_files
Hello Daniel,

Thank you for your quick reply.

We're using an own http server to host the app.

Good to know the _files file should not be hosted on this web server.

I also thought that the download failed on ffmpeg, based on the log, but the installation immediately succeeded when the .debug file was available.
Before this the app installation failed several times.
A different webserver was used.

Anyway, in the meantime the issue is solved.

Thanks for the hint on the callstack.

Best regards,
Sam
← You can define your color theme preference here