I have downloaded httpServer app from:
I cannot compile the project. I use VSCode wp76 legato version 18.06.3 and wp77 legato version 19.11.5. I have got following error:
[78/600] Running external build step
ninja: build stopped: subcommand failed.
Could you help. Thanks
You can see here, it should be fine
Thanks for the reply, I am still getting that HTTP 500 error message. And when I try to right click and save the .py on my computer it saves a web page with the HTTP 500 message.
I see this log message when I start up httpServer:
Aug 17 15:06:44 swi-mdm9x28-wp user.notice kernel: [22314.249780] audit: type=1400 audit(1597676804.719:13): lsm=SMACK fn=smack_inode_getattr action=denied subject="app.httpServer" object="admin" requested=r pid=8755 comm="lighttpd" path="pipe:" dev="pipefs" i…
Thanks for quick reply, but I do not have problem with not working link. I have got problem with compiling the httpServer app.
I have changed version to swi-fx30-catm_3.0.0 and I have got components/sslCertComponent/gen.sh: Permission denied
So I have switched off sslCertComponent because this generates certificate only and it has compiled, but now i cannot start the program
Error i have got when i try to start it
http://192.168.2.2:8080/diagnostics.py does not work of course. Iptables is setup.
You can try my application, I can compile with swi-fx30-catm_3.0.0.
httpServer_unsandboxed.zip (9.8 MB)
Your code has worked straight away. Thanks!!!
I will check other platforms.
Just a reminder, if you want to compile for WP76 module, you need to open the Makefile and change target to wp76xx instead of wp77xx