Problems with Wt app 2 minutes after system reboot


We have this problem with the C++ application - let’s call it “WebConfig”. It uses Qt and Wt.
When I reboot the system, the web is unavailable for 2 minutes. After that, it works normally.
When I restart the app after those 2 minutes, it runs OK right away.
The app has all the libraries it needs.
I checked right after the reboot, if it’s running. Process “WebConfig” is running fine.
There are no suspicious logs from the app.

Do you have any advice on how to fix this?
Thank you

Colibri iMX6DL 512 MB V1.1B
Linux version 4.14.117-dirty (gcc version 8.2.0 (GCC))
Wt app compiled with tdx-x11 2.6.4 SDK
Qt 5.11.3
Wt 4.2.1

Hi @dx7 ,

Just to be sure I understand everything correctly here.

As I understand there’s two cases:

Case 1:
Boot → App starts → Web unavailable → 2minutes pass → Web available

Case 2:
App running → Restart App → Web available immediately

Out of curiosity what happens when you restart the app during these first 2 minutes? Is it also available immediately? Or are these 2 minutes uptime a “hard” requirement for the connection to work?

Best Regards

Hi Kevin,

Case 1 and 2 are correct.
When I restart the app during those 2 minutes, the web is still unavailable. 2 minutes pass and the web works. It’s strange because other network services (ssh, sftp) are available right after the reboot with no problems.

Thank you for your reply

There is one more thing I should’ve mentioned.
The iMX6DL module is running “TDX X11 2.6-snapshot-20220328 (thud)” distribution.

Hello @dx7 ,
Have you tried with other applications to rule out any possible issues with yours?
I would also suggest using Wireshark to capture the traffic and check if that gives a clue.

Best regards,