Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when switching to the "Encryption Settings" page #6909

Closed
4 tasks done
fizsef opened this issue Apr 11, 2024 · 15 comments
Closed
4 tasks done

Error when switching to the "Encryption Settings" page #6909

fizsef opened this issue Apr 11, 2024 · 15 comments

Comments

@fizsef
Copy link

fizsef commented Apr 11, 2024

Prerequisites

Platform (OS and CPU architecture)

Linux, ARM64

Installation

GitHub releases or script from README

Setup

On a router, DHCP is handled by the router

AdGuard Home version

107.48

Action

In the menu, select Settings-Encryption settings

Expected result

without error

Actual result

An error appears - "Error: control/tls/validate | port 443 is not available, cannot enable HTTPS on it | 400"

Additional information and/or screenshots

1

@renatoyamane
Copy link

Probably because you are using port 443 for another service?

@fizsef
Copy link
Author

fizsef commented Apr 19, 2024

Probably because you are using port 443 for another service?

No, I'm not busy, I don't even know how to occupy it.

@ghost
Copy link

ghost commented Apr 19, 2024

Hi @fizsef, it seems that something on your device may be using that port.

What do you get for the following command?
sudo netstat -tunlp | grep :443

@ghost ghost added the waiting for data Waiting for users to provide more data. label Apr 19, 2024
@fizsef
Copy link
Author

fizsef commented Apr 20, 2024

What do you get for the following command?
sudo netstat -tunlp | grep :443

1

@ghost
Copy link

ghost commented Apr 20, 2024

@fizsef it seems you have the OpenWrt LuCI interface running on port 443.

To change the port for AdGuard Home on OpenWrt, you can follow these steps:

  1. Access your OpenWrt router via SSH or through the LuCI web interface.
  2. Edit the AdGuard Home configuration file. This file is typically located at /etc/AdGuardHome.yaml or /opt/AdGuardHome/AdGuardHome.yaml, depending on how AdGuard Home was installed.
  3. Locate the section in the configuration file that specifies the port settings. It will look something like this:
  4. Change the https port value from 443 to a different port number that is not in use by another service. For example, you could use 8080 or 5353.
  5. Save the changes to the configuration file.
  6. Restart AdGuard Home to apply the new settings. You can do this by running the command /etc/init.d/AdGuardHome restart or by rebooting your router.

Make sure the new port you choose does not conflict with other services and is not blocked by your firewall settings.

If you’re using LuCI, you may also need to adjust the firewall settings to allow traffic on the new port. Navigate to Network → Firewall → Traffic Rules and add a rule for the new port.

@fizsef
Copy link
Author

fizsef commented Apr 20, 2024

@fizsefкажется, у вас интерфейс OpenWrt LuCI работает на порту 443.

Чтобы изменить порт для AdGuard Home в OpenWrt, вы можете выполнить следующие действия:

  1. Получите доступ к маршрутизатору OpenWrt через SSH или через веб-интерфейс LuCI.
  2. Отредактируйте файл конфигурации AdGuard Home. Этот файл обычно находится по адресу /etc/AdGuardHome.yamlили /opt/AdGuardHome/AdGuardHome.yamlв зависимости от того, как был установлен AdGuard Home.
  3. Найдите раздел в файле конфигурации, в котором указаны настройки порта. Это будет выглядеть примерно так:
bind_host: 0.0.0.0
bind_port: 443
  1. Измените bind_portзначение 443на другой номер порта, который не используется другой службой. Например, вы можете использовать 8080или 5353.
  2. Сохраните изменения в файле конфигурации.
  3. Перезапустите AdGuard Home, чтобы применить новые настройки. Вы можете сделать это, выполнив команду /etc/init.d/AdGuardHome restartили перезагрузив маршрутизатор.

Убедитесь, что выбранный вами новый порт не конфликтует с другими службами и не заблокирован настройками брандмауэра.

Если вы используете LuCI, вам также может потребоваться настроить параметры брандмауэра, чтобы разрешить трафик через новый порт. Перейдите в «Сеть» → «Брандмауэр» → «Правила трафика» и добавьте правило для нового порта.

I don't use port 443 in my yaml file. I have 53 registered.
1

@ghost
Copy link

ghost commented Apr 20, 2024

That is your DNS listening port, not the HTTPS listening port.

Could you please post the rest of your yaml, redacting any private information?

@fizsef
Copy link
Author

fizsef commented Apr 21, 2024

That is your DNS listening port, not the HTTPS listening port.

Could you please post the rest of your yaml, redacting any private information?

`http:
pprof:
port: 6060
enabled: false
address: 0.0.0.0:3000
session_ttl: 720h
users:

  • name: root
    password: $2a$10$MBIpu1w6Vq.vs.0YNTEXlOem6mqKiopTzJ3a3yUalky5UvmvI0uWu
    auth_attempts: 0
    block_auth_min: 15
    http_proxy: ""
    language: ""
    theme: auto
    dns:
    bind_hosts:
    • 0.0.0.0
      port: 53
      anonymize_client_ip: false
      ratelimit: 20
      ratelimit_subnet_len_ipv4: 24
      ratelimit_subnet_len_ipv6: 56
      ratelimit_whitelist: []
      refuse_any: true
      upstream_dns:
    • '[/cub.red/]8.8.8.8'
    • '# Котороые шифруют запросы и блокируют взрослый контент'
    • https://family.cloudflare-dns.com/dns-query
    • '#https://family.adguard-dns.com/dns-query'
    • '#quic://family.adguard-dns.com'
    • '#tls://family.cloudflare-dns.com'
    • '#https://dns.cloudflare.com/dns-query'
    • '#https://dns.quad9.net/dns-query'
    • '# блокируют, но не шифруют запросы'
    • 'Check DNS performance with a DNS benchmark #1.0.0.3'
    • 'onliner.by - missed ad #8.8.8.8'
    • '#шифруют, но не блокируют взрослый контент, в поисковике вроде как блокируют, но не бльше'
    • '#https://1.1.1.3/dns-query'
    • '#tls://1.1.1.1'
    • '# От OpenDns. Вроде как должен блокировать, судя по журналу шифрует , на 443 порт уходят запросы. Хотя сайт'
    • '#https://1.1.1.1/help показывает, что нет шифрования. Возможно он свои клоудфаровские когда ДНС указаны только'
    • '#показывает. Но как второй вариант пойдет, тайминг выше чем у лучшего от клоудфаре'
    • '#https://doh.familyshield.opendns.com/dns-query'
    • '# адгуарл ДНС, вроде как идет на 853 порт, т.е.зашифрован, вроде и порно блокирует. Но нужно проверить детально.'
    • '# но очень большой тайминг, просто работает через раз, не варинат'
    • '#tls://dns-family.adguard.com'
    • '###################################################'
    • '#вроде как TLS и взрослый контент и рекламу. А НЕТ! Все идет на 53 порт, никакого шифрования'
    • 'NullPointerException in DnsRequestWorker #9.9.9.9'
    • '#'
    • 'Add "Adguard DNS filter" to the list of available filters in all AG versions #77.88.8.3'
    • 'Add "Adguard DNS filter" to the list of available filters in all AG versions #77.88.8.7'
    • 'Join the Gitter chat room #94.140.14.140'
    • '#tls://adult-filter-dns.cleanbrowsing.org'
    • 'Join the Gitter chat room #94.140.14.14'
    • '#https://dns.adguard.com'
    • '#https://dns-unfiltered.adguard.com/dns-query'
    • '#tls://dns-unfiltered.adguard.com'
    • '#https://dns-unfiltered.adguard.com/dns-query'
    • '#https://dns10.quad9.net/dns-query'
      upstream_dns_file: ""
      bootstrap_dns:
    • 8.8.8.8
    • 9.9.9.10
    • 149.112.112.10
    • 2620:fe::10
    • 2620:fe::fe:10
      fallback_dns:
    • https://family.adguard-dns.com/dns-query
      upstream_mode: load_balance
      fastest_timeout: 1s
      allowed_clients: []
      disallowed_clients: []
      blocked_hosts:
    • version.bind
    • id.server
    • hostname.bind
      trusted_proxies:
    • 127.0.0.0/8
    • ::1/128
      cache_size: 4194304
      cache_ttl_min: 0
      cache_ttl_max: 0
      cache_optimistic: false
      bogus_nxdomain: []
      aaaa_disabled: false
      enable_dnssec: false
      edns_client_subnet:
      custom_ip: ""
      enabled: false
      use_custom: false
      max_goroutines: 300
      handle_ddr: true
      ipset: []
      ipset_file: ""
      bootstrap_prefer_ipv6: false
      upstream_timeout: 10s
      private_networks: []
      use_private_ptr_resolvers: false
      local_ptr_upstreams: []
      use_dns64: false
      dns64_prefixes: []
      serve_http3: false
      use_http3_upstreams: false
      serve_plain_dns: true
      hostsfile_enabled: true
      tls:
      enabled: false
      server_name: ""
      force_https: false
      port_https: 443
      port_dns_over_tls: 853
      port_dns_over_quic: 853
      port_dnscrypt: 0
      dnscrypt_config_file: ""
      allow_unencrypted_doh: false
      certificate_chain: ""
      private_key: ""
      certificate_path: ""
      private_key_path: ""
      strict_sni_check: false
      querylog:
      dir_path: ""
      ignored:
    • '||samsungosp.com^'
    • '||samsungcloudsolution.net^'
    • '||samsungcloudsolution.com^'
    • '||samsungelectronics.com^'
    • '||graph.facebook.com'
    • '||tiktokv.com'
      interval: 6h
      size_memory: 1000
      enabled: false
      file_enabled: true
      statistics:
      dir_path: ""
      ignored:
    • '||samsungosp.com^'
    • '||samsungcloudsolution.net^'
    • '||samsungcloudsolution.com^'
    • '||samsungelectronics.com^'
      interval: 24h
      enabled: true
      filters:
  • enabled: true
    url: https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt
    name: AdGuard Simplified Domain Names filter
    id: 1
  • enabled: true
    url: https://adaway.org/hosts.txt
    name: AdAway
    id: 2
  • enabled: true
    url: https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_11_Mobile/filter.txt
    name: Мобильный
    id: 3
  • enabled: true
    url: https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_3_Spyware/filter.txt
    name: Счетчики
    id: 4
  • enabled: true
    url: https://raw.githubusercontent.com/fizsef/AGH_myfilter/main/myfilter.txt
    name: myfilter
    id: 5
  • enabled: true
    url: https://pgl.yoyo.org/adservers/serverlist.php?hostformat=adblockplus&showintro=1&mimetype=plaintext
    name: Blocklist for use with Adblock Plus
    id: 6
  • enabled: false
    url: https://malware-filter.gitlab.io/malware-filter/urlhaus-filter-agh.txt
    name: urlhaus-filter
    id: 13
  • enabled: false
    url: https://easylist-downloads.adblockplus.org/bitblock.txt
    name: Adblock BitBlock
    id: 7
  • enabled: false
    url: https://easylist-downloads.adblockplus.org/easylist.txt
    name: Adblock EasyList
    id: 8
  • enabled: false
    url: https://easylist-downloads.adblockplus.org/advblock.txt
    name: RU AdList
    id: 9
  • enabled: false
    url: https://badmojr.gitlab.io/1hosts/Lite/adblock.txt
    name: С гит еще один
    id: 10
  • enabled: false
    url: https://malware-filter.gitlab.io/malware-filter/urlhaus-filter-ag.txt
    name: malware
    id: 11
  • enabled: false
    url: https://raw.githubusercontent.com/Perflyst/PiHoleBlocklist/master/SmartTV-AGH.txt
    name: Для SmartTV
    id: 12
  • enabled: false
    url: http://sbc.io/hosts/hosts
    name: StevenBlack host basic
    id: 1575618242
  • enabled: false
    url: http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts
    name: StevenBlack host+fakenews + gambling + porn + social
    id: 1575618243
  • enabled: false
    url: https://cdn.jsdelivr.net/gh/privacy-protection-tools/anti-AD/anti-ad-easylist.txt
    name: anti-AD(Adblock+neohosts+yhosts+cjxlist+adhlist)
    id: 1577113202
  • enabled: false
    url: https://raw.githubusercontent.com/mmotti/adguard-home-filters/master/filters.txt
    name: github
    id: 1607179089
  • enabled: false
    url: https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts
    name: PornGitHub
    id: 1607179090
  • enabled: false
    url: https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_1_Russian/filter.txt
    name: Русский
    id: 1612611160
  • enabled: false
    url: https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_14_Annoyances/filter.txt
    name: Раздражители
    id: 1612611161
  • enabled: false
    url: https://someonewhocares.org/hosts/zero/hosts
    name: someonewhocares.org
    id: 1613548866
  • enabled: false
    url: https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/nocoin.txt
    name: adblock-nocoin-list
    id: 1613801460
  • enabled: false
    url: https://raw.githubusercontent.com/greatis/Anti-WebMiner/master/hosts
    name: Anti-WebMiner
    id: 1613801461
  • enabled: false
    url: https://raw.githubusercontent.com/Zalexanninev15/NoADS_RU/master/ads_list.txt
    name: Zalexanninev15
    id: 1613801462
  • enabled: false
    url: https://schakal.ru/hosts/alive_hosts_ru_com_zen.txt
    name: Ot_Shakal_Dzen
    id: 1629985905
  • enabled: false
    url: https://schakal.ru/hosts/hosts.txt
    name: Ot_Shakal
    id: 1629985906
  • enabled: false
    url: https://raw.githubusercontent.com/Bon-Appetit/porn-domains/master/block.txt
    name: Porno_Bon-Appetit
    id: 1641714764
  • enabled: false
    url: https://abp.oisd.nl/basic/
    name: ablock_basic
    id: 1642063168
  • enabled: false
    url: https://github.com/notracking/hosts-blocklists/raw/master/adblock/adblock.txt
    name: notracking
    id: 1650281247
  • enabled: false
    url: https://abp.oisd.nl
    name: oisd
    id: 1650281248
  • enabled: false
    url: https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_18_Annoyances_Cookies/filter.txt
    name: Cookie-уведомления
    id: 1699384857
  • enabled: false
    url: https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_19_Annoyances_Popups/filter.txt
    name: Фильтр всплывающих окон
    id: 1699384858
  • enabled: false
    url: https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_21_Annoyances_Other/filter.txt
    name: Фильтр других раздражителей
    id: 1699384859
  • enabled: false
    url: https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_20_Annoyances_MobileApp/filter.txt
    name: Фильтр баннеров мобильных приложений
    id: 1699384860
  • enabled: false
    url: https://easylist-downloads.adblockplus.org/antiadblockfilters.txt
    name: Adblock Warning Removal List
    id: 1699728752
  • enabled: false
    url: https://easylist-downloads.adblockplus.org/cntblock.txt
    name: Adblock Counters
    id: 1699728754
  • enabled: false
    url: https://raw.githubusercontent.com/hagezi/dns-blocklists/main/adblock/multi.txt
    name: HaGeZi's Normal DNS Blocklist
    id: 1699777808
  • enabled: false
    url: https://o0.pages.dev/mini/adblock.txt
    name: 1Hosts_uBlock Origin.AdGuardHome
    id: 1707246718
    whitelist_filters: []
    user_rules:
  • '! пользовательстке фильтры'
  • '@@||s.click.aliexpress.com^$important'
  • '@@||ss-iptv.com^'
  • '!||googlevideo.com^'
  • '!||google.com^$important'
  • '!||www.gstatic.com^$important'
  • '||push.yandex.ru^$important'
  • '||google.org^$client=''Asus Ren'''
  • '||safebrowsing.googleapis.com^$important'
  • '#####################################'
  • '!! майкрософт'
  • '!||windowsupdate.com^$important'
  • '!||data.microsoft.com^$important'
  • '!||www.bing.com^$important'
  • '!||login.live.com^$important'
  • '!||live.net^$important'
  • '!||microsoft.com^$important'
  • '!||windows.com^$important'
  • '#########################################'
  • '!!!TV32_TV40!!!'
  • '||facebook.com^$client=TV32|TV40|TV40_ethernet'
  • '||yahoo.com^$client=TV32|TV40|TV40_ethernet'
  • '||giraffic.com^$client=TV32|TV40|TV40_ethernet'
  • '!||samsungelectronics.com^$client=TV32|TV40|TV40_ethernet'
  • '!||samsungcloudsolution.net^$client=TV32|TV40|TV40_ethernet'
  • '!||samsungcloudsolution.com^$client=TV32|TV40|TV40_ethernet'
  • '!||samsungotn.net^$client=TV32|TV40|TV40_ethernet'
  • '#################################################'
  • '!!!//////////////////////////'
  • '!!! Planshet'
  • '!||youtube.com^$client=''Planshet'''
  • '!||googleapis.com^$client=''Planshet'''
  • '!||www.facebook.com^$client=''Planshet'''
  • '!||googlevideo.com^$client=''Planshet'''
  • '||whatsapp.net^$client=''Planshet'''
  • '||prog-money.com^$important'
  • '||www.ospserver.net^$client=''Planshet'''
  • '||vk.com^$client=''Planshet'''
  • '||strm.yandex.ru^$client=''Planshet'''
  • '#Свой Асус '
  • '!||youtube.com^$client=''Asus_Fiz'''
  • '!!!//////////////////////////'
  • '#Смарт WindowsPhone'
  • '!||radiostyle.ru^$client=''WindowsPhone'''
  • '#Смарт Лейла'
  • '!||googlevideo.com^$client=''Realme-C25s'''
  • '!||dns.google.com^$client=''Realme-C25s'''
  • '||ad.mail.ru^$client=''Realme-C25s'''
  • '||facebook.com^$client=''Realme-C25s'''
  • '||rbxcdn.com^$client=''Realme-C25s'''
  • '||rbxcdn.com^$client=''Realme-C25s'''
  • '||roblox.com^$client=''Realme-C25s'''
  • '#'
  • '####'
  • '||static.rambler.ru^$important'
  • '||rcm.rambler.ru^$important'
  • '||zoomdecorate.rambler.ru^$important'
  • '||loyalty.rambler-co.ru^$important'
  • '||developers.rambler.ru^$important'
  • '||c.rambler.ru^$important'
  • '||id.rambler.ru^$important'
  • '||rcmjs.rambler.ru^$important'
  • '||mgid.com^'
  • '||pgepodownload.mediatek.com^$important'
  • '||chatserver1.comm100.io^$important'
  • '||movavi.id^$important'
  • '||movavi.com^$important'
  • '||ext-strm-telia02.strm.yandex.net^'
  • '||&eventtype=close&reason=3&duration=9325^$important'
  • '###Скайп '
  • '||broker.skype.com^$important'
  • '# TikTok'
  • '||tiktokv.com^$important'
  • '||tiktokv.com.lan^$important'
  • '||tiktokcdn.com^$important'
  • '||ttlivecdn.com^$important'
  • '||tiktokcdn.com.lan^$important'
  • '||ttlivecdn.com.lan^$important'
  • '#################'
  • '# Порно'
  • '||sexdesant.com^$important'
  • '||ebalka.fun^$important'
  • '||prostoporno.contact^'
  • '||greasyfork.org^$important'
  • '||code.jquery.com^$important'
  • '||drtst.com^$important'
  • '||batsa.live^$important'
  • '!||xnxx.com^$important'
  • '||xnxx-cdn.com^$important'
  • '||phncdn.com^$important'
  • '||phprcdn.com^$important'
  • '||jwpcdn.com^$important'
  • '||cdnxe.com^$important'
  • '||porno365.style^$important'
  • '||vscdns.com^$important'
  • '||pornwild.to^$important'
  • '||x.pornoeba.live^$important'
  • '||e.pornoeba.live^$important'
  • '||fv.24video.in^$important'
  • '||24video.in^$important'
  • '||k.247porno.one^$important'
  • '||cdn.247porno.one^$important'
  • '||cdn1.vids69.com^$important'
  • '||vids69.com^$important'
  • '||video-preview.s3.yandex.net^$important'
  • '###'
  • '#||facebook.com^$client=''192.168.0.224'''
  • '#||instagram.com^$client=''192.168.0.224'''
  • '||pastebin.com^$important'
  • '||arc.msn.com^$important'
  • '@@||rutracker.org^$important'
  • '@@||cloudflare-ipfs.com^$important'
  • '||t5.rbxcdn.com^$important'
  • '||economy.roblox.com^$important'
  • '||tools.messenger.yandex.net^$important'
  • '||whoami.akamai.net^$important'
  • '||graph.facebook.com^$important'
  • '||whoami.akamai.net.lan^$important'
  • '||omes-sec.heytapmobile.com.lan^$important'
  • '||embed-player.space^$important'
  • '||practical-interest.com^$important'
  • '||yandex-video.naydex.net^$important'
  • '#@@||cub.red^$important'
  • '#@@||cdn1.ozone.ru^$important'
  • '#@@||ir-3.ozone.ru^$important'
  • '#@@||cdn2.ozone.ru^$important'
  • '#@@||io.ozone.ru^$important'
  • '#@@||v.ozone.ru^$important'
  • '#@@||ir.ozone.ru^$important'
  • '@@||alipromo.com^$important'
  • '@@||visor.sberbank.ru^$important'
  • '||push.esputnik.com^$important'
  • ""
    dhcp:
    enabled: false
    interface_name: ""
    local_domain_name: lan
    dhcpv4:
    gateway_ip: ""
    subnet_mask: ""
    range_start: ""
    range_end: ""
    lease_duration: 86400
    icmp_timeout_msec: 1000
    options: []
    dhcpv6:
    range_start: ""
    lease_duration: 86400
    ra_slaac_only: false
    ra_allow_slaac: false
    filtering:
    blocking_ipv4: ""
    blocking_ipv6: ""
    blocked_services:
    schedule:
    time_zone: UTC
    ids: []
    protection_disabled_until: null
    safe_search:
    enabled: false
    bing: true
    duckduckgo: true
    google: true
    pixabay: true
    yandex: true
    youtube: true
    blocking_mode: default
    parental_block_host: family-block.dns.adguard.com
    safebrowsing_block_host: standard-block.dns.adguard.com
    rewrites: []
    safebrowsing_cache_size: 1048576
    safesearch_cache_size: 1048576
    parental_cache_size: 1048576
    cache_time: 30
    filters_update_interval: 24
    blocked_response_ttl: 10
    filtering_enabled: true
    parental_enabled: true
    safebrowsing_enabled: false
    protection_enabled: true
    clients:
    runtime_sources:
    whois: true
    arp: true
    rdns: true
    dhcp: true
    hosts: true
    persistent:
    • safe_search:
      enabled: false
      bing: true
      duckduckgo: true
      google: true
      pixabay: true
      yandex: true
      youtube: true
      blocked_services:
      schedule:
      time_zone: UTC
      ids: []
      name: Asus_Fiz
      ids:
      • 192.168.0.224
        tags:
      • device_laptop
        upstreams: []
        uid: 018d7fd5-0489-749e-9620-38b4b00ce4c8
        upstreams_cache_size: 0
        upstreams_cache_enabled: false
        use_global_settings: true
        filtering_enabled: false
        parental_enabled: false
        safebrowsing_enabled: false
        use_global_blocked_services: true
        ignore_querylog: false
        ignore_statistics: false
    • safe_search:
      enabled: false
      bing: true
      duckduckgo: true
      google: true
      pixabay: true
      yandex: true
      youtube: true
      blocked_services:
      schedule:
      time_zone: UTC
      ids: []
      name: Asus_Fiz_Lan
      ids:
      • 192.168.0.160
        tags:
      • device_laptop
        upstreams: []
        uid: 018d7fd5-0489-7128-bb7b-678aba4dd72a
        upstreams_cache_size: 0
        upstreams_cache_enabled: false
        use_global_settings: true
        filtering_enabled: false
        parental_enabled: false
        safebrowsing_enabled: false
        use_global_blocked_services: true
        ignore_querylog: false
        ignore_statistics: false
    • safe_search:
      enabled: false
      bing: true
      duckduckgo: true
      google: true
      pixabay: true
      yandex: true
      youtube: true
      blocked_services:
      schedule:
      time_zone: UTC
      ids: []
      name: Asus_Vivobook
      ids:
      • 192.168.0.202
        tags:
      • device_laptop
        upstreams:
      • 1.1.1.1
      • 8.8.8.8
        uid: 018d7fd5-0489-7f57-a37a-60a05e04b50b
        upstreams_cache_size: 0
        upstreams_cache_enabled: false
        use_global_settings: false
        filtering_enabled: false
        parental_enabled: false
        safebrowsing_enabled: false
        use_global_blocked_services: false
        ignore_querylog: false
        ignore_statistics: false
    • safe_search:
      enabled: false
      bing: true
      duckduckgo: true
      google: true
      pixabay: true
      yandex: true
      youtube: true
      blocked_services:
      schedule:
      time_zone: UTC
      ids: []
      name: Elmira
      ids:
      • 192.168.0.127
        tags:
      • device_phone
        upstreams: []
        uid: 018ec956-8851-7757-aa54-35c7bd9997e4
        upstreams_cache_size: 0
        upstreams_cache_enabled: false
        use_global_settings: true
        filtering_enabled: false
        parental_enabled: false
        safebrowsing_enabled: false
        use_global_blocked_services: true
        ignore_querylog: false
        ignore_statistics: false
    • safe_search:
      enabled: false
      bing: true
      duckduckgo: true
      google: true
      pixabay: true
      yandex: true
      youtube: true
      blocked_services:
      schedule:
      time_zone: UTC
      ids: []
      name: Phone2_Renat
      ids:
      • 192.168.0.33
        tags:
      • device_phone
        upstreams:
      • 8.8.8.8
      • 1.0.0.3
        uid: 018e4dd9-310c-7de6-8e63-8671c377bd5e
        upstreams_cache_size: 0
        upstreams_cache_enabled: false
        use_global_settings: false
        filtering_enabled: false
        parental_enabled: false
        safebrowsing_enabled: false
        use_global_blocked_services: false
        ignore_querylog: false
        ignore_statistics: false
    • safe_search:
      enabled: true
      bing: false
      duckduckgo: false
      google: true
      pixabay: false
      yandex: true
      youtube: true
      blocked_services:
      schedule:
      time_zone: UTC
      ids:
      - facebook
      - instagram
      - tiktok
      name: Realme-C25s
      ids:
      • 192.168.0.165
        tags:
      • device_phone
        upstreams: []
        uid: 018d7fd5-0489-7adb-87ab-85ad37b16f4a
        upstreams_cache_size: 0
        upstreams_cache_enabled: false
        use_global_settings: false
        filtering_enabled: true
        parental_enabled: true
        safebrowsing_enabled: false
        use_global_blocked_services: false
        ignore_querylog: false
        ignore_statistics: false
    • safe_search:
      enabled: false
      bing: true
      duckduckgo: true
      google: true
      pixabay: true
      yandex: true
      youtube: true
      blocked_services:
      schedule:
      time_zone: UTC
      ids: []
      name: Ren_Redmi_10S
      ids:
      • 192.168.0.214
        tags: []
        upstreams:
      • 1.1.1.1
        uid: 018d7fd5-0492-77cb-a2e2-a07a8e93717d
        upstreams_cache_size: 0
        upstreams_cache_enabled: false
        use_global_settings: false
        filtering_enabled: false
        parental_enabled: false
        safebrowsing_enabled: false
        use_global_blocked_services: false
        ignore_querylog: false
        ignore_statistics: false
    • safe_search:
      enabled: false
      bing: true
      duckduckgo: true
      google: true
      pixabay: true
      yandex: true
      youtube: true
      blocked_services:
      schedule:
      time_zone: UTC
      ids: []
      name: Xiaomi TV Stick
      ids:
      • 192.168.0.204
        tags:
      • device_other
        upstreams:
      • 8.8.8.8
        uid: 018d7fd5-0492-701b-850e-00a5ac055939
        upstreams_cache_size: 0
        upstreams_cache_enabled: false
        use_global_settings: false
        filtering_enabled: false
        parental_enabled: false
        safebrowsing_enabled: false
        use_global_blocked_services: false
        ignore_querylog: false
        ignore_statistics: false
    • safe_search:
      enabled: false
      bing: true
      duckduckgo: true
      google: true
      pixabay: true
      yandex: true
      youtube: true
      blocked_services:
      schedule:
      time_zone: UTC
      ids: []
      name: localhost
      ids:
      • 127.0.0.1
        tags:
      • device_laptop
        upstreams: []
        uid: 018d7fd5-0492-7430-a3a8-b976d1def3c7
        upstreams_cache_size: 0
        upstreams_cache_enabled: false
        use_global_settings: true
        filtering_enabled: false
        parental_enabled: false
        safebrowsing_enabled: false
        use_global_blocked_services: true
        ignore_querylog: true
        ignore_statistics: true
    • safe_search:
      enabled: false
      bing: true
      duckduckgo: true
      google: true
      pixabay: true
      yandex: true
      youtube: true
      blocked_services:
      schedule:
      time_zone: UTC
      ids: []
      name: localhost_ipv6
      ids:
      • ::1
        tags: []
        upstreams: []
        uid: 018d7fd5-0492-7555-9f74-122c80a624f8
        upstreams_cache_size: 0
        upstreams_cache_enabled: false
        use_global_settings: true
        filtering_enabled: false
        parental_enabled: false
        safebrowsing_enabled: false
        use_global_blocked_services: true
        ignore_querylog: true
        ignore_statistics: true
        log:
        file: ""
        max_backups: 0
        max_size: 1
        max_age: 2
        compress: false
        local_time: false
        verbose: false
        os:
        group: ""
        user: ""
        rlimit_nofile: 0
        schema_version: 28
        `

@ghost
Copy link

ghost commented Apr 21, 2024

Try stopping AdGuard Home, setting port_https to a port that's not being used, then start AdGuard Home.

@fizsef
Copy link
Author

fizsef commented Apr 21, 2024

Try stopping AdGuard Home, setting port_https to a port that's not being used, then start AdGuard Home.

You can see that tls is disabled, how can it use port 443?
1

@ghost
Copy link

ghost commented Apr 21, 2024

I do not know whether it tries to establish that port regardless of whether it's enabled or not. I see your logic, but it's worth a try.

@fizsef
Copy link
Author

fizsef commented Apr 21, 2024

I do not know whether it tries to establish that port regardless of whether it's enabled or not. I see your logic, but it's worth a try.

Yes, if I change this port value, the error disappears. But at the same time, the HTTPS port changes on the Encryption Settings page.
1
2

@ghost
Copy link

ghost commented Apr 21, 2024

Yes, that's correct. You just changed the HTTPS port removing the conflict between two services trying to use the same port.

If you would like the keep AdGuard Home's HTTPS port the same, you would have to change the port LuCI uses for HTTPS.

@fizsef
Copy link
Author

fizsef commented Apr 21, 2024

Да, это правильно. Вы только что изменили порт HTTPS, устранив конфликт между двумя службами, пытающимися использовать один и тот же порт.

Если вы хотите, чтобы HTTPS-порт AdGuard Home остался прежним, вам придется изменить порт, который LuCI использует для HTTPS.

And where does Luci use this port? I did not configure port 443 in Luci.

@ghost
Copy link

ghost commented Apr 21, 2024

You can find it documented here.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants