Failed to connect after Apple time machine re-install

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.
hoschmosch
Newbie
Newbie
Posts: 10
Joined: January 15th, 2015, 3:52 pm

Failed to connect after Apple time machine re-install

Post by hoschmosch »

Dear all,
I would need help with a quite peculiar problem, which came up after I reinstalled my system (iMac 2007).

Here the history:
My Sabnzbd was running well with xsusenet.
Then my hard drive crashed. I have for data rescue a double approach: I have monthly Carbon copy clones on an external Firewire Drive and I have the daily time machine backups.
When the hard drive of my iMac (Mavericks) crashed, I continued working on my iMac booting up via Firewire from the Carbon Copy Clone (old clone). Without problems sabnzbd was connecting fine and still does, if you boot via the external old clone.
After putting a new hard drive in my Mac I reinstalled my last time machine backup (new TM clone). So far so good. Now I wanted to download with sabnzbd on my trusted xsusenet...and the following appears:

https://localhost:9056
[Errno 61] Failed to connect: (60, '[Errno 64] Host is down') -1@reader.xsusenet.com:600


To check if it is a remote issue, I contacted Xsusenet...account is fine.
I booted my external old clone, just to check connectivity....and sbnzbd worked fine and can connect!!!How weird.

I reinstalled then sabnzb on the new TM clone, used version 0.7.17 and 0.7.20 for Mavericks on the newTM clone...nothing.
I deleted the hidden sabnzbd.ini, reinstalled even with the wizard, still the same error code.

Now tis getting even weirder...if I boot my new TM clone normally, but I don't use the there installed sabnzb application, but open sabnzb.app on the external HD (of the old clone installation),ALAS...I can connect and download.
So I thought, no problem, I just copy the sabnzbd.app from my old clone to the new TM clone....not working.
I copied sabnzbd together with the hidden sabnzbd.ini files to the new TM clone...still not working.

I am running out of ideas, what I could do to fix this...

Can anyone help, or did encounter something similar? I can just not wrap my head around this, since the port and host configuration seems to be fine, if I start the .app externally. Are there any ports maybe interfering with each other? I changed host and port configuration BTW on the new TM clone from default to others and back, also no change.

I hope I could explain my dilemma.

Thanks a lot in advance and best regards,

HoschMosch
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Failed to connect after Apple time machine re-install

Post by shypike »

hoschmosch wrote: [Errno 61] Failed to connect: (60, '[Errno 64] Host is down') -1@reader.xsusenet.com:600[/b]
Port 600?
Try port 119 first, with SSL disabled.
The try 443 with SSL enabled.
hoschmosch
Newbie
Newbie
Posts: 10
Joined: January 15th, 2015, 3:52 pm

Re: Failed to connect after Apple time machine re-install

Post by hoschmosch »

Hi,
I tired all available ports with or without SSL. Didn't change anything, unfortunately.

Here the error notes:

[Errno 61] Failed to connect: (60, '[Errno 64] Host is down') -1@reader.xsusenet.com:119

[Errno 61] Failed to connect: (60, '[Errno 64] Host is down') -1@reader.xsusenet.com:443

And all settings are identical with those I have on the external sabnzbd.app, which works. It just does't work on the new TM clone. But going forward, I need to somehow get the .app working on the main HD.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Failed to connect after Apple time machine re-install

Post by sander »

To a Windows user I would say "Firewall?".

But to a OSX user I say:

Code: Select all

ping 8.8.8.8
and

Code: Select all

ping reader.xsusenet.com
and

Code: Select all

telnet reader.xsusenet.com 80
Post the output here
hoschmosch
Newbie
Newbie
Posts: 10
Joined: January 15th, 2015, 3:52 pm

Re: Failed to connect after Apple time machine re-install

Post by hoschmosch »

Hi sander,

I put your command lines into terminal:

ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=58 time=48.787 ms

reader.xsusenet.com
-bash: reader.xsusenet.com: command not found

telnet reader.xsusenet.com 80
Trying 81.171.92.188...
Connected to reader.xsusenet.com.
Escape character is '^]'.
200 Welcome (fx33.am4)

I tried also connecting to the server via sabnzbd with and without firewall, with and without little snitch (using the sabnzbd.app from the old clone). No connection.
What makes it so strange, that connecting works, if I start the sabnzbd.app from the external drive (Old Clone). Since all connections work fine then, I thought it must be something in the installation on the main HD (new TM clone) which I booted with. But as described new installation of sabnzbd and wiping of the .ini files did not do anything. Copying over those working sabnzbd installation from the external drive to the main one did not work either, if such an approach is at all feasible.

Thank you very much for you for your suggestions.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Failed to connect after Apple time machine re-install

Post by shypike »

What happens if you replace the server name with 81.171.92.188 in SABnzbd?
Does it work?
It looks like SABnzbd somehow doesn't have access to DNS.
hoschmosch
Newbie
Newbie
Posts: 10
Joined: January 15th, 2015, 3:52 pm

Re: Failed to connect after Apple time machine re-install

Post by hoschmosch »

still nothing.
Here is the error note:

https://localhost:9056
[Errno 61] Failed to connect: (60, '[Errno 64] Host is down') -1@81.171.92.188:443
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Failed to connect after Apple time machine re-install

Post by shypike »

Your web browser(s) connect OK?
Please try another Usenet server, like Giganews: news.giganews.com port 119, no SSL.
Of course you don't have an account, but the error message should at least be different.
hoschmosch
Newbie
Newbie
Posts: 10
Joined: January 15th, 2015, 3:52 pm

Re: Failed to connect after Apple time machine re-install

Post by hoschmosch »

Hi,
yes, web browser is all good. Surfing the forums right now.

Only problem is with sab.

I added the server:

[Errno 61] Failed to connect: (60, '[Errno 64] Host is down') -1@news.giganews.com:119

Same thing....seems the request does not even go out.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Failed to connect after Apple time machine re-install

Post by shypike »

Right.
You did re-install SABnzbd from the DMG file?
Other than that, I'd say your operating system's Python library frameworks are cooked somehow.

I'll see if I can come up with a little test to verify your Python installation.
hoschmosch
Newbie
Newbie
Posts: 10
Joined: January 15th, 2015, 3:52 pm

Re: Failed to connect after Apple time machine re-install

Post by hoschmosch »

Yes. In installed several versions. All freshly downloaded from the Internet as dmg.

What puzzles me, is, if something would be wrong with Python, how does it work then if I open sabnzbd from the external drive. It accesses the .ini file from the main Hd, since downloads are the same. Does it then access Python from the external drive?

Looking forward to your Python test. Thanks for all the ideas.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Failed to connect after Apple time machine re-install

Post by sander »

Some very ugly python code:

Code: Select all

import socket
mysocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
mysocket.connect(('reader.xsusenet.com',119))
mysocket.send('help\n')
print mysocket.recv(400)
mysocket.send('quit\n')
print mysocket.recv(4000)
mysocket.close()
On my system that results in:

Code: Select all

$ python talk-to-nntp.py 
200 Welcome (fx22.am4)

100 Legal Commands
  article [<messageid>|number]
  authinfo type value
  body [<messageid>|number]
  date
  group newsgroup
  head [<messageid>|number]
  help
  last
  list [active wildmat|active.times|counts wildmat]
  list [overview.fmt|newsgroups wildmat]
  listgroup newsgroup
  mode reader
  next
  post
  stat [<messageid>|number]
  xhdr field [range]
  xover [range]
  xpat field range pattern
  xfeature useragent <client identifier>
  xfeature compress gzip [terminator]
  xzver [range]
  xzhdr field [range]
  quit
.
205 Goodbye
hoschmosch
Newbie
Newbie
Posts: 10
Joined: January 15th, 2015, 3:52 pm

Re: Failed to connect after Apple time machine re-install

Post by hoschmosch »

Apologies for my ignorance, where do I enter these code lines?
Terminal will not work right?
Thanks,
Martin
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Failed to connect after Apple time machine re-install

Post by sander »

save it as talk-to-nntp.py, and then run with "python talk-to-nntp.py"
hoschmosch
Newbie
Newbie
Posts: 10
Joined: January 15th, 2015, 3:52 pm

Re: Failed to connect after Apple time machine re-install

Post by hoschmosch »

Ok, thanks for the push to the right direction with the code, here is what it says after running the .py:

Code: Select all

Last login: Fri Jan 16 21:32:50 on ttys001
/var/folders/bm/mhxzg6_j5vg48vp19yklpvwm0000gn/T/Cleanup\ At\ Startup/talk-to-nntp-443133689.614.py.command ; exit;
hoschmosch-94:~ hosch$ /var/folders/bm/mhxzg6_j5vg48vp19yklpvwm0000gn/T/Cleanup\ At\ Startup/talk-to-nntp-443133689.614.py.command ; exit;
200 Welcome (fx21.am4)

100 Legal Commands
  article [<messageid>|number]
  authinfo type value
  body [<messageid>|number]
  date
  group newsgroup
  head [<messageid>|number]
  help
  last
  list [active wildmat|active.times|counts wildmat]
  list [overview.fmt|newsgroups wildmat]
  listgroup newsgroup
  mode reader
  next
  post
  stat [<messageid>|number]
  xhdr field [range]
  xover [range]
  xpat field range pattern
  xfeature useragent <client identifier>
  xfeature compress gzip [terminator]
  xzver [range]
  xzhdr field [range]
  quit
.
205 Goodbye

logout

[Process completed]
Any insights?

Thanks,
hoschmosch
Post Reply