Pages hosted on 32-bit Linux server don't load
Added by Michele Perrone 3 months ago
Problem description¶
I have successfully compiled Wt 4.8.3 for a 32-bit embedded Linux platform.
However, when I start any Wt example and connect to the server address, my browser window doesn't show anything.
Client and server machines are on the same internal network.
I have tested the connection speed with iperf
, the result is over 200Mbit/s. There is no firewall running on the server device.
Compile Options and environment¶
Wt was compiled for an embedded system based on Yocto:
- cmake 3.22.3
- boost 1.78.0
- gcc 11.4.0
- compile options:
-DBUILD_EXAMPLES=y -DINSTALL_EXAMPLES=y -DINSTALL_DOCUMENTATION=n -DINSTALL_RESOURCES=y -DENABLE_SSL=y -DENABLE_HARU=y -DENABLE_PANGO=y -DENABLE_EXT=n -DENABLE_SQLITE=y -DENABLE_POSTGRES=y -DENABLE_FIREBIRD=y -DENABLE_MYSQL=y -DENABLE_QT4=y -DENABLE_QT5=n -DENABLE_QT6=n -DENABLE_SAML=n -DENABLE_LIBWTTEST=y -DENABLE_LIBWTDBO=y -DWT_NO_STD_LOCALE=n -DWT_NO_STD_WSTRING=n -DENABLE_OPENGL=y -DENABLE_UNWIND=y -DMULTI_THREADED=y -DDEBUG=y
Wt server-side log¶
You can see the entire Wt log in the attachment wt_log.txt
.
Received web page¶
The attachment http___192.168.0.94_8080_.html
shows what the browser received.
I have tested also other browsers (Chromium, Opera), no change.
Comments and questions¶
It looks like the web page isn't transmitted entirely, but I don't see any errors in the Wt log.
How can I debug this further? Please let me know if I forgot to include some important details.
http___192.168.0.94_8080_.html (9.63 KB) http___192.168.0.94_8080_.html | Web page received by browser | ||
wt_log.txt (14.7 KB) wt_log.txt | Complete Wt log with debug enabled | ||
wt_config.xml (36.3 KB) wt_config.xml | Complete Wt config file |
Replies (5)
RE: Pages hosted on 32-bit Linux server don't load - Added by Michele Perrone 3 months ago
After further digging, I found that POST requests are somehow not sent from the browser to the server. There are only GET requests.
On a working Wt setup, there are both POST and GET requests happening.
This is visible in the "Network" tab in the Firefox web developer tools.
I have no idea what could cause this.
RE: Pages hosted on 32-bit Linux server don't load - Added by Michele Perrone 3 months ago
Turns out that the issue was caused by a hardware ethernet problem.
Sorry for the mess.
RE: Pages hosted on 32-bit Linux server don't load - Added by Matthias Van Ceulebroeck 3 months ago
Hello Michele,
I'm happy to hear you were able to find the issue, and even happier is wasn't a problem in Wt ;)
I'm also sorry that I neglected to respond here. I did look at this topic before, but apparently didn't respond that I would be looking into the problem.
Best,
Matthias
RE: Pages hosted on 32-bit Linux server don't load - Added by Michele Perrone 3 months ago
Hello Matthias,
no worries, thanks for your feedback!
I'm super happy with Wt so far.
All the best,
Michele
RE: Pages hosted on 32-bit Linux server don't load - Added by Matthias Van Ceulebroeck 3 months ago
Hi Michele,
that's great to hear! I hope that sentiment will remain in the future!
If there' ever anything, you can always post something here, and I'll try to look at it as soon as I can.
Have a great day!
Matthias