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
  • Hi Markus,

    Thank you, for getting back to me, I now understand that I don't need the simulator.

    I got to the point where there is some connection (the device ID shows up in the cat tracker), but I don't see any data coming in. I see these errors repeated in the log

     nrf9160_timestamp.update_new_date_time: Time from cellular network successfully obtained\x1B[0m\x0D\x0A
     aws_iot.broker_init: IPv4 Address found 52.44.31.227\x1B[0m\x0D\x0A
    rr> cat_tracker: Socket error: POLLHUP\x1B[0m\x0D
    rr> cat_tracker: Connection was closed by the cloud.\x1B[0m\x0D\x0A \

    x1B[1;31m<err> cat_tracker: err_handler, error code: -5\x1B[0m\x0D\x0A

    And also:

    Invalid PVT frame, discarding

    I understand there is not GPS Fix, but I was at least hoping to see the battery level or something..\

    Any ideas?

    Thanks,

    Calin

Reply
  • Hi Markus,

    Thank you, for getting back to me, I now understand that I don't need the simulator.

    I got to the point where there is some connection (the device ID shows up in the cat tracker), but I don't see any data coming in. I see these errors repeated in the log

     nrf9160_timestamp.update_new_date_time: Time from cellular network successfully obtained\x1B[0m\x0D\x0A
     aws_iot.broker_init: IPv4 Address found 52.44.31.227\x1B[0m\x0D\x0A
    rr> cat_tracker: Socket error: POLLHUP\x1B[0m\x0D
    rr> cat_tracker: Connection was closed by the cloud.\x1B[0m\x0D\x0A \

    x1B[1;31m<err> cat_tracker: err_handler, error code: -5\x1B[0m\x0D\x0A

    And also:

    Invalid PVT frame, discarding

    I understand there is not GPS Fix, but I was at least hoping to see the battery level or something..\

    Any ideas?

    Thanks,

    Calin

Children
Related