H
Homarr2mo ago
creaper3

Weather not pinging.

I've installed the dashboard and everything works fine except the weather. It can't ping, and I can't search either. There are no errors in logs. I also made sure it pings 1.1.1.1 and it still doesn't work. It's a fresh install too If you need any extra info let me know.
Cakey Bot
Cakey Bot2mo ago
Thank you for submitting a support request. Depending on the volume of requests, our team should get in contact with you shortly.
⚠️ Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
❓ Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
creaper3
creaper32mo ago
oh also I'm using docker compose
Manicraft1001
Manicraft10012mo ago
@creaper3 please post your log and compose.
creaper3
creaper32mo ago
Compose: version: '3' #---------------------------------------------------------------------# Homarr - A simple, yet powerful dashboard for your server. # #---------------------------------------------------------------------# services: homarr: container_name: homarr image: ghcr.io/ajnart/homarr:latest restart: unless-stopped volumes: - /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration - /docker/homarr/configs:/app/data/configs - /docker/homarr/icons:/app/public/icons - /docker/homarr/data:/data ports: - '7575:7575'
creaper3
creaper32mo ago
There are errors now, there weren't before
Manicraft1001
Manicraft10012mo ago
What DNS do you use? Can you resolve any domains from within the container?
creaper3
creaper32mo ago
I used 1.1.1.1, and yes I can resolve other domains
Manicraft1001
Manicraft10012mo ago
GitHub
homarr/src/server/api/routers/weather.ts at dev · ajnart/homarr
Customizable browser's home page to interact with your homeserver's Docker containers (e.g. Sonarr/Radarr) - ajnart/homarr
creaper3
creaper32mo ago
yea that works
creaper3
creaper32mo ago
so when I put it as an app it pings
No description
creaper3
creaper32mo ago
the settings for pinging
No description
Manicraft1001
Manicraft10012mo ago
And how does the widget not load? Can you make a screenshot what is wrong?
creaper3
creaper32mo ago
here is a video of it
Manicraft1001
Manicraft10012mo ago
Can you try a different browser?
creaper3
creaper32mo ago
doesn't work with edge
No description
creaper3
creaper32mo ago
I don't have another browser on my pc
Manicraft1001
Manicraft10012mo ago
Ok. No problem Are you familiar with curl?
creaper3
creaper32mo ago
yea kinda, I've used it it just downloads and installs something right
Manicraft1001
Manicraft10012mo ago
Can you do a curl from inside the container to this URL, but replace ${} with the actual latitude & longitude.
Manicraft1001
Manicraft10012mo ago
GitHub
homarr/src/server/api/routers/weather.ts at dev · ajnart/homarr
Customizable browser's home page to interact with your homeserver's Docker containers (e.g. Sonarr/Radarr) - ajnart/homarr
creaper3
creaper32mo ago
where is ${}? I can't find it anywhere
Manicraft1001
Manicraft10012mo ago
Choose a random location to test, not your actual location
Manicraft1001
Manicraft10012mo ago
Replace these including the $ with the actual values
No description
creaper3
creaper32mo ago
oh ok I see now so I'm guessing I need to fork it then use curl? (I don't really know a whole lot about github)
Manicraft1001
Manicraft10012mo ago
No just copy the URL as text to your clipboard
creaper3
creaper32mo ago
so "curl -x GET https://github.com/ajnart/homarr/blob/dev/src%2Fserver%2Fapi%2Frouters%2Fweather.ts#L51", and then? Sorry I'm a bit confused I don't usually do this custom stuff.
GitHub
homarr/src/server/api/routers/weather.ts at dev · ajnart/homarr
Customizable browser's home page to interact with your homeserver's Docker containers (e.g. Sonarr/Radarr) - ajnart/homarr
Meierschlumpf
Meierschlumpf2mo ago
Almost, the link mani shared contains the link you should try: curl -x GET https://api.open-meteo.com/v1/forecast?latitude=0&longitude=0&daily=weathercode,temperature_2m_max,temperature_2m_min&current_weather=true&timezone=Europe%2FLondon
creaper3
creaper32mo ago
now it says this
creaper3
creaper32mo ago
No description
Manicraft1001
Manicraft10012mo ago
Use a big -X
creaper3
creaper32mo ago
different error this time
No description