bakito / adguardhome-sync

🛡️ Synchronize AdGuard Home config to replicas
Apache License 2.0
832 stars 36 forks source link

Error getting replica status #389

Closed shoegazer47 closed 1 month ago

shoegazer47 commented 1 month ago

What happened?

During the sync process i get this error: Error getting replica status {"from": "192.168.1.111:3000", "to": "192.168.1.215:3000", "error": ": Get \"http://192.168.1.215:3000/control/status\": dial tcp 192.168.1.215:3000: i/o timeout"}

when i visit the "http://192.168.1.215:3000/control/status\" i get a page with the error "404 page not found" But when i remove the "\" after status it works normally.

How can i edit the configs to remove that \

AdguardHome-Sync Version

0.6.12

running in a docker container on Unraid with it's own IP address

AdguardHome Version

v0.107.52

OS Information

UNRAID 6.12.10 x86_64

Configuration

# cron expression to run in daemon mode. (default; "" = runs only once)
cron: "*/10 * * * *"

origin:
  # url of the origin instance
  url: http://192.168.1.111:3000
  # apiPath: define an api path if other than "/control"
  insecureSkipVerify: true # disable tls check
  username: admin
  password: password

# replica instance (optional, if only one)
replica:
  # url of the replica instance
  url: http://192.168.1.215:3000
  #apiPath: control/
  insecureSkipVerify: true # disable tls check
  username: admin
  password: password

# replicas instances (optional, if more than one)
# replicas:
#   # url of the replica instance
#   - url: http://192.168.1.3
#     username: username
#     password: password
#   - url: http://192.168.1.4
#     username: username
#     password: password

# Configure the sync API server, disabled if api port is 0
api:
  # Port, default 8080
  port: 8080
  # if username and password are defined, basic auth is applied to the sync API
  username: admin
  password: password

features:
  generalSettings: true
  queryLogConfig: true
  statsConfig: true
  clientSettings: true
  services: true
  filters: true
  dhcp:
    serverConfig: true
    staticLeases: true
  dns:
    serverConfig: true
    accessLists: true
    rewrites: true

Current Applied Configuration

the output i got is just the config yaml file shared above, unless it is printed somewhere that i don't know

Relevant log output

[custom-init] No custom files found, skipping...
[ls.io-init] done.
2024-08-11T14:50:50.734+0200    INFO    sync    sync/sync.go:38 AdGuardHome sync    {"version": "0.6.12", "build": "2024-07-24T09:31:53Z", "os": "linux", "arch": "amd64"}
2024-08-11T14:50:50.735+0200    DEBUG   sync    types/types.go:107  Using config    {"config": {"origin":{"url":"http://192.168.1.111:3000/","webURL":"http://192.168.1.111:3000/","apiPath":"/control","username":"a***n","password":"4******************n","insecureSkipVerify":true,"autoSetup":false},"replicas":[{"url":"http://192.168.1.215:3000/","webURL":"http://192.168.1.215:3000/","apiPath":"/control","username":"a***n","password":"4******************n","insecureSkipVerify":true,"autoSetup":false}],"cron":"*/10 * * * *","runOnStart":true,"api":{"port":8080,"username":"a***n","password":"C*********1","metrics":{},"tls":{}},"features":{"dns":{"accessLists":true,"serverConfig":true,"rewrites":true},"dhcp":{"serverConfig":true,"staticLeases":true},"generalSettings":true,"queryLogConfig":true,"statsConfig":true,"clientSettings":true,"services":true,"filters":true}}}
2024-08-11T14:50:50.735+0200    INFO    sync    sync/sync.go:65 Setup cronjob   {"cron": "*/10 * * * *", "next-execution": "2024-08-11T15:00:00.000+0200"}
2024-08-11T14:50:50.735+0200    INFO    sync    sync/http.go:68 Starting API server {"port": 8080}
2024-08-11T14:50:50.735+0200    INFO    sync    sync/sync.go:75 Running sync on startup
2024-08-11T14:50:50.735+0200    DEBUG   client  client/client-methods.go:17 do get  {"host": "192.168.1.111:3000", "method": "GET", "path": "status", "username": "admin"}
2024-08-11T14:50:50.797+0200    DEBUG   client  client/client-methods.go:37 got response    {"host": "192.168.1.111:3000", "method": "GET", "path": "status", "username": "admin", "status": 200, "body": "{\"version\":\"v0.107.52\",\"language\":\"en\",\"dns_addresses\":[\"127.0.0.1\",\"192.168.1.111\"],\"dns_port\":53,\"http_port\":3000,\"protection_disabled_duration\":0,\"protection_enabled\":true,\"dhcp_available\":true,\"running\":true}\n", "content-type": ["application/json"]}
2024-08-11T14:50:50.797+0200    INFO    sync    sync/sync.go:174    Connected to origin {"from": "192.168.1.111:3000", "version": "v0.107.52"}
2024-08-11T14:50:50.797+0200    DEBUG   client  client/client-methods.go:17 do get  {"host": "192.168.1.111:3000", "method": "GET", "path": "/profile", "username": "admin"}
2024-08-11T14:50:50.916+0200    DEBUG   client  client/client-methods.go:37 got response    {"host": "192.168.1.111:3000", "method": "GET", "path": "/profile", "username": "admin", "status": 200, "body": "{\"name\":\"admin\",\"language\":\"en\",\"theme\":\"light\"}\n", "content-type": ["application/json"]}
2024-08-11T14:50:50.916+0200    DEBUG   client  client/client-methods.go:17 do get  {"host": "192.168.1.111:3000", "method": "GET", "path": "/parental/status", "username": "admin"}
2024-08-11T14:50:50.977+0200    DEBUG   client  client/client-methods.go:37 got response    {"host": "192.168.1.111:3000", "method": "GET", "path": "/parental/status", "username": "admin", "status": 200, "body": "{\"enabled\":false}\n", "content-type": ["application/json"]}
2024-08-11T14:50:50.977+0200    DEBUG   client  client/client-methods.go:17 do get  {"host": "192.168.1.111:3000", "method": "GET", "path": "/safesearch/status", "username": "admin"}
2024-08-11T14:50:51.037+0200    DEBUG   client  client/client-methods.go:37 got response    {"host": "192.168.1.111:3000", "method": "GET", "path": "/safesearch/status", "username": "admin", "status": 200, "body": "{\"enabled\":false,\"bing\":true,\"duckduckgo\":true,\"google\":true,\"pixabay\":true,\"yandex\":true,\"youtube\":true}\n", "content-type": ["application/json"]}
2024-08-11T14:50:51.037+0200    DEBUG   client  client/client-methods.go:17 do get  {"host": "192.168.1.111:3000", "method": "GET", "path": "/safebrowsing/status", "username": "admin"}
2024-08-11T14:50:51.096+0200    DEBUG   client  client/client-methods.go:37 got response    {"host": "192.168.1.111:3000", "method": "GET", "path": "/safebrowsing/status", "username": "admin", "status": 200, "body": "{\"enabled\":true}\n", "content-type": ["application/json"]}
2024-08-11T14:50:51.096+0200    DEBUG   client  client/client-methods.go:17 do get  {"host": "192.168.1.111:3000", "method": "GET", "path": "/rewrite/list", "username": "admin"}
2024-08-11T14:50:51.156+0200    DEBUG   client  client/client-methods.go:37 got response    {"host": "192.168.1.111:3000", "method": "GET", "path": "/rewrite/list", "username": "admin", "status": 200, "body": "[{\"domain\":\"*.home\",\"answer\":\"100.76.78.17\"},{\"domain\":\"asus.home\",\"answer\":\"192.168.1.1\"},{\"domain\":\"homeassistant.local\",\"answer\":\"100.76.78.17\"}]\n", "content-type": ["application/json"]}
2024-08-11T14:50:51.156+0200    DEBUG   client  client/client-methods.go:17 do get  {"host": "192.168.1.111:3000", "method": "GET", "path": "/blocked_services/get", "username": "admin"}
2024-08-11T14:50:51.216+0200    DEBUG   client  client/client-methods.go:37 got response    {"host": "192.168.1.111:3000", "method": "GET", "path": "/blocked_services/get", "username": "admin", "status": 200, "body": "{\"schedule\":{\"time_zone\":\"Europe/Berlin\"},\"ids\":[]}\n", "content-type": ["application/json"]}
2024-08-11T14:50:51.216+0200    DEBUG   client  client/client-methods.go:17 do get  {"host": "192.168.1.111:3000", "method": "GET", "path": "/filtering/status", "username": "admin"}
2024-08-11T14:50:51.276+0200    DEBUG   client  client/client-methods.go:37 got response    {"host": "192.168.1.111:3000", "method": "GET", "path": "/filtering/status", "username": "admin", "status": 200, "body": "{\"filters\":[{\"url\":\"https://adguardteam.github.io/HostlistsRegistry/assets/filter_1.txt\",\"name\":\"AdGuard DNS filter\",\"last_updated\":\"2024-08-10T17:27:23+02:00\",\"id\":1,\"rules_count\":67731,\"enabled\":true},{\"url\":\"https://adguardteam.github.io/HostlistsRegistry/assets/filter_2.txt\",\"name\":\"AdAway Default Blocklist\",\"id\":2,\"rules_count\":0,\"enabled\":false},{\"url\":\"https://big.oisd.nl\",\"name\":\"OISD Blocklist Big\",\"last_updated\":\"2024-08-10T17:27:23+02:00\",\"id\":1720633469,\"rules_count\":173359,\"enabled\":true},{\"url\":\"https://filters.adtidy.org/extension/ublock/filters/11_optimized.txt\",\"name\":\"AdGuard Mobile\",\"last_updated\":\"2024-08-10T17:27:23+02:00\",\"id\":1720633470,\"rules_count\":6346,\"enabled\":true},{\"url\":\"https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-blocklist.txt\",\"name\":\"NoTracking\",\"last_updated\":\"2024-08-10T17:27:23+02:00\",\"id\":1720975759,\"rules_count\":15925,\"enabled\":true},{\"url\":\"https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-malware.txt\",\"name\":\"NoTracking-malware\",\"last_updated\":\"2024-08-10T17:27:23+02:00\",\"id\":1720975760,\"rules_count\":186,\"enabled\":true}],\"whitelist_filters\":null,\"user_rules\":[],\"interval\":24,\"enabled\":true}\n", "content-type": ["application/json"]}
2024-08-11T14:50:51.276+0200    DEBUG   client  client/client-methods.go:17 do get  {"host": "192.168.1.111:3000", "method": "GET", "path": "/clients", "username": "admin"}
2024-08-11T14:50:51.336+0200    DEBUG   client  client/client-methods.go:37 got response    {"host": "192.168.1.111:3000", "method": "GET", "path": "/clients", "username": "admin", "status": 200, "body": "{\"clients\":[{\"safe_search\":{\"enabled\":false,\"bing\":true,\"duckduckgo\":true,\"google\":true,\"pixabay\":true,\"yandex\":true,\"youtube\":true},\"blocked_services_schedule\":{\"time_zone\":\"Europe/Berlin\"},\"name\":\"Asus Router\",\"blocked_services\":[],\"ids\":[\"192.168.1.1\"],\"tags\":[],\"upstreams\":[],\"filtering_enabled\":false,\"parental_enabled\":false,\"safebrowsing_enabled\":false,\"safesearch_enabled\":false,\"use_global_blocked_services\":true,\"use_global_settings\":true,\"ignore_querylog\":false,\"ignore_statistics\":false,\"upstreams_cache_size\":0,\"upstreams_cache_enabled\":false},{\"safe_search\":{\"enabled\":false,\"bing\":true,\"duckduckgo\":true,\"google\":true,\"pixabay\":true,\"yandex\":true,\"youtube\":true},\"blocked_services_schedule\":{\"time_zone\":\"Europe/Berlin\"},\"name\":\"HP-P1102w\",\"blocked_services\":[],\"ids\":[\"192.168.1.145\"],\"tags\":[],\"upstreams\":[],\"filtering_enabled\":false,\"parental_enabled\":false,\"safebrowsing_enabled\":false,\"safesearch_enabled\":false,\"use_global_blocked_services\":true,\"use_global_settings\":true,\"ignore_querylog\":false,\"ignore_statistics\":false,\"upstreams_cache_size\":0,\"upstreams_cache_enabled\":false},{\"safe_search\":{\"enabled\":false,\"bing\":true,\"duckduckgo\":true,\"google\":true,\"pixabay\":true,\"yandex\":true,\"youtube\":true},\"blocked_services_schedule\":{\"time_zone\":\"Europe/Berlin\"},\"name\":\"Home Assistant\",\"blocked_services\":[],\"ids\":[\"192.168.1.101\"],\"tags\":[],\"upstreams\":[],\"filtering_enabled\":false,\"parental_enabled\":false,\"safebrowsing_enabled\":false,\"safesearch_enabled\":false,\"use_global_blocked_services\":true,\"use_global_settings\":true,\"ignore_querylog\":false,\"ignore_statistics\":false,\"upstreams_cache_size\":0,\"upstreams_cache_enabled\":false},{\"safe_search\":{\"enabled\":false,\"bing\":true,\"duckduckgo\":true,\"google\":true,\"pixabay\":true,\"yandex\":true,\"youtube\":true},\"blocked_services_schedule\":{\"time_zone\":\"Europe/Berlin\"},\"name\":\"HomePod\",\"blocked_services\":[],\"ids\":[\"192.168.1.19\"],\"tags\":[],\"upstreams\":[],\"filtering_enabled\":false,\"parental_enabled\":false,\"safebrowsing_enabled\":false,\"safesearch_enabled\":false,\"use_global_blocked_services\":true,\"use_global_settings\":true,\"ignore_querylog\":false,\"ignore_statistics\":false,\"upstreams_cache_size\":0,\"upstreams_cache_enabled\":false},{\"safe_search\":{\"enabled\":false,\"bing\":true,\"duckduckgo\":true,\"google\":true,\"pixabay\":true,\"yandex\":true,\"youtube\":true},\"blocked_services_schedule\":{\"time_zone\":\"Europe/Berlin\"},\"name\":\"Levoit-Purifier\",\"blocked_services\":[],\"ids\":[\"192.168.1.122\"],\"tags\":[],\"upstreams\":[],\"filtering_enabled\":false,\"parental_enabled\":false,\"safebrowsing_enabled\":false,\"safesearch_enabled\":false,\"use_global_blocked_services\":true,\"use_global_settings\":true,\"ignore_querylog\":false,\"ignore_statistics\":false,\"upstreams_cache_size\":0,\"upstreams_cache_enabled\":false},{\"safe_search\":{\"enabled\":false,\"bing\":true,\"duckduckgo\":true,\"google\":true,\"pixabay\":true,\"yandex\":true,\"youtube\":true},\"blocked_services_schedule\":{\"time_zone\":\"Europe/Berlin\"},\"name\":\"MacBook\",\"blocked_services\":[],\"ids\":[\"192.168.1.146\"],\"tags\":[],\"upstreams\":[],\"filtering_enabled\":false,\"parental_enabled\":false,\"safebrowsing_enabled\":false,\"safesearch_enabled\":false,\"use_global_blocked_services\":true,\"use_global_settings\":true,\"ignore_querylog\":false,\"ignore_statistics\":false,\"upstreams_cache_size\":0,\"upstreams_cache_enabled\":false},{\"safe_search\":{\"enabled\":false,\"bing\":true,\"duckduckgo\":true,\"google\":true,\"pixabay\":true,\"yandex\":true,\"youtube\":true},\"blocked_services_schedule\":{\"time_zone\":\"Europe/Berlin\"},\"name\":\"Meross Plug\",\"blocked_services\":[],\"ids\":[\"192.168.1.18\"],\"tags\":[],\"upstreams\":[],\"filtering_enabled\":false,\"parental_enabled\":false,\"safebrowsing_enabled\":false,\"safesearch_enabled\":false,\"use_global_blocked_services\":true,\"use_global_settings\":true,\"ignore_querylog\":false,\"ignore_statistics\":false,\"upstreams_cache_size\":0,\"upstreams_cache_enabled\":false},{\"safe_search\":{\"enabled\":false,\"bing\":true,\"duckduckgo\":true,\"google\":true,\"pixabay\":true,\"yandex\":true,\"youtube\":true},\"blocked_services_schedule\":{\"time_zone\":\"Europe/Berlin\"},\"name\":\"NUC\",\"blocked_services\":[],\"ids\":[\"192.168.1.215\"],\"tags\":[],\"upstreams\":[],\"filtering_enabled\":false,\"parental_enabled\":false,\"safebrowsing_enabled\":false,\"safesearch_enabled\":false,\"use_global_blocked_services\":true,\"use_global_settings\":true,\"ignore_querylog\":false,\"ignore_statistics\":false,\"upstreams_cache_size\":0,\"upstreams_cache_enabled\":false},{\"safe_search\":{\"enabled\":false,\"bing\":true,\"duckduckgo\":true,\"google\":true,\"pixabay\":true,\"yandex\":true,\"youtube\":true},\"blocked_services_schedule\":{\"time_zone\":\"Europe/Berlin\"},\"name\":\"Nvidia Shield\",\"blocked_services\":[],\"ids\":[\"192.168.1.50\"],\"tags\":[],\"upstreams\":[],\"filtering_enabled\":false,\"parental_enabled\":false,\"safebrowsing_enabled\":false,\"safesearch_enabled\":false,\"use_global_blocked_services\":true,\"use_global_settings\":true,\"ignore_querylog\":false,\"ignore_statistics\":false,\"upstreams_cache_size\":0,\"upstreams_cache_enabled\":false},{\"safe_search\":{\"enabled\":false,\"bing\":true,\"duckduckgo\":true,\"google\":true,\"pixabay\":true,\"yandex\":true,\"youtube\":true},\"blocked_services_schedule\":{\"time_zone\":\"Europe/Berlin\"},\"name\":\"PS5\",\"blocked_services\":[],\"ids\":[\"192.168.1.160\"],\"tags\":[],\"upstreams\":[],\"filtering_enabled\":false,\"parental_enabled\":false,\"safebrowsing_enabled\":false,\"safesearch_enabled\":false,\"use_global_blocked_services\":true,\"use_global_settings\":true,\"ignore_querylog\":false,\"ignore_statistics\":false,\"upstreams_cache_size\":0,\"upstreams_cache_enabled\":false},{\"safe_search\":{\"enabled\":false,\"bing\":true,\"duckduckgo\":true,\"google\":true,\"pixabay\":true,\"yandex\":true,\"youtube\":true},\"blocked_services_schedule\":{\"time_zone\":\"Europe/Berlin\"},\"name\":\"Philips Hue\",\"blocked_services\":[],\"ids\":[\"192.168.1.170\"],\"tags\":[],\"upstreams\":[],\"filtering_enabled\":false,\"parental_enabled\":false,\"safebrowsing_enabled\":false,\"safesearch_enabled\":false,\"use_global_blocked_services\":true,\"use_global_settings\":true,\"ignore_querylog\":false,\"ignore_statistics\":false,\"upstreams_cache_size\":0,\"upstreams_cache_enabled\":false},{\"safe_search\":{\"enabled\":false,\"bing\":true,\"duckduckgo\":true,\"google\":true,\"pixabay\":true,\"yandex\":true,\"youtube\":true},\"blocked_services_schedule\":{\"time_zone\":\"Europe/Berlin\"},\"name\":\"Roomba\",\"blocked_services\":[],\"ids\":[\"192.168.1.114\"],\"tags\":[],\"upstreams\":[],\"filtering_enabled\":false,\"parental_enabled\":false,\"safebrowsing_enabled\":false,\"safesearch_enabled\":false,\"use_global_blocked_services\":true,\"use_global_settings\":true,\"ignore_querylog\":false,\"ignore_statistics\":false,\"upstreams_cache_size\":0,\"upstreams_cache_enabled\":false},{\"safe_search\":{\"enabled\":false,\"bing\":true,\"duckduckgo\":true,\"google\":true,\"pixabay\":true,\"yandex\":true,\"youtube\":true},\"blocked_services_schedule\":{\"time_zone\":\"Europe/Berlin\"},\"name\":\"Shelly 1\",\"blocked_services\":[],\"ids\":[\"192.168.1.86\"],\"tags\":[],\"upstreams\":[],\"filtering_enabled\":false,\"parental_enabled\":false,\"safebrowsing_enabled\":false,\"safesearch_enabled\":false,\"use_global_blocked_services\":true,\"use_global_settings\":true,\"ignore_querylog\":false,\"ignore_statistics\":false,\"upstreams_cache_size\":0,\"upstreams_cache_enabled\":false},{\"safe_search\":{\"enabled\":false,\"bing\":true,\"duckduckgo\":true,\"google\":true,\"pixabay\":true,\"yandex\":true,\"youtube\":true},\"blocked_services_schedule\":{\"time_zone\":\"Europe/Berlin\"},\"name\":\"Shelly 2\",\"blocked_services\":[],\"ids\":[\"192.168.1.165\"],\"tags\":[],\"upstreams\":[],\"filtering_enabled\":false,\"parental_enabled\":false,\"safebrowsing_enabled\":false,\"safesearch_enabled\":false,\"use_global_blocked_services\":true,\"use_global_settings\":true,\"ignore_querylog\":false,\"ignore_statistics\":false,\"upstreams_cache_size\":0,\"upstreams_cache_enabled\":false},{\"safe_search\":{\"enabled\":false,\"bing\":true,\"duckduckgo\":true,\"google\":true,\"pixabay\":true,\"yandex\":true,\"youtube\":true},\"blocked_services_schedule\":{\"time_zone\":\"Europe/Berlin\"},\"name\":\"SoundBar\",\"blocked_services\":[],\"ids\":[\"192.168.1.29\"],\"tags\":[],\"upstreams\":[],\"filtering_enabled\":false,\"parental_enabled\":false,\"safebrowsing_enabled\":false,\"safesearch_enabled\":false,\"use_global_blocked_services\":true,\"use_global_settings\":true,\"ignore_querylog\":false,\"ignore_statistics\":false,\"upstreams_cache_size\":0,\"upstreams_cache_enabled\":false},{\"safe_search\":{\"enabled\":false,\"bing\":true,\"duckduckgo\":true,\"google\":true,\"pixabay\":true,\"yandex\":true,\"youtube\":true},\"blocked_services_schedule\":{\"time_zone\":\"Europe/Berlin\"},\"name\":\"Tado\",\"blocked_services\":[],\"ids\":[\"192.168.1.15\"],\"tags\":[],\"upstreams\":[],\"filtering_enabled\":false,\"parental_enabled\":false,\"safebrowsing_enabled\":false,\"safesearch_enabled\":false,\"use_global_blocked_services\":true,\"use_global_settings\":true,\"ignore_querylog\":false,\"ignore_statistics\":false,\"upstreams_cache_size\":0,\"upstreams_cache_enabled\":false},{\"safe_search\":{\"enabled\":false,\"bing\":true,\"duckduckgo\":true,\"google\":true,\"pixabay\":true,\"yandex\":true,\"youtube\":true},\"blocked_services_schedule\":{\"time_zone\":\"Europe/Berlin\"},\"name\":\"Watch\",\"blocked_services\":[],\"ids\":[\"192.168.1.205\"],\"tags\":[],\"upstreams\":[],\"filtering_enabled\":false,\"parental_enabled\":false,\"safebrowsing_enabled\":false,\"safesearch_enabled\":false,\"use_global_blocked_services\":true,\"use_global_settings\":true,\"ignore_querylog\":false,\"ignore_statistics\":false,\"upstreams_cache_size\":0,\"upstreams_cache_enabled\":false},{\"safe_search\":{\"enabled\":false,\"bing\":true,\"duckduckgo\":true,\"google\":true,\"pixabay\":true,\"yandex\":true,\"youtube\":true},\"blocked_services_schedule\":{\"time_zone\":\"Europe/Berlin\"},\"name\":\"iPad\",\"blocked_services\":[],\"ids\":[\"192.168.1.30\"],\"tags\":[],\"upstreams\":[],\"filtering_enabled\":false,\"parental_enabled\":false,\"safebrowsing_enabled\":false,\"safesearch_enabled\":false,\"use_global_blocked_services\":true,\"use_global_settings\":true,\"ignore_querylog\":false,\"ignore_statistics\":false,\"upstreams_cache_size\":0,\"upstreams_cache_enabled\":false},{\"safe_search\":{\"enabled\":false,\"bing\":true,\"duckduckgo\":true,\"google\":true,\"pixabay\":true,\"yandex\":true,\"youtube\":true},\"blocked_services_schedule\":{\"time_zone\":\"Europe/Berlin\"},\"name\":\"iPhone\",\"blocked_services\":[],\"ids\":[\"192.168.1.67\"],\"tags\":[],\"upstreams\":[],\"filtering_enabled\":false,\"parental_enabled\":false,\"safebrowsing_enabled\":false,\"safesearch_enabled\":false,\"use_global_blocked_services\":true,\"use_global_settings\":true,\"ignore_querylog\":false,\"ignore_statistics\":false,\"upstreams_cache_size\":0,\"upstreams_cache_enabled\":false}],\"auto_clients\":[{\"whois_info\":{},\"ip\":\"ff02::1\",\"name\":\"ip6-allnodes\",\"source\":\"etc/hosts\"},{\"whois_info\":{},\"ip\":\"127.0.0.1\",\"name\":\"localhost\",\"source\":\"etc/hosts\"},{\"whois_info\":{},\"ip\":\"192.168.1.67\",\"name\":\"\",\"source\":\"ARP\"},{\"whois_info\":{},\"ip\":\"192.168.1.29\",\"name\":\"\",\"source\":\"ARP\"},{\"whois_info\":{},\"ip\":\"192.168.1.122\",\"name\":\"\",\"source\":\"ARP\"},{\"whois_info\":{},\"ip\":\"192.168.1.215\",\"name\":\"\",\"source\":\"ARP\"},{\"whois_info\":{},\"ip\":\"192.168.1.114\",\"name\":\"\",\"source\":\"ARP\"},{\"whois_info\":{},\"ip\":\"192.168.1.170\",\"name\":\"\",\"source\":\"ARP\"},{\"whois_info\":{},\"ip\":\"192.168.1.1\",\"name\":\"\",\"source\":\"ARP\"},{\"whois_info\":{},\"ip\":\"192.168.1.86\",\"name\":\"\",\"source\":\"ARP\"},{\"whois_info\":{},\"ip\":\"192.168.1.146\",\"name\":\"\",\"source\":\"ARP\"},{\"whois_info\":{},\"ip\":\"192.168.1.205\",\"name\":\"\",\"source\":\"ARP\"},{\"whois_info\":{},\"ip\":\"::1\",\"name\":\"localhost\",\"source\":\"etc/hosts\"},{\"whois_info\":{},\"ip\":\"192.168.1.2\",\"name\":\"\",\"source\":\"ARP\"},{\"whois_info\":{},\"ip\":\"192.168.1.15\",\"name\":\"\",\"source\":\"ARP\"},{\"whois_info\":{},\"ip\":\"192.168.1.101\",\"name\":\"\",\"source\":\"ARP\"},{\"whois_info\":{},\"ip\":\"192.168.1.160\",\"name\":\"\",\"source\":\"ARP\"},{\"whois_info\":{},\"ip\":\"192.168.1.165\",\"name\":\"\",\"source\":\"ARP\"},{\"whois_info\":{},\"ip\":\"192.168.1.111\",\"name\":\"08f084405222\",\"source\":\"etc/hosts\"},{\"whois_info\":{},\"ip\":\"fe00::\",\"name\":\"ip6-localnet\",\"source\":\"etc/hosts\"},{\"whois_info\":{},\"ip\":\"ff00::\",\"name\":\"ip6-mcastprefix\",\"source\":\"etc/hosts\"},{\"whois_info\":{},\"ip\":\"192.168.1.18\",\"name\":\"\",\"source\":\"ARP\"},{\"whois_info\":{},\"ip\":\"192.168.1.50\",\"name\":\"\",\"source\":\"ARP\"},{\"whois_info\":{},\"ip\":\"192.168.1.30\",\"name\":\"\",\"source\":\"ARP\"},{\"whois_info\":{},\"ip\":\"ff02::2\",\"name\":\"ip6-allrouters\",\"source\":\"etc/hosts\"},{\"whois_info\":{},\"ip\":\"192.168.1.19\",\"name\":\"\",\"source\":\"ARP\"},{\"whois_info\":{},\"ip\":\"192.168.1.247\",\"name\":\"\",\"source\":\"ARP\"}],\"supported_tags\":[\"device_audio\",\"device_camera\",\"device_gameconsole\",\"device_laptop\",\"device_nas\",\"device_other\",\"device_pc\",\"device_phone\",\"device_printer\",\"device_securityalarm\",\"device_tablet\",\"device_tv\",\"os_android\",\"os_ios\",\"os_linux\",\"os_macos\",\"os_other\",\"os_windows\",\"user_admin\",\"user_child\",\"user_regular\"]}\n", "content-type": ["application/json"]}
2024-08-11T14:50:51.336+0200    DEBUG   client  client/client-methods.go:17 do get  {"host": "192.168.1.111:3000", "method": "GET", "path": "/querylog/config", "username": "admin"}
2024-08-11T14:50:51.396+0200    DEBUG   client  client/client-methods.go:37 got response    {"host": "192.168.1.111:3000", "method": "GET", "path": "/querylog/config", "username": "admin", "status": 200, "body": "{\"ignored\":[],\"interval\":7776000000,\"enabled\":true,\"anonymize_client_ip\":false}\n", "content-type": ["application/json"]}
2024-08-11T14:50:51.396+0200    DEBUG   client  client/client-methods.go:17 do get  {"host": "192.168.1.111:3000", "method": "GET", "path": "/stats/config", "username": "admin"}
2024-08-11T14:50:51.456+0200    DEBUG   client  client/client-methods.go:37 got response    {"host": "192.168.1.111:3000", "method": "GET", "path": "/stats/config", "username": "admin", "status": 200, "body": "{\"ignored\":[],\"interval\":86400000,\"enabled\":true}\n", "content-type": ["application/json"]}
2024-08-11T14:50:51.456+0200    DEBUG   client  client/client-methods.go:17 do get  {"host": "192.168.1.111:3000", "method": "GET", "path": "/access/list", "username": "admin"}
2024-08-11T14:50:51.516+0200    DEBUG   client  client/client-methods.go:37 got response    {"host": "192.168.1.111:3000", "method": "GET", "path": "/access/list", "username": "admin", "status": 200, "body": "{\"allowed_clients\":[],\"disallowed_clients\":[],\"blocked_hosts\":[\"version.bind\",\"id.server\",\"hostname.bind\"]}\n", "content-type": ["application/json"]}
2024-08-11T14:50:51.517+0200    DEBUG   client  client/client-methods.go:17 do get  {"host": "192.168.1.111:3000", "method": "GET", "path": "/dns_info", "username": "admin"}
2024-08-11T14:50:51.578+0200    DEBUG   client  client/client-methods.go:37 got response    {"host": "192.168.1.111:3000", "method": "GET", "path": "/dns_info", "username": "admin", "status": 200, "body": "{\"upstream_dns\":[\"https://dns.quad9.net/dns-query\",\"https://dns.google/dns-query\",\"https://dns.cloudflare.com/dns-query\",\"#https://dns10.quad9.net/dns-query\"],\"upstream_dns_file\":\"\",\"bootstrap_dns\":[\"9.9.9.10\",\"149.112.112.10\",\"2620:fe::10\",\"2620:fe::fe:10\"],\"fallback_dns\":[],\"protection_enabled\":true,\"ratelimit\":0,\"ratelimit_subnet_len_ipv4\":24,\"ratelimit_subnet_len_ipv6\":56,\"ratelimit_whitelist\":[],\"blocking_mode\":\"null_ip\",\"edns_cs_enabled\":false,\"edns_cs_use_custom\":false,\"dnssec_enabled\":true,\"disable_ipv6\":true,\"upstream_mode\":\"parallel\",\"blocked_response_ttl\":10,\"cache_size\":20000000,\"cache_ttl_min\":2400,\"cache_ttl_max\":84600,\"cache_optimistic\":true,\"resolve_clients\":true,\"use_private_ptr_resolvers\":false,\"local_ptr_upstreams\":[],\"blocking_ipv4\":\"\",\"blocking_ipv6\":\"\",\"protection_disabled_until\":null,\"edns_cs_custom_ip\":\"\"}\n", "content-type": ["application/json"]}
2024-08-11T14:50:51.578+0200    DEBUG   client  client/client-methods.go:17 do get  {"host": "192.168.1.111:3000", "method": "GET", "path": "/dhcp/status", "username": "admin"}
2024-08-11T14:50:51.639+0200    DEBUG   client  client/client-methods.go:37 got response    {"host": "192.168.1.111:3000", "method": "GET", "path": "/dhcp/status", "username": "admin", "status": 200, "body": "{\"interface_name\":\"\",\"v4\":{\"gateway_ip\":\"\",\"subnet_mask\":\"\",\"range_start\":\"\",\"range_end\":\"\",\"lease_duration\":0},\"v6\":{\"range_start\":\"\",\"lease_duration\":86400},\"leases\":[],\"static_leases\":[],\"enabled\":false}\n", "content-type": ["application/json"]}
2024-08-11T14:50:51.639+0200    INFO    sync    sync/sync.go:267    Start sync  {"from": "192.168.1.111:3000", "to": "192.168.1.215:3000"}
2024-08-11T14:50:51.639+0200    DEBUG   client  client/client-methods.go:17 do get  {"host": "192.168.1.215:3000", "method": "GET", "path": "status", "username": "admin"}

Anything else?

No response

bakito commented 1 month ago

Hi @shoegazer47 The \" is part of the json output. Quotes are escaped with backslash.

The issue seems to be, that tje docker container does not habe connectivity to your replica. Probably a docker network issue.

Is the replica initialized?

shoegazer47 commented 1 month ago

Is the replica initialized?

Yes, and everything was working fine, this error is happening all of a sudden I can ping the replica from the docker container

shoegazer47 commented 1 month ago

you are correct. It was the firewall blocking the port 3000 I will close this ticket. thanks so much.