AdguardTeam / AdGuardDNS

Public DNS resolver that protects you from ad trackers
https://adguard-dns.io/
GNU Affero General Public License v3.0
775 stars 60 forks source link

.mobileconfig creator within dashboard is creating profiles with wrong characters. macOS is skipping configuration. #807

Open pictosun opened 1 month ago

pictosun commented 1 month ago

Platform

Other

Protocol

DNS-over-HTTPS

Do you use AdGuard app?

No I don't

Your configuration

./.

Traceroute to AdGuard DNS

./.

Issue Details

  1. Go to dashboard
  2. choose your server and device
  3. download configuration profile (.mobileconfig)
  4. see output here https://github.com/AdguardTeam/AdGuardDNS/issues/777#issuecomment-2199577952

Expected Behavior

There are some wrong characters within mobileconfig and my console (macOS) is also giving me errors and skipping the mobileconfig, as it has errors. Skipping configuration d.adguard-dns.com DoH because it is of the wrong type

Actual Behavior

Screenshot 1:

Additional Information

No response

ameshkov commented 1 month ago

Could you please share the mobileconfig file with us on devteam@adguard.com?

Also, there are no invalid characters in the mobileconfig file. You're just trying to view a binary signed file with a text reader.

pictosun commented 2 weeks ago

As of privacy-reasons I cannot share it... But you can simply test it at your side... Look inside your generated mobileconfig files. They do have invalid characters in the upper part... In the lower part of the file you can see invalid characters because of the binary signed file.

All other providers do have 'clear characters' in the upper part of the configuration files. AdGuard is the only one having those wrong characters within it. (Maybe because of some errors during automatic creation of those files?). And macOS is also sending out errors within console log showing that the mobileconfig files from AdGuard are broken.

So it definitively looks like there is some bug within it.

ameshkov commented 2 weeks ago

The problem is that we checked and it's a valid mobile configuration file.

Skipping configuration d.adguard-dns.com DoH because it is of the wrong type

This we also cannot reproduce and that's why I asked for your profile file, maybe it was generated incorrectly for one of your devices?

pictosun commented 2 weeks ago

This we also cannot reproduce and that's why I asked for your profile file, maybe it was generated incorrectly for one of your devices?

Hi. Thx for the fast reply. I tried it with two separate accounts (I friend of mine is having the same issues). Tried it with several devices (within AdGuard Dashboard), tried it with auto download, using the profile creator tool and so on. All with the same result - the mobileconfigs do all have those issues and look all the same (having the glitches like seen here https://github.com/AdguardTeam/AdGuardDNS/issues/777#issuecomment-2199577952 and giving me the named error within console log).