glanceapp / glance

A self-hosted dashboard that puts all your feeds in one place
GNU Affero General Public License v3.0
8.56k stars 297 forks source link

Problems with Glance and VPN #223

Open gummipunkt opened 2 months ago

gummipunkt commented 2 months ago

I have Glance running on my VPS and would like to display subreddits there as well. Therefore I tunnel Glance through a Wireguard VPN connection (ProtonVPN). However, it seems that the content often takes too long to load.

Sometimes the RSS feeds don't load, sometimes Reddit doesn't load, sometimes the YT videos don't load.

Error messages then include (Client.timeout exceeded while awaiting headers) or failed to retrieve any content

There is sometimes a red dot at Hacker News or Lobsters.

Is there a way for Glance to simply wait longer for the response or just load it again?

Thank you in advance for taking a look into it.

svilenmarkov commented 1 month ago

Thanks for reporting this.

Unfortunately as of now there isn't a way to increase the timeout period. I'm aware that it might be quite unforgiving at its current value of 5 seconds, though since all widgets must finish loading before anything is shown I didn't want a single slow loading widget from bogging down the entire page.

I'll add an option to change the timeout in a future release for cases like yours.