Problem with curl in network server startup.

Home Forums Conduit: mLinux Model Problem with curl in network server startup.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #16958
    Damian Christie
    Participant

    I have installed the latest version (1.0.13-r0.1) of the network server onto the mLinux, however it will not start. My debugging has led me to the first line (#33) of do_start() in /etc/init.d/lora-network-server: curl -m 5 -s "127.0.0.1/api?fields=loraNetwork/lora,system/capabilities/lora,system/macAddress"

    Running this line on it’s own with verbose output results in the following:

    * Hostname was NOT found in DNS cache
    * Trying 127.0.0.1...
    * connect to 127.0.0.1 port 80 failed: Connection refused
    * Failed to connect to 127.0.0.1 port 80: Connection refused
    * Closing connection 0
    curl: (7) Failed to connect to 127.0.0.1 port 80: Connection refused

    The loopback interface is running, as confrmed with ifconfig. I know iptables is not installed on the mLinux but is there another firewall program block this port?

    Any idea what else I could try?
    Thanks.

    #16974
    Peter Ferland
    Blocked

    Are you running mLinux or AEP? The API service is the major difference between mLinux and AEP. The API is not available on mLinux images.

    • This reply was modified 7 years, 2 months ago by Peter Ferland.
    #17057
    Damian Christie
    Participant

    I had the wrong NS image. I installed the AEP NS instead of the mLinux NS.

    Thanks for the help!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.