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: control/querylog_clear | only content-type application/json is allowed | 415 #7099

Open
4 tasks done
itsthejb opened this issue Jun 25, 2024 · 4 comments
Open
4 tasks done
Labels
bug waiting for data Waiting for users to provide more data.

Comments

@itsthejb
Copy link

Prerequisites

Platform (OS and CPU architecture)

Darwin (aka macOS), AMD64 (aka x86_64)

Installation

GitHub releases or script from README

Setup

On a router, DHCP is handled by AdGuard Home

AdGuard Home version

v0.107.51

Action

Clearing logs or stats from general settings (UI)

Expected result

Logs and stats can be cleared from the UI

Actual result

Error: control/querylog_clear | only content-type application/json is allowed | 415

Screenshot 2024-06-25 at 19 24 46

Additional information and/or screenshots

Previously reported a number of times and reported fixed as #4970. However, I'm still seeing this error in the latest version

@tjharman tjharman added the bug label Jun 25, 2024
@EugeneOne1
Copy link
Member

@itsthejb, hello. We've been working on updating the web UI dependencies. Could you please try it on an edge version? It can be reinstalled with the following command:

curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -r -c edge

Don't forget to backup the data/ directory and the YAML configuration file.

@EugeneOne1 EugeneOne1 added the waiting for data Waiting for users to provide more data. label Jun 26, 2024
@itsthejb
Copy link
Author

Hi there,

Thanks for getting back to me. I'm just testing it with the edge version. In my case that's https://static.adtidy.org/adguardhome/edge/AdGuardHome_linux_armv7.tar.gz. However, still seeing the isse.

Is there anything I can do to investigate further?

Thanks

@EugeneOne1
Copy link
Member

@itsthejb, well, any browser related information is appreciated:

  • What browser are you using? What version?
  • Is AdGuard Home behind some kind of reverse proxy?

It would also be great to take a look at the browser's console log and the network request information that appears after the buttons are pressed. If you can reproduce it with curl, we'd like to have the command.

@itsthejb
Copy link
Author

Hi,

Thanks for getting back to me. Interesting point about the reverse proxy. Yes, I'm proxying AGH through a Cloudflare tunnel. I just tested hitting the local IP and running the functions and yes, they work as expected.

So the issue would seem to be caused by the tunnel. Quite surprising, because usually straightforward things like this just work. Do you have any idea what might be causing it?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug waiting for data Waiting for users to provide more data.
Projects
None yet
Development

No branches or pull requests

3 participants