Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LibreLinkUp Update 4.7 #99

Closed
Jonaskjellsson opened this issue Jun 14, 2023 · 65 comments
Closed

LibreLinkUp Update 4.7 #99

Jonaskjellsson opened this issue Jun 14, 2023 · 65 comments

Comments

@Jonaskjellsson
Copy link

Hi LibreLinkUp will be updated to version LibreLinkUp 4.7.

All older versions will stop working on 6/21
Will Nightscout LibreLink Up work after 6/22?

@mielleman
Copy link

I share the same worry as @Jonaskjellsson, based on the email we got it seems that the API will change and that after June 21st we might be blocked.

@pettermork
Copy link

pettermork commented Jun 14, 2023

Seems mine broke last night, I get a No AuthTicket recieved error.

@mielleman
Copy link

Seems mine broke last night, I get a No AuthTicket recieved error.

I think you need to accept the new agreement, go to your phone, logout of LibreLinkUp and log back in. You should get the new agreement, then accept it. Afterwards, getting a token should work again.

@pettermork
Copy link

Yes of course, I forget it every time that happens.

@timoschlueter
Copy link
Owner

timoschlueter commented Jun 14, 2023

Hi everyone! Since I don't have access to the update in advance or any other documentation we might run into a the situation that this app needs to be updated when the new LLU version is released.

I will do my best to keep the downtime as short as possible. Unfortunately we need to actually look at the updated API in order to see how much we need to change.

Nevertheless I am confident that we will be able to keep using this app. Just prepare for a day or two without data.

@mielleman
Copy link

Thanks for responding @timoschlueter, if needed I am very much willing to help.

@yaronkhazai
Copy link

Hello @timoschlueter, is there any progress? If needed I can also try to help, please let me know

@alinadrian2391
Copy link

I am getting the glucose data with ~20 min delay on LinkUpApp, anybody else?

@PhilaBurger
Copy link

I am getting the glucose data with ~20 min delay on LinkUpApp, anybody else?

I'm seeing the same behavior, in the LLU app 4.6. The Apple App Store hasn't made 4.7 available to me, yet, so I can't tell whether or not it will fix this behavior.

@PhilaBurger
Copy link

Did anyone else get errors, after unpacking the LLU uploader 2.3.0, about not finding the @tsconfig/node18/tsconfig.json?

I dug and found that the entire node_modules subdirectory appeared to be missing after unpacking v2.3.0.tar.gz.

I copied the entire node_modules subdir from the v.2.2.0 installation path and now it runs, but as others have noted, I'm receiving the No AuthTicket received error.

I know that timoschleuter is already looking to fix the auth issue...my only reason for this message is to ask him to look at the tar.gz package and correct the missing node_modules issue.

Thanks.

@timoschlueter
Copy link
Owner

I have not received the updated version yet. Unfortunately I won't be able to fix things without the update on my phone. Does anyone have the new version installed already? If so: Which region are you from and do you use an Android or iOS device?

@david-lively
Copy link

david-lively commented Jun 15, 2023

I'm also seeing ~20-30 minute delays (US, iPhone). The LibreLinkUp app on my phone also isn't working, just says "An error occurred please try again later." Yay, Abbot. NSLU is saying "LibreLink Up - No AuthTicket received. Please check your credentials." But, the actual error page that's returned is saying

What happened?\n

The web server reported a gateway time-out error.

\n \n \n <div class="w-1/2 md:w-full float-left leading-relaxed">\n <h2 class="text-3xl font-normal leading-1.3 mb-4">What can I do?\n <p class="mb-6">Please try again in a few minutes.

\n

@timoschlueter
Copy link
Owner

Seems like 4.7.0 has just been released to the App Store. I downloaded the app a few minutes ago and so far nightscout-librelink-up seems to still be working just fine.

Can somebody else confirm this?

@david-lively
Copy link

david-lively commented Jun 15, 2023

I had to uninstall the app and re-install it - it didn't just show up as an available update. It's now showing 4.7.0. NLU appears to be working, but the readings are still lagging ~20-30 minutes on Nightscout (as they are in the LibreLinkUp app, so that's not an issue with NLU.)

(Where "NLU" means "Nightscout-Librelink-up")

@pettermork
Copy link

I updated just now (from Swedish AppStore), and so far no problems. I did not experience any lagging updates to NS earlier either.

@timoschlueter
Copy link
Owner

I just finished analysing the traffic between LLU version 4.7.0 and Abbotts infrastructure. The APIs seem to still be compatible with nightscout-librelink-up. Only minor changes have been added in version 2.4.0 just to be safe. You can see the details in PR #101.

Version 2.4.0 should be available to download on GitHub and Docker Hub within the next hour. :)

@timoschlueter
Copy link
Owner

I have not yet experienced any lags on the update (neither on 4.7.0, nor the previous version). I am using the DE region since i am located in germany. Can we find a common region that is having issues?

@david-lively
Copy link

The nature of the errors coming from their API and from the LibreLinkUp app have changed throughout the day. I suspect they're still rolling out and, in true IT professional fashion, doing it badly. Given that their own app isn't working with their servers in the US at the moment, I doubt there's anything that can be done on this end.

@timoschlueter
Copy link
Owner

Looks like it. :(
Lets hope they get things in order soon.

@david-lively
Copy link

@timoschlueter Thanks for looking into this. This package has made my life a lot easier over recent months.

@alinadrian2391
Copy link

I have not yet experienced any lags on the update (neither on 4.7.0, nor the previous version). I am using the DE region since i am located in germany. Can we find a common region that is having issues?

I am in US and the lag is still here

@david-lively
Copy link

Same here. (US)

@alinadrian2391
Copy link

[info]: Found 1 LibreLink Up connection.
[info]: -> The following connection will be used: Alin ... (Patient-ID: 40d3f021-6354-...)
/usr/src/app/src/index.ts:297
const measurementDate = getUtcDateFromString(glucoseMeasurement.FactoryTimestamp);
^
TypeError: Cannot read properties of null (reading 'FactoryTimestamp')
at createFormattedMeasurements (/usr/src/app/src/index.ts:297:69)
at uploadToNightScout (/usr/src/app/src/index.ts:332:50)
at main (/usr/src/app/src/index.ts:154:11)
at processTicksAndRejections (node:internal/process/task_queues:95:5)

@stncttr908
Copy link

Update worked great, thank you so much for your efforts! My updates are still lagging by 20+ minutes, but that's a LibreLink problem.

@rmcferran
Copy link

Currently seeing the same error as reported above by alinadrian2391. Could it be related to the delayed reporting we're seeing from the LLU app? I'm definitely seeing the same sort of 20-30 min delay others are reporting, as well.

@david-lively
Copy link

As of 10:55 CST, LibreLinkUp is working again, as is Nightscout-LibreLink-Up, NightScout and, thus, Loop. I'm in DFW (US), so not sure if it'll take longer for the changes to roll out to other US zones. Also, make sure you're using the latest main that @timoschlueter pushed earlier today to update to the 4.7.0 API version header.

Also, hello from Dallas, TX. Be safe, friends.

@Ederborg
Copy link

Hello!
Im getting this error after the update in Sweden. Am I doing anything wrong?

[info]: no authTicket.expires
[info]: renew token
[info]: Logged in to LibreLink Up
[error]: {"data":{"minimumVersion":"4.7.0"},"status":920}
[error]: getting libreLinkUpConnection: Cannot read properties of undefined (reading 'data')

@timoschlueter
Copy link
Owner

@Ederborg I released version 2.4.0 yesterday. This version should fix your problem. Although I don't receive any data here in Germany right now. But that might still be a problem with Abbotts infrastructure.

Just try the new version 2.4.0 and your error should be gone :)

@Ederborg
Copy link

@Ederborg I released version 2.4.0 yesterday. This version should fix your problem. Although I don't receive any data here in Germany right now. But that might still be a problem with Abbotts infrastructure.

Just try the new version 2.4.0 and your error should be gone :)

Thank you! It has been working fine for so long I haven't done anything to it :) Including updating anything!

@Havanna22
Copy link

Havanna22 commented Jun 16, 2023

Neither previous version of the app, nor the latest (2.4.0) works, unfortunately.
So there's something more wrong.
Or to be clear: I have tried the latest available version of XDrip+ and it doesn't give values. I can't see which version it is, if it's 2.4.0, but it is a build from 15th of June.
But you are talking about Nightscout versions perhaps? Sorry if I am confusing things...

@timoschlueter
Copy link
Owner

@Havanna22 when was the last time it worked for you? Maybe we can find out.

As of 10 minutes ago I am receiving values in LLU again and in nightscout-librelink-up as well :)

@jeremyhipp
Copy link

@timoschlueter The v2.4.0 docker container using docker-compose fails to start on my system with the following error:

Starting nightscout-libre-link
Attaching to nightscout-libre-link
nightscout-libre-link    | node[1]: ../src/node_platform.cc:68:std::unique_ptr<long unsigned int> node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed.
nightscout-libre-link    |  1: 0xb7a940 node::Abort() [node]
nightscout-libre-link    |  2: 0xb7a9be  [node]
nightscout-libre-link    |  3: 0xbe98be  [node]
nightscout-libre-link    |  4: 0xbe99a1 node::NodePlatform::NodePlatform(int, v8::TracingController*, v8::PageAllocator*) [node]
nightscout-libre-link    |  5: 0xb38f5b node::InitializeOncePerProcess(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, node::ProcessFlags::Flags) [node]
nightscout-libre-link    |  6: 0xb395ab node::Start(int, char**) [node]
nightscout-libre-link    |  7: 0x7f2e0bcb418a  [/lib/x86_64-linux-gnu/libc.so.6]
nightscout-libre-link    |  8: 0x7f2e0bcb4245 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
nightscout-libre-link    |  9: 0xabbdee _start [node]
nightscout-libre-link exited with code 139

The v2.3.0 container launches correctly.

@timoschlueter
Copy link
Owner

@jeremyhipp: which platform are you using? some sort oft raspberry pi maybe?

@jeremyhipp
Copy link

@timoschlueter I'm running on a VPS with Ubuntu 16.04, 4 cores (<10% load), 8GB RAM (~5.5 GB free). It could very well be the old Ubuntu version, I was just surprised it stopped since v2.3.0 ran fine.

@maddox
Copy link

maddox commented Jun 16, 2023

The v2.4.0 docker container using docker-compose fails to start on my system with the following error

I'm getting the same on an Ubuntu 20.04 host.

@timoschlueter
Copy link
Owner

I am setting up a VPS with Ubuntu 20.04 on AWS Lightsail right now. Maybe I can reproduce the problem there.

@timoschlueter
Copy link
Owner

This might be related to this issue: nodejs/node#43064
I will look into it.

@buzlachok
Copy link

it worked for me after the update node

@timoschlueter
Copy link
Owner

@maddox and @jeremyhipp: version 2.4.1 should fix your problems.
The new version will be available in about 30 minutes on Docker Hub.

@cabbage2400
Copy link

Hello, my nightscout hasn't been receiving values from LLU for 19 hours, and after reading these comments I am unsure what exactly to do to get this up and running again. My LLU account is working normally now. I am not familiar enough with this website/functionality to follow how to make whatever updates are recommended to resolve this issue. If anybody is able to provide me with some specific instructions or would be willing to hop on a quick zoom call and walk me through, I would so greatly appreciate it! I use nightscout to feed my loop app so am struggling big time without being able to get my CGM readings into nightscout. Thanks in advance for anybody willing to engage with me on this

@timoschlueter
Copy link
Owner

@maddox / @jeremyhipp: the update is available. can you verify that it works for you?

@cabbage2400: I set up a zoom meeting you should be able to join. I will be here for about an hour :)
https://us05web.zoom.us/j/89858968770?pwd=Z3pyNFFhQkp0MjBKQUh0U0RYelRFUT09

@maddox
Copy link

maddox commented Jun 16, 2023

Looks good now! Thanks so much. Incredible support for something you're doing in your off time. We all really appreciate it. It's amazing how important this project has become for me so I can get my numbers on my watch face, which has become a big deal for me.

Thanks!

@timoschlueter
Copy link
Owner

Thank you so much @maddox, I really appreciate the kind words and the sponsorship! I will do my best to keep this app going since it made life so much easier for myself as well. :)

@david-lively
Copy link

+1000 This app is the only way I've been able to get Loop working reliably without shutting down in the background (iPhone). It's a life saver. In a perfect world, we wouldn't have to have data go from the phone, to Abbot's servers, to Nightscout, and back to the phone just to get a few numbers from the Libre app to the Loop app, but... I'm grateful for any solution that works.
This is awesome work.

@zreptil
Copy link

zreptil commented Jun 16, 2023

This is really really great. Thank you so much for your work. Up to now i had no clue, how this works, but since ns10.be.de is still not uploading the data, i gave the local installation a try and it works. My windows pc has to run, so that this can be uploaded, but since i only need this temporary when Abbot decides again to annoy his customers or to make the process of running the follower still more intransparent and cumbersome, this works for me. Thanks again, Timo. This is brilliant 👍

@maddox
Copy link

maddox commented Jun 16, 2023

This is in no way an advertisement, and it's certainly off topic, but with everyone expressing how important this data is...I thought it might be worth a mention.

I built a simple tool that works like this project, that will read from Nightscout and publish it online to Amazon S3 in a way that Nightscout clients can read from it.

https://github.com/maddox/nightscout-s3-proxy

I did this because I self host Nightscout, and do not have any holes in my firewall for things to access it, I use a VPN instead. Using my project lets you point mobile clients at the endpoint on S3, so they can get the data, without having to access your home network. I use this specifically with Gluco Tracker to get my number on my watch face via a complication.

So, I hope this might help someone else!

@timoschlueter
Copy link
Owner

@maddox: This is also looks like a great way to archive Nightscout data! Didn't know that existed! Awesome. Thank you for sharing!

@zreptil: Thank you so much. I really appreciate the kind words! :)

@cabbage2400
Copy link

@maddox / @jeremyhipp: the update is available. can you verify that it works for you?

@cabbage2400: I set up a zoom meeting you should be able to join. I will be here for about an hour :) https://us05web.zoom.us/j/89858968770?pwd=Z3pyNFFhQkp0MjBKQUh0U0RYelRFUT09

Shoutout to Timo for hopping on zoom and fixing this for me. Thank you so much!!!!!!

@moulicka
Copy link

Hi, thank you for your great work timoschlueter!
I need some advice on how to easily find the patient ID. I used https://api-eu.libreview.io/
, but it doesn't work now and I can't see the Patient ID in the account settings. The instructions say to use the console, what exactly is it and where can I find it?
thank you very much

@timoschlueter
Copy link
Owner

@moulicka: where did you host the app? On Heroku you can watch the "Logs" of the app from the console. If you have deployed the app via Docker, the patient-ids are logged to the console. Unfortunately, the Patient-ID is not easily visible from within an official webinterface. Thats why we log it to the console if you start the app without a patient-id set.

@moulicka
Copy link

aha, that's a simple solution, I'll try it. Thanks a lot for the advice.
I use Postman for the statement. In the end, I had the error in the specified version (I fixed it to 4.7.0) now it works.
Thanks again for the quick reply and advice!

@kimsol1
Copy link

kimsol1 commented Jul 23, 2023

Hi

I haven't got any data to my nightscout for about a month. When I look att deployment logs I get these errors which I didn't get before (previous to the update in june):

> nightscout-librelink-up@1.9.0 start
> node index.js
[info]: Starting cron schedule: */5 * * * *
[info]: no authTicket.expires
[info]: renew token
[info]: Logged in to LibreLink Up
[error]: {"data":{"minimumVersion":"4.7.0"},"status":920}
[error]: getting libreLinkUpConnection: Cannot read properties of undefined (reading 'data')

Anybody that has any idea what I need to do to get the readings from Libre working again?

@david-lively
Copy link

@kimsol1 That's due to an update that Abbott deployed about a month ago. Pull the latest of this repo and re-deploy it. The only real change is updating the version number for the LLU API calls.

@kimsol1
Copy link

kimsol1 commented Jul 26, 2023

@kimsol1 That's due to an update that Abbott deployed about a month ago. Pull the latest of this repo and re-deploy it. The only real change is updating the version number for the LLU API calls.

Thanks for the reply David! I read the thread before I posted and added LIBRE_LINK_UP_VERSION =4.7.0 to my variables. But stupid me forgot update the repo. And a big thanks to Timo for the work. Much appreciated!

Now I just need to find an alternative to Railway...

@david-lively
Copy link

david-lively commented Jul 26, 2023

@kimsol1
I'm using Fly.io for hosting. It's free at this tier and has been working without a hitch for a few months now. I'm considering moving this and Nightscout to a Raspberry Pi or similar at home.

@ManuelNegreteGarrido
Copy link

hola comunidad, algun librelink up para escritorio o alguna alternativa para que mis registros lleguen directo a mi mac??

muchas gracias.

@PieCaptain
Copy link

hello, please accept my apologies in advance if this is an incredibly silly question, but...

this evening I setup nightscout on azure as per the instructions here - https://nightscout.github.io/vendors/azure/new_user/#

I have my librelink updating to librelinkup

but have absolutely no idea how to use this to link librelinkup to nightscout, can anyone point me in the right direction?

From the description here: "this image can be easily added to your existing docker-compose file"

i guess that's what I need to do, I've tried google, but i don't understand the results I get back! (sorry!)

Thank you in advance!

@DiLoT2D
Copy link

DiLoT2D commented Apr 1, 2024

hallo ... does anybody have a "howto" to install this on "https://ssh.cloud.google.com" ..... Nightscout is already running
Thx in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests