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

Issue Displaying Data on Linux Mint When Initial GET is Interrupted #13

Open
Ranondorf opened this issue Dec 22, 2022 · 0 comments
Open

Comments

@Ranondorf
Copy link

Ranondorf commented Dec 22, 2022

Hi,

I am running your desklet on Linux Mint 21 (Cinnamon Version 5.4.12).

I noticed when I use a VPN (Torguard) at system startup, the delay in setting up the VPN causes the initial GET requests to fail. This leaves a desklet displaying, "Loading coin data..". So was assuming once that polling timer elapses another GET request will go out. I set the refresh timer to the minimum of 5 minutes.

What I noticed was that on that when logged into the coinmarketcap API page, that the subsequent requests are seen (every 5 minutes) and they are deemed successful.

But the desklet itself does not display the data. In order to display the data, I need to configure the disklet, cut the API key, so the "Missing API" message shows up, then paste it back in at which point the desklet works normally.

Obviously the initial request failing is not an app issue. But it is strange the subsequent requests fail as well.

So I repeated the whole test, by disabling my NIC and wireless (so no VPN this time). Once loaded into the environment (desklets have failed as expected). In this case, the same thing happened. Sorry I was testing this as I typed the above, so I guess the VPN bit doesn't apply.

It appears if the initial request is not serviced, the subsequent requests even though registered at the far end, do not induce the correct content to display.

Thanks

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

1 participant