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

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

Open
pictosun opened this issue Jul 23, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@pictosun
Copy link

pictosun commented Jul 23, 2024

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 Apple Services after not available after some time. Only renewing the internet connection will solve it. #777 (comment)

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

  • mobileconfig with correct characters should be the output from the dashboard
  • when creating mobileconfigs with a tool and enter the AdGuard-DNS credentials the system doesn't skip the configuration.

Screenshots

Screenshot 1:

Additional Information

No response

@pictosun pictosun added the bug Something isn't working label Jul 23, 2024
@ameshkov
Copy link
Member

Could you please share the mobileconfig file with us on [email protected]?

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
Copy link
Author

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
Copy link
Member

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
Copy link
Author

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 #777 (comment) and giving me the named error within console log).

@pictosun
Copy link
Author

pictosun commented Oct 8, 2024

just to give you an update as even with v2.9 the bug is still there.

Just compare it to your standard mobileconfig files you can download from here: https://adguard-dns.io/en/public-dns.html

They don't have those glitches/bugs.

And yes - I know those profiles are 'signed'. But not within the part <plist version="1.0"> </plist>.
Details are here #777 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants