This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

trying to get bifravst working

Hi ,

I am following the instructions here:

https://bifravst.gitbook.io/bifravst/bifravst-on-aws/simulator

to deploy the web application, and the web application says:

Connecting to http://localhost:1234 ...

Which is probably not right.

When I use node cli connect, and open the url in the browser, this one also tries to connect to localhost.

Any suggestions for getting it running in the cloud? I mostly want to get this working n the cloud, with a real device, but how would I run the application locally?

Thanks,

Calin

Parents
  • I upgraded the firmware to the latest, same thing..

    [00:05:27.497,070] [0m<inf> cat_tracker: Incoming RSRP status message, RSRP value is 21
    [0m[00:05:40.357,177] [0m<dbg> nrf9160_gps.stop_gps: Stopping GPS due to timeout
    [0m[00:05:40.364,959] [0m<inf> cat_tracker: GPS_EVT_SEARCH_TIMEOUT
    [0m[00:05:40.372,314] [0m<dbg> lte_lc.parse_nw_reg_status: Network registration status: 1
    [0m[00:05:40.380,615] [0m<inf> cat_tracker: Checking LTE connection...
    [0m[00:05:40.387,268] [0m<inf> cat_tracker: LTE link maintained
    [0m[00:05:40.393,218] [0m<inf> cat_tracker: Going to sleep for: 60 seconds
    [0m[00:05:43.845,214] [1;31m<err> aws_iot: mqtt_connect, error: -22
    [0m[00:05:43.851,501] [1;31m<err> cat_tracker: cloud_connect failed: -7
    [0m[00:05:44.323,760] [0m<dbg> aws_iot.broker_init: IPv4 Address found 35.170.150.217
    [0m[00:06:40.400,207] [0m<inf> cat_tracker: Device in ACTIVE mode
    [0m
    *** Booting Zephyr OS build v2.1.99-ncs1-8-g367eec2dd60d  ***

Reply
  • I upgraded the firmware to the latest, same thing..

    [00:05:27.497,070] [0m<inf> cat_tracker: Incoming RSRP status message, RSRP value is 21
    [0m[00:05:40.357,177] [0m<dbg> nrf9160_gps.stop_gps: Stopping GPS due to timeout
    [0m[00:05:40.364,959] [0m<inf> cat_tracker: GPS_EVT_SEARCH_TIMEOUT
    [0m[00:05:40.372,314] [0m<dbg> lte_lc.parse_nw_reg_status: Network registration status: 1
    [0m[00:05:40.380,615] [0m<inf> cat_tracker: Checking LTE connection...
    [0m[00:05:40.387,268] [0m<inf> cat_tracker: LTE link maintained
    [0m[00:05:40.393,218] [0m<inf> cat_tracker: Going to sleep for: 60 seconds
    [0m[00:05:43.845,214] [1;31m<err> aws_iot: mqtt_connect, error: -22
    [0m[00:05:43.851,501] [1;31m<err> cat_tracker: cloud_connect failed: -7
    [0m[00:05:44.323,760] [0m<dbg> aws_iot.broker_init: IPv4 Address found 35.170.150.217
    [0m[00:06:40.400,207] [0m<inf> cat_tracker: Device in ACTIVE mode
    [0m
    *** Booting Zephyr OS build v2.1.99-ncs1-8-g367eec2dd60d  ***

Children
No Data
Related