Bug for sure: Cannot add 2nd account with same hostname

Report & discuss bugs found in 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
Tijlbert
Release Testers
Release Testers
Posts: 19
Joined: February 20th, 2009, 11:16 am

Bug for sure: Cannot add 2nd account with same hostname

Post by Tijlbert »

Hi,

I just discovered what can only be a bug :) ... I have multiple accounts with ONE server (e.g. reader.xsnews.nl). When I try to add a second server with the same name; the first get's replaced.

This is not a major problem for me because I have enough accounts elsewere but perhaps you could add a Name field so that the hostname doen't have to be unique anymore.

I am running 0.5.0.aplha2. I'm pretty sure that 0.4.8 has the same problem (but I didn't try it).


Grz. Tijlbert
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Bug for sure: Cannot add 2nd account with same hostname

Post by shypike »

It't not a bug, it's a feature.
A work-around is to use a different port (many providers allow you to use alternative ports).
Or as a last resort, use the numeric IP address of the server for the second account.
User avatar
jcfp
Release Testers
Release Testers
Posts: 1004
Joined: February 7th, 2008, 12:45 pm

Re: Bug for sure: Cannot add 2nd account with same hostname

Post by jcfp »

Or use a forwarder app like 6tunnel. Despite the name it works fine for ipv4 too, if you tell it too:

Code: Select all

6tunnel -4 -llocalhost 1234 news.example.org 119
...would allow sabnzbd to connect on localhost port 1234 in order to download from news.example.org port 119. By starting multiple instances of 6tunnel, each on its own local port number, you'd have no trouble connecting to the same actual newsserver with as many different accounts as you want.
Tijlbert
Release Testers
Release Testers
Posts: 19
Joined: February 20th, 2009, 11:16 am

Re: Bug for sure: Cannot add 2nd account with same hostname

Post by Tijlbert »

Thanks for the reply; the workaround as stated above (use ip for secondary) is what I did to overcome this. small prob.  Although adding the tunneling software sounds (and is) more pro, this is good for me.

'It's not a bug it's a feature" .... Hey! I didn't know YOU are that pr guy from microsoft! :)
Last edited by Tijlbert on May 7th, 2009, 8:53 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Bug for sure: Cannot add 2nd account with same hostname

Post by shypike »

Tijlbert wrote: 'It's not a bug it's a feature" .... Hey! I didn't know YOU are that pr guy from microsoft! :)
It's not a bug because it was designed this way.
You may not agree with the design, but that doesn't make it a bug.
The design did not assume that people would have multiple accounts with one provider.
Your rare requirement isn't covered by our implementation.
Post Reply