H
Homarr15mo ago
Wanhack

Network issue?

I am getting a long load time on pihole integration/weather app, around 3mins to load, but the weird thing is that it's only present on my PC, and on mobile when I was testing, it only had the weather app loading, but the pihole integration instantly came up. Checking the network inspect on the desktop, I am getting a TRPCClienterror. Does anyone know what component is wrong?
Solution:
2 minutes of timeout, chances may that it's only lidarr causing problems
Jump to solution
45 Replies
Serenaphic
Serenaphic15mo ago
Do you have any errors in your logs?
Wanhack
WanhackOP15mo ago
One sec
Wanhack
WanhackOP15mo ago
Something like this?
No description
Serenaphic
Serenaphic15mo ago
Yes, or the error above that you cropped out
Wanhack
WanhackOP15mo ago
No description
Wanhack
WanhackOP15mo ago
Lidarr was easy to figure out, just had to remove the trailing /
Serenaphic
Serenaphic15mo ago
The warning is also about lidarr since it's a component for the calendar
Wanhack
WanhackOP15mo ago
Ah Then would it be a network related issue?
Serenaphic
Serenaphic15mo ago
Any other errors popping up after correcting lidarr? Wait for everything to load before checking the errors because the error won't show before that
Wanhack
WanhackOP15mo ago
Got it, Give me a few minutes for the widgets to load
Wanhack
WanhackOP15mo ago
No description
Wanhack
WanhackOP15mo ago
That's all I got after it loading
Serenaphic
Serenaphic15mo ago
Do you have pings enabled ?
Wanhack
WanhackOP15mo ago
No Should I enable them?
Serenaphic
Serenaphic15mo ago
Just to check, you can disable them later. Enable them and check if any of your apps has a red dot instead of green
Wanhack
WanhackOP15mo ago
A bunch do have red dots, but my guess would be some are not on the same network
Wanhack
WanhackOP15mo ago
No description
Wanhack
WanhackOP15mo ago
Should be able to ping it, right? It's on the same network, just checked the docker compose
Serenaphic
Serenaphic15mo ago
This is something we may want to change, but basically things can get stuck on pinging. Usually you shouldn't have a problem with it because your apps shouldn't be uncontactable Ping time out is the main problem in this, because it means it actually had to wait out the whole timeout time
Wanhack
WanhackOP15mo ago
How long is the timeout time?
Serenaphic
Serenaphic15mo ago
That's why I said we might want to change that, right now it's unchanged by us which means it's set by the browser you use. Firefox is 90 seconds and others can range between 1 minute and 5
Wanhack
WanhackOP15mo ago
Ah, makes sense, so the dashboard for Pihole waits for the pings?
Serenaphic
Serenaphic15mo ago
If your homarr is installed on the same network as lidarr is, check that you have the right IP/port and that lidarr is running Everything does. Once the page is opened, everything gets pinged and data gets pulled from every source that are needed by widgets
Wanhack
WanhackOP15mo ago
Yea, I see this now on mobile, when it used to load the dashboard instantly, now it waits to get the pings
Serenaphic
Serenaphic15mo ago
My advice would be to make sure that all your apps are set correctly. Any link that is not an active app on your homelab and/or needed for integration should be in the bookmark widget instead
Wanhack
WanhackOP15mo ago
You are right, it seems it's the pings
Wanhack
WanhackOP15mo ago
No description
Solution
Serenaphic
Serenaphic15mo ago
2 minutes of timeout, chances may that it's only lidarr causing problems
Wanhack
WanhackOP15mo ago
Removed Lidarr, checking again You are right It just loaded a lot after now
Wanhack
WanhackOP15mo ago
Thank a lot for the help, any ways to fix the services that are on the same network but get timed out pings?
Serenaphic
Serenaphic15mo ago
Check that you have the right IP/port combo, don't leave trailing slashes or anything after the port on the internal address, check that it starts with http:// and not https://, check that the app is actually running Check from homarr's container's command shell if you can ping the app's IP but that's a little more complicated if you're new to this
Wanhack
WanhackOP15mo ago
Will do
Wanhack
WanhackOP15mo ago
@tagaishi Sorry to ping you, but on a different question: is this issue from old configuration?
No description
Serenaphic
Serenaphic15mo ago
Truthfully, no idea. Only saw that bug once before and we can't replicate it.
Wanhack
WanhackOP15mo ago
Ah
Serenaphic
Serenaphic15mo ago
There is a github issue about it, trying to find it
Wanhack
WanhackOP15mo ago
Ahh, I think I figured it out. You know the zoom ability on browsers? if I zoom in and out, it just gets fixed
Wanhack
WanhackOP15mo ago
Not sure why
No description
No description
Serenaphic
Serenaphic15mo ago
Oh damn, Thanks a lot for that info
Wanhack
WanhackOP15mo ago
Yea, zooming out causes the tiles to be weird
No description
Wanhack
WanhackOP15mo ago
For me, the issue appears when I open two catagories
Serenaphic
Serenaphic15mo ago
Yes that was also the case for the other one that reported it on github
Wanhack
WanhackOP15mo ago
The the background zooming in and out an intentional feature? or is it a bug?
Serenaphic
Serenaphic15mo ago
Yes and no, the background stretches to fit the whole page so it scrolls along. But that does result in strange behaviour.
Wanhack
WanhackOP15mo ago
Got it, well hopefully this helps fixing this bug
Want results from more Discord servers?
Add your server