lefty.crupps

Debian x64 cannot connect and I can't figure out logging

Recommended Posts

I have BtSync set up on a handful of machines and it's working great:

Debian 7 (x86) - 192.168.10.102

Debian 7+ (Testing) (x86) - office computer

Android 4.2 - 192.168.10.105

Android 4.1 - 192.168.10.106

 

This machine doesn't work:

Debian 7+ (Testing) (x64) - 192.168.1.100

 

Network setup:

Internet >

192.168.1.0/24 Router, anything on this network BtSync won't work >

192.168.10.0/24 Router, anything on this network BtSync works fine

 

On the problem machine (192.168.1.100), I cannot get anything to connect outside of that subnet.  The router has UPnP enabled and netstat shows the btsync is listening, but nothing connects.

 

I can connect/sync if I have both devices on the same network subnet (192.168.1.0/24) but nothing outside of that will connect; I have another router and devices on the 192.168.10.0/24 range (router IP 192.168.1.111) and they work fine (and the 192.168.10.0 network uses the 192.168.1.0 network as the default gateway).  So I have to think the network is allowing traffic through, if the 192.168.10.0 network functions.

  • I've tried using a custom config for btsync, no change;
  • I've ensured UPnP was enabled in my routers (error before this was "Could not map UPnP Port ___ retrying.");
  • I've found the .sync/ folder and tried to create ~/.sync/debug.txt with FFFF inside it, but nothing shows in the logs;
  • I've tried running with --nodaemon but there are no messages being printed to stdout or stderr that I can see (now that "Could not map UPnP..." is resolved)
  • netstat shows the ports listening;
  • there is no local firewall running on this machine at this time
  • connections don't work to the next router (downstream) nor over the Internet (upstream)

 

I am out of ideas, can anyone help me?

Share this post


Link to post
Share on other sites

Logging resolved, I was launching with an incorrect config which put the debug.txt in a different place than expected.

 

Now my main issues seem to be this:

 

[20131114 07:41:37.379] Sending broadcast ping for share 5BF7Cxxx28CF37D65D1B5F358C9E5xxxxxxxx
[20131114 07:41:37.430] Failed to get tracker ips
[20131114 07:41:37.455] Failed to get relay ips
[20131114 07:41:38.379] Sending broadcast ping for share 5BF7Cxxx28CF37D65D1B5F358C9E5xxxxxxxx

...

...

Share this post


Link to post
Share on other sites

My guess would be, that the issue could stem from your network setup with two routers. The LAN clients are usually found within the same subnet, which is why btsync tries to contact relay and tracker only. Have you tried to put the 192.168.10.0/24 machines in the 192.168.1.100 machines predefined hosts?. 

Share this post


Link to post
Share on other sites

I've checked DNS, it was set to 75.75.76.76 (comcast) and I've changed that to 8.8.8.8 (Google), but no difference.

 

> The LAN clients are usually found within the same subnet, which is why btsync tries to contact relay and tracker only.

The 192.168.1.0/24 machines are in the middle and they cannot connect out to the wider world; why would the machines on the deeper segment of the network function fine but not this segment?

 

> Have you tried to put the 192.168.10.0/24 machines in the 192.168.1.100 machines predefined hosts?

No, and since these aren't identified by names within BtSync, I don't know what I'd even add in the /etc/hosts file.  Plus, I want to sync with my phone and work machines, which aren't a part of this setup at all.
 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.