2017-03-09

Hi,

I am still trying to learn programming Web application for the RP, though with very little time at my hands. Unfortunately I am stuck already running the examples. In particular I am trying the 2 LED example. I get it up and running to the point where it shows on the web page. But, the LEDs are not changing..
The debug.log says:
Calling application: start
stop_ws_server()
[2017-03-09 11:05:11] [info] Error getting remote endpoint: system:9 (Bad file descriptor)
[2017-03-09 11:05:11] [info] asio async_shutdown error: system:9 (Bad file descriptor)
[2017-03-09 11:05:11] [info] handle_accept error: Operation canceled
[2017-03-09 11:05:11] [info] Stopping acceptance of new connections because the underlying transport is no longer listening.
Unloading LED control
rmdir: failed to remove '/sys/kernel/config/device-tree/overlays/amba_pl': No such file or directory
Problem running /opt/redpitaya/rmamba_pl.sh
Not loading specific FPGA, since no fpga.conf file was found.
Loading application: '/opt/redpitaya/www/apps/2.led/controllerhf.so'
Loading LED control
Calling application: start
rmdir: failed to remove '/sys/kernel/config/device-tree/overlays/amba_pl': No such file or directory
Problem running /opt/redpitaya/rmamba_pl.sh
Not loading specific FPGA, since no fpga.conf file was found.
Loading application: '/opt/redpitaya/www/apps/2.led/controllerhf.so'
Loading LED control
Red Pitaya API init success!
Application loaded succesfully!
Starting WS-server
stop_ws_server()
start_ws_server()
2017/03/09 11:05:11 [alert] 2749#0: *442 the http output chain is empty, client: 157.99.110.16, server: , request: "GET /bazaar?start=2.led?type=runHTTP/1.1", host: "82.247.223.88:9090", referrer: "http://82.247.223.88:9090/2.led/?type=run"

The web-page, after a while of displaying "trying to connect...", displays "connection error".

Do you have any idea on where to start debugging?

Thx,

Bernd

PS. Any suggestions on what I should read to understand thing better?

Statistics: Posted by berndj — Thu Mar 09, 2017 12:11 pm

Show more