Hostname verification failed

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
jmuk
Newbie
Newbie
Posts: 14
Joined: February 11th, 2012, 8:18 am

Hostname verification failed

Post by jmuk » May 8th, 2018, 6:20 pm

Sorry, I'm lost and I know you have a wiki about it but it has not helped me.

I followed the setup wizard and it picked up internal and another address - accepted both of these but only the internal is working. I am getting the following error with the other address: Access denied - Hostname verification failed: https://sabnzbd.org/hostname-check

I checked Special tab, and the Domain Name address is listed in the 'host_whitelist ( )' - but it still does not work.

WORKS: Do not work:
  • NAS Domain Name: http://SynologyServerName:8080/sabnzbd/ (Refused connection with hostname "SynologyServerName" from: xxx.xxx.x.xx>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36)
  • Hostname: my.synology.my:8080
used Putty to navigate to the file: /volume1/@appstore/sabnzbd/var/config.ini but it did not show me anything.

Should I be editing this file? if so how can I? tried 'vim' but nothing was shown......is there and easy way for a noob to enable me to view SAB with:
  • internal IP
  • Domain Name
  • Hostname
This was my setup before the latest upgrade

User avatar
safihre
Administrator
Administrator
Posts: 2754
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

Re: Hostname verification failed

Post by safihre » May 9th, 2018, 1:20 am

You should use the interface, then go to Config > Specials > host_whitelist and put there:

Code: Select all

my.synology.my, SynologyServerName

jmuk
Newbie
Newbie
Posts: 14
Joined: February 11th, 2012, 8:18 am

Re: Hostname verification failed

Post by jmuk » May 9th, 2018, 3:49 pm

Oh...case sensitive, working now - Thanks!!

SynologyServerName was added by the wizard, but I have never noticed but the browser url changes it to synologyservername - all lower case!

Anyway, changed it to lower case, and it is worked as expected.

Thanks again :)

User avatar
safihre
Administrator
Administrator
Posts: 2754
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

Re: Hostname verification failed

Post by safihre » May 10th, 2018, 1:59 am

It's a bug in SAB, it should have been lower-cased. This will be fixed for the next release.

Post Reply