Disable incorrect API warnings?

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
FlexibleToast
Newbie
Newbie
Posts: 17
Joined: January 8th, 2012, 3:50 pm

Disable incorrect API warnings?

Post by FlexibleToast »

I setup Sab in a Kubernetes cluster and it's reporting constant api key warnings. They're coming from Traefik my ingress controller which I think is just checking the health of the connection. I went to Config > Special and unchecked api_warnings then restarted Sab. I'm still getting the warnings. I even check the sabnzbd.ini and that option was set to 0. Under Config > Special it shows

Code: Select all

api_warnings ( on )
even though it is unchecked. There is what appears to be a giant asterisk next to it though if that means anything.
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: Disable incorrect API warnings?

Post by sander »

In "api_warnings ( on )" the "on" means the default value. Not the current value.
User avatar
safihre
Administrator
Administrator
Posts: 5521
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Disable incorrect API warnings?

Post by safihre »

What are the warnings you are getting?
You can also check the mode=auth API-call which has no authentication and as such no errors.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
FlexibleToast
Newbie
Newbie
Posts: 17
Joined: January 8th, 2012, 3:50 pm

Re: Disable incorrect API warnings?

Post by FlexibleToast »

safihre wrote: January 14th, 2021, 3:16 am What are the warnings you are getting?
You can also check the mode=auth API-call which has no authentication and as such no errors.

Code: Select all

 	
WARNING a few seconds ago API key incorrect, Use the API key from Config->General in your 3rd party program: 10.42.1.79 (X-Forwarded-For: 10.42.1.76)>okhttp/3.14.6
Which is my ingress controller.

Code: Select all

$ k get pods -A -o wide | grep 10.42.1.79
kube-system               traefik-5dd496474-wt2d2                      1/1     Running   2          45h     10.42.1.79      pikubed-m1   <none>           <none>
FlexibleToast
Newbie
Newbie
Posts: 17
Joined: January 8th, 2012, 3:50 pm

Re: Disable incorrect API warnings?

Post by FlexibleToast »

I think I found the issue. Seems that even though I changed the API in Hydra, the setting didn't stick. I had to actually delete SabNZBD from Hydra and re-add it. I haven't received the errors since then. Guess it wasn't Traefik itself, it was Hydra trying to ingress through Traefik... Which I thought I set to use the service directly. Solved both those problems.
Post Reply