Skip to content
This repository was archived by the owner on May 14, 2022. It is now read-only.
This repository was archived by the owner on May 14, 2022. It is now read-only.

Uploader not sending data after transition to Atlas.  #281

@galaviz-lip

Description

@galaviz-lip

Your Environment

  • Uploader Version Number: 0.7.1
  • Your Android Phone Model Name (e.g. Samsung J1 Ace): Xiiomi Redmi 7A
  • Android Version Number (e.g. use 4.4 for 4.4.4): 9
  • Network Connection at the time the issue occurred (Wi-Fi, Mobile): Wifi
  • (if relevant) Nightscout website version (e.g. 0.8.4 Funnel cake, master / dev branch): master

Brief Explanation of Issue

HI! I know a similar issue is closed, but now I have exactly the same problem after migrating to Atlas. My cell phone uploader cannot send any data the the DB. I can though upload svg values manually (and see them on the my NS site) using the script by:
https://github.com/cjo20/ns-api-uploader

I am not sure what really happened with the uploader. Any help is certainly appreciated. Thanks!

Uploader Error Code

Do not know if there is an error. Here are the last lines from the Heroku CLI:

2020-09-03T21:02:44.941092+00:00 app[web.1]: got data-received event, requesting reload
2020-09-03T21:02:45.082527+00:00 app[web.1]: GRANTED: 82.154.141.140 api-secret api:treatments:read
2020-09-03T21:02:45.086667+00:00 heroku[router]: at=info method=GET path="/api/v1/treatments.json?find%5Bcreated_at%5D%5B%24gte%5D=2017&find%5Bcreated_at%5D%5B%24lte%5D=2020-09-02T20%3A57%3A10Z&find%5Bkey600%5D%5B%24regex%5D=ALARM&count=20" host=kiki-vigilante-last.herokuapp.com request_id=e9db5f84-85c8-40ea-8e8c-1506fcf35d0d fwd="82.154.141.140" dyno=web.1 connect=0ms service=7ms status=200 bytes=1318 protocol=https
2020-09-03T21:02:45.235428+00:00 heroku[router]: at=info method=DELETE path="/api/v1/treatments/5f4e8bee5987e50805f2cbc8" host=website.herokuapp.com request_id=434d67cc-ba36-436b-a923-3151add424cc fwd="82.154.141.140" dyno=web.1 connect=0ms service=3ms status=200 bytes=230 protocol=https
2020-09-03T21:02:45.235601+00:00 app[web.1]: GRANTED: 82.154.141.140 api-secret api:treatments:read
2020-09-03T21:02:45.235674+00:00 app[web.1]: GRANTED: 82.154.141.140 api-secret api:treatments:delete
2020-09-03T21:02:45.235900+00:00 app[web.1]: got data-received event, requesting reload
2020-09-03T21:02:45.392514+00:00 app[web.1]: GRANTED: 82.154.141.140 api-secret api:treatments:read
2020-09-03T21:02:45.392666+00:00 app[web.1]: GRANTED: 82.154.141.140 api-secret api:treatments:delete
2020-09-03T21:02:45.392936+00:00 app[web.1]: got data-received event, requesting reload
2020-09-03T21:02:45.393565+00:00 heroku[router]: at=info method=DELETE path="/api/v1/treatments/5f4e30845987e50805b05d95" host=website.herokuapp.com request_id=f97db33b-2608-469f-8d8e-dce68adf3c35 fwd="82.154.141.140" dyno=web.1 connect=0ms service=5ms status=200 bytes=230 protocol=https
2020-09-03T21:02:45.543530+00:00 heroku[router]: at=info method=DELETE path="/api/v1/treatments/5f4e19135987e508059e4259" host=website.herokuapp.com request_id=b2279bed-0fd6-4048-a441-07b3b29842e2 fwd="82.154.141.140" dyno=web.1 connect=0ms service=3ms status=200 bytes=230 protocol=https
2020-09-03T21:02:45.543680+00:00 app[web.1]: GRANTED: 82.154.141.140 api-secret api:treatments:read
2020-09-03T21:02:45.543756+00:00 app[web.1]: GRANTED: 82.154.141.140 api-secret api:treatments:delete
2020-09-03T21:02:45.543956+00:00 app[web.1]: got data-received event, requesting reload

Steps to Reproduce (for bugs)

Severity Score

4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions