Page 1 of 1

Contributed apps via direct cable

Posted: Sat Oct 25, 2014 11:09 pm
by Karelk
Hi All,

I have connected the RP directly to my Win7 laptop using a direct cable.
The PC does not find the red pitaya when I enter the mac address, but I can connect to it when I type the IP address directly. I can then run the three default applications.
On the app screen, when I click on "Get more application" I get an error from nginx:
"Cannot connect to Bazaar server.
Please check you connection to the Internet. Consult Nginx error log for details."
The logging does not reveal much to me:
1970/01/01 00:02:04 [error] 788#0: *6 open() "/opt/www/apps/favicon.ico" failed (2: No such file or directory), client: 192.168.1.101, server: , request: "GET /favicon.ico HTTP/1.1", host: "192.168.1.100"
1970/01/01 00:02:16 [error] 788#0: *24 Application not loaded, client: 192.168.1.101, server: , request: "GET /data?_=1414271566476 HTTP/1.1", host: "192.168.1.100", referrer: "http://192.168.1.100/scope/"
1970/01/01 00:02:26 [error] 788#0: *118 Application not loaded, client: 192.168.1.101, server: , request: "GET /data?_=1414271566567 HTTP/1.1", host: "192.168.1.100", referrer: "http://192.168.1.100/scope/"
1970/01/01 00:02:33 [error] 788#0: *141 Application not loaded, client: 192.168.1.101, server: , request: "GET /data?_=1414271583128 HTTP/1.1", host: "192.168.1.100", referrer: "http://192.168.1.100/spectrum/"
1970/01/01 00:03:58 [error] 788#0: *688 Application not loaded, client: 192.168.1.101, server: , request: "GET /data?_=1414271583471 HTTP/1.1", host: "192.168.1.100", referrer: "http://192.168.1.100/spectrum/"
1970/01/01 00:04:01 [error] 788#0: *696 Cannot access http://bazaar.redpitaya.com/device.
, client: 192.168.1.101, server: , request: "GET /bazaar HTTP/1.1", host: "192.168.1.100", referrer: "http://192.168.1.100/index.html"
1970/01/01 00:07:33 [error] 788#0: *707 Cannot access http://bazaar.redpitaya.com/device.
, client: 192.168.1.101, server: , request: "GET /bazaar HTTP/1.1", host: "192.168.1.100"
1970/01/01 00:11:07 [error] 788#0: *722 Cannot access http://bazaar.redpitaya.com/device.
, client: 192.168.1.101, server: , request: "GET /bazaar HTTP/1.1", host: "192.168.1.100", referrer: "http://192.168.1.100/"
1970/01/01 00:51:54 [error] 788#0: *730 Cannot access http://bazaar.redpitaya.com/device.
, client: 192.168.1.101, server: , request: "GET /bazaar HTTP/1.1", host: "192.168.1.100", referrer: "http://192.168.1.100/"

What can be the problem? I'd love to run the LCR analyser.

Many thanks!
Karel

Re: Contributed apps via direct cable

Posted: Sat Oct 25, 2014 11:17 pm
by Nils Roos
The Bazaar is only available to you if your RedPitaya has an internet connection - you could configure your Win7 to allow the RP to share its connection.
If that is not acceptable, this thread has all info you need.