#GeoJSON can't access json file

1 messages · Page 1 of 1 (latest)

signal nacelle
#

I'm using Docker container Home Assistant, and i have a json file inside the folder in app-data/home-assistant/data/www/gtfs2, when using GeoJson integration, i put in the url field http://192.168.1.10:8123/local/gtfs2/file.json but doesn't work. Even inserting the url in a web browser i get 404: Not Found. How can i grant access to the local url in Dockerized Home Assistant?

#

Registratore: aio_geojson_client.feed
Fonte: components/geo_json_events/manager.py:77
Prima occorrenza: 23 marzo 2025 alle ore 18:57:43 (3 occorrenze)
Ultimo accesso: 23 marzo 2025 alle ore 19:01:36

Fetching data from http://192.168.1.10:8123/local/gtf2/file.json failed with 404, message='Not Found', url='http://192.168.1.10:8123/local/gtfs2/file.json'
Requesting data from 127.0.0.1/local/gtfs2/file.json failed with client error: 127.0.0.1/local/gtfs2/file.json

wicked acorn
#

www usually goes in the same directory as your configuration.yaml. Is that in home-assistant/data? Not that familiar with the docker structure.