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

Do not show 'port 443 is not available' error notification if encryption is not enabled #700

Closed
rfgamaral opened this issue Apr 2, 2019 · 13 comments
Assignees
Milestone

Comments

@rfgamaral
Copy link

Steps to reproduce

  1. Install AdGuard Home on a system where port 443 is already in use.
  2. Open AdGuard Home settings page.
  3. Observe the red error notification with the message "Error: control/tls/validate | port 443 is not available, cannot enable HTTPS on it | 400".

Expected behavior

If "Enable Encryption" option is disabled, do not show any error notifications related to unavailable ports specified on this section.

Actual behavior

If "Enable Encryption" option is disabled, error notifications related to unavailable ports specified on this section are still shown even though the option is disabled and not being used.

Screenshot:

image

Your environment

Description Value
Version of AdGuard Home server: (e.g. v0.94)
@ameshkov ameshkov added this to the v0.95 milestone Apr 3, 2019
@ameshkov
Copy link
Member

ameshkov commented Apr 3, 2019

@szolin this should be relatively easy to fix, assigned to v0.95

@EugeneOne1
Copy link
Member

@Karmylr, yep.

@baoang
Copy link

baoang commented Feb 9, 2022

librewolf_4laT1HJVDa

AGH v0.107.3
Debian Buster
Nginx reverse proxy

Seems it still pops out the alert.

@baoang
Copy link

baoang commented Feb 9, 2022 via email

@mav808
Copy link

mav808 commented Feb 17, 2022

@EugeneOne1 I'm also getting this popup error on a fresh install of v0.107.3.

Edit: I edited the config to change the port to an available one, but since I wasn't using encryption it shouldn't have been checking the port in the first place.

@EugeneOne1
Copy link
Member

@baoang, @mav808, we've been able to reproduce it, thanks. We'll fix it soon.

@EugeneOne1 EugeneOne1 reopened this Feb 18, 2022
@ainar-g ainar-g assigned EugeneOne1 and unassigned szolin Feb 18, 2022
@ainar-g ainar-g modified the milestones: v0.95, v0.107.5 Feb 18, 2022
@ainar-g
Copy link
Contributor

ainar-g commented Feb 18, 2022

@IldarKamalov, can we please make sure that we don't send a validation request if encryption isn't enabled? Is there anything that prevents us from just doing that?

@baoang
Copy link

baoang commented Feb 18, 2022

@baoang, @mav808, we've been able to reproduce it, thanks. We'll fix it soon.

My pleasure. Hope I can do more.

@ainar-g ainar-g modified the milestones: v0.107.6, v0.107.7 Apr 6, 2022
adguard pushed a commit that referenced this issue Apr 6, 2022
Merge in DNS/adguard-home from 700-validate to master

Updates #700.

Squashed commit of the following:

commit 9cd9ff2
Author: Ildar Kamalov <ik@adguard.com>
Date:   Wed Apr 6 18:50:11 2022 +0300

    client: validate only enabled encryption form
@ainar-g
Copy link
Contributor

ainar-g commented Apr 8, 2022

@baoang, we've recently released a fix for this on the edge channel. Could you please check if it works for you?

@ainar-g ainar-g modified the milestones: v0.107.7, v0.107.6 Apr 8, 2022
adguard pushed a commit that referenced this issue Apr 13, 2022
Merge in DNS/adguard-home from 700-validate to master

Updates #700.

Squashed commit of the following:

commit 9cd9ff2
Author: Ildar Kamalov <ik@adguard.com>
Date:   Wed Apr 6 18:50:11 2022 +0300

    client: validate only enabled encryption form
@ainar-g
Copy link
Contributor

ainar-g commented Apr 13, 2022

We'll close this issue for now. Please feel free to open a new one if there are new problems with that form.

@ainar-g ainar-g closed this as completed Apr 13, 2022
@BenChueh
Copy link

BenChueh commented Aug 1, 2022

hmm so which port should i forward from 443 to ?

heyxkhoa pushed a commit to heyxkhoa/AdGuardHome that referenced this issue Mar 20, 2023
Merge in DNS/adguard-home from 700-validate to master

Updates AdguardTeam#700.

Squashed commit of the following:

commit 9cd9ff2
Author: Ildar Kamalov <ik@adguard.com>
Date:   Wed Apr 6 18:50:11 2022 +0300

    client: validate only enabled encryption form
@xliang76
Copy link

Looks like this still happening in v0.107.45

@Monoboy4ik
Copy link

Monoboy4ik commented May 16, 2024

hi!
have this too, adguard via docker on synology, built-in reverse-proxy on synology
image
and can't disable Plain DNS...

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

No branches or pull requests