D-Link Forums

D-Link Wireless Routers for Home and Small Business => DIR-2680 => Topic started by: druben on December 29, 2019, 09:00:07 AM

Title: Repeated ConnectToServer failure in logs
Post by: druben on December 29, 2019, 09:00:07 AM
My system log shows constant attempts to ConnectToServer failing.  Most of the router behavior seems ok, but I do have one laptop that has frequent problems connecting to internet sites as if it has no DNS service, and then it will start working again later.  I was getting these with FW v1.4 and tried back-leveling to 1.3 but get the same error.  Here are the messages:

Dec 29 11:56:00 dlinkrouter user.warn syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Dec 29 11:56:01 dlinkrouter user.warn syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Dec 29 11:56:02 dlinkrouter user.warn syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Dec 29 11:56:03 dlinkrouter user.warn syslog: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:27 Err:-1 Errno:2 No such file or directory
Dec 29 11:56:03 dlinkrouter user.warn syslog: dnssd_clientstub DNSServiceRefDeallocate called with NULL DNSServiceRef
Dec 29 11:56:06 dlinkrouter user.warn syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Dec 29 11:56:07 dlinkrouter user.warn syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Dec 29 11:56:08 dlinkrouter user.warn syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Dec 29 11:56:09 dlinkrouter user.warn syslog: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:27 Err:-1 Errno:2 No such file or directory
Dec 29 11:56:09 dlinkrouter user.warn syslog: dnssd_clientstub DNSServiceRefDeallocate called with NULL DNSServiceRef
Dec 29 11:56:12 dlinkrouter user.warn syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Dec 29 11:56:13 dlinkrouter user.warn syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Dec 29 11:56:14 dlinkrouter user.warn syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Dec 29 11:56:15 dlinkrouter user.warn syslog: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:27 Err:-1 Errno:2 No such file or directory
Dec 29 11:56:15 dlinkrouter user.warn syslog: dnssd_clientstub DNSServiceRefDeallocate called with NULL DNSServiceRef
Title: Re: Repeated ConnectToServer failure in logs
Post by: FurryNutz on December 29, 2019, 11:35:49 AM
Link>Welcome! (http://forums.dlink.com/index.php?topic=49573.0)

  Link> >FW Update Process (http://forums.dlink.com/index.php?topic=42457.0)


Internet Service Provider and Modem Configurations

Where did you get v1.04 from? Current released version is v1.03. At least for the NA region.
Title: Re: Repeated ConnectToServer failure in logs
Post by: druben on December 30, 2019, 06:54:09 AM
I'm in North Carolina, US.  Connecting wireless from multiple devices.  One laptop is having more issues than any other device.  It frequently tells me I have no internet access or cannot find any external URLs.  I did NOT do a factory reset before or after firmware updates, and have never done that with any other router I've owned.  This D-Link router is replacing an ASUS RT-N66U that worked without problems for this laptop.

My ISP is Spectrum cable. I use my own modem, a NETGEAR CM600.

FW v1.04 is the version that the modem wants me to install when I go to the Upgrade page in the Admin console.

I've updated the settings to turn off SmartConnect as it was causing issues communicating between my computer and wireless printer (different bands could not talk to each other).  I've also updated DNS settings to use Google DNS instead of my ISP.  This has improved things slightly, but still have frequent problems connecting to the internet using this router from this one laptop.
Title: Re: Repeated ConnectToServer failure in logs
Post by: FurryNutz on December 30, 2019, 10:38:45 AM
Please factory reset the router and setup from scratch and then let us know if these log entries are still present.

Ill check with D-Link to see if v1.04 maybe posted to the update servers and not posted to the download web site yet. I believe v1.04 was posted however was pulling from public use. May have been re-posted again.
Title: Re: Repeated ConnectToServer failure in logs
Post by: FurryNutz on December 30, 2019, 11:24:29 AM
Ok, I just put my 2680 online behind a CM1100 modem.
I see v1.04 is available.
New Firmware Version: 1.04
New Firmware Date: 2019/10/2

I'll check with D-Link on this.
Title: Re: Repeated ConnectToServer failure in logs
Post by: druben on January 02, 2020, 03:20:27 PM
I did a factory reset and the same error messages appear in the log.  It's a constant stream of them.
Title: Re: Repeated ConnectToServer failure in logs
Post by: FurryNutz on January 22, 2020, 06:41:15 AM
Any progress on this?
Which FW version are you currently using?
Title: Re: Repeated ConnectToServer failure in logs
Post by: druben on January 22, 2020, 02:33:41 PM
No change here.  I'm running FW 1.04 and the logs still have this error repeated in a constant stream.
Title: Re: Repeated ConnectToServer failure in logs
Post by: FurryNutz on January 22, 2020, 03:30:26 PM
I'll see if we can get some information on this...
Is the router working otherwise?
Title: Re: Repeated ConnectToServer failure in logs
Post by: GreenBay42 on January 23, 2020, 08:17:28 AM
I sent this to the router guys. Being Chinese New Year I will not get anything back until 1st week in February.

On the laptop did you statically enter the DNS servers or are you getting it from the router (DHCP)?

Do all web browsers behave the same?

From your laptop, can you ping URLs (yahoo.com for example) and get responses?

Did you block any ports on the router?

Is there anything connected between the router and modem? 

Did you install any of the McAfee software?
Title: Re: Repeated ConnectToServer failure in logs
Post by: druben on January 24, 2020, 11:58:28 AM
I'm not sure if the log error messages are causing any issues or not (although the frequency makes me concerned with the potential performance impact).  The only issues I have been seeing are on a single laptop that I need to frequently drop and reconnect to be able to get DNS entries resolved from the router.  Other machines appear to be working with no issues.

I sent this to the router guys. Being Chinese New Year I will not get anything back until 1st week in February.

On the laptop did you statically enter the DNS servers or are you getting it from the router (DHCP)? I'm getting it from the router.  I'm currently using the OpenDNS IP addresses on the router.

Do all web browsers behave the same?  Chrome seems to have more issues than Firefox, but I do see DNS failures to resolve addresses from time to time there as well, especially if the laptop has been idle for a bit.  Note that this is only happening on one laptop.  My desktop, phones, and other laptops haven't seen any issue, so it could be a problem with an older network adapter.

From your laptop, can you ping URLs (yahoo.com for example) and get responses? Not when I start getting failures in the browser

Did you block any ports on the router? No

Is there anything connected between the router and modem?  No

Did you install any of the McAfee software? No
Title: Re: Repeated ConnectToServer failure in logs
Post by: gablinux on February 18, 2020, 03:42:07 PM
A similar error appears on my System Log in a DIR-2660 :

2020-02-19 00:19:28 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
2020-02-19 00:19:29 syslog: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:27 Err:-1 Errno:0 Success
2020-02-19 00:19:29 syslog: dnssd_clientstub DNSServiceRefDeallocate called with NULL DNSServiceRef
2020-02-19 00:19:32 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
2020-02-19 00:19:33 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
2020-02-19 00:19:34 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
2020-02-19 00:19:35 syslog: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:27 Err:-1 Errno:0 Success
2020-02-19 00:19:35 syslog: dnssd_clientstub DNSServiceRefDeallocate called with NULL DNSServiceRef
2020-02-19 00:19:38 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
2020-02-19 00:19:39 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
2020-02-19 00:19:40 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
2020-02-19 00:19:41 syslog: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:27 Err:-1 Errno:0 Success
2020-02-19 00:19:41 syslog: dnssd_clientstub DNSServiceRefDeallocate called with NULL DNSServiceRef
2020-02-19 00:19:44 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
2020-02-19 00:19:45 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
2020-02-19 00:19:46 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
2020-02-19 00:19:47 syslog: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:27 Err:-1 Errno:0 Success
2020-02-19 00:19:47 syslog: dnssd_clientstub DNSServiceRefDeallocate called with NULL DNSServiceRef
2020-02-19 00:19:50 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
2020-02-19 00:19:51 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
2020-02-19 00:19:52 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
2020-02-19 00:19:53 syslog: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:27 Err:-1 Errno:0 Success
2020-02-19 00:19:53 syslog: dnssd_clientstub DNSServiceRefDeallocate called with NULL DNSServiceRef
2020-02-19 00:19:56 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
2020-02-19 00:19:57 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
2020-02-19 00:19:58 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
2020-02-19 00:19:59 syslog: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:27 Err:-1 Errno:0 Success
2020-02-19 00:19:59 syslog: dnssd_clientstub DNSServiceRefDeallocate called with NULL DNSServiceRef
2020-02-19 00:20:02 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
2020-02-19 00:20:03 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
2020-02-19 00:20:04 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
2020-02-19 00:20:05 syslog: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:27 Err:-1 Errno:0 Success
2020-02-19 00:20:05 syslog: dnssd_clientstub DNSServiceRefDeallocate called with NULL DNSServiceRef
2020-02-19 00:20:08 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
2020-02-19 00:20:09 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
 
Title: Re: Repeated ConnectToServer failure in logs
Post by: FurryNutz on February 18, 2020, 03:49:10 PM
What FW version do you have loaded?


Does this happen on different PCs or laptops?

A similar error appears on my System Log in a DIR-2660 :

2020-02-19 00:19:28 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
2020-02-19 00:19:29 syslog: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:27 Err:-1 Errno:0 Success
2020-02-19 00:19:29 syslog: dnssd_clientstub DNSServiceRefDeallocate called with NULL DNSServiceRef
2020-02-19 00:19:32 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
2020-02-19 00:19:33 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
2020-02-19 00:19:34 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
2020-02-19 00:19:35 syslog: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:27 Err:-1 Errno:0 Success
2020-02-19 00:19:35 syslog: dnssd_clientstub DNSServiceRefDeallocate called with NULL DNSServiceRef
2020-02-19 00:19:38 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
2020-02-19 00:19:39 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
2020-02-19 00:19:40 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
2020-02-19 00:19:41 syslog: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:27 Err:-1 Errno:0 Success
2020-02-19 00:19:41 syslog: dnssd_clientstub DNSServiceRefDeallocate called with NULL DNSServiceRef
2020-02-19 00:19:44 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
2020-02-19 00:19:45 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
2020-02-19 00:19:46 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
2020-02-19 00:19:47 syslog: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:27 Err:-1 Errno:0 Success
2020-02-19 00:19:47 syslog: dnssd_clientstub DNSServiceRefDeallocate called with NULL DNSServiceRef
2020-02-19 00:19:50 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
2020-02-19 00:19:51 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
2020-02-19 00:19:52 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
2020-02-19 00:19:53 syslog: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:27 Err:-1 Errno:0 Success
2020-02-19 00:19:53 syslog: dnssd_clientstub DNSServiceRefDeallocate called with NULL DNSServiceRef
2020-02-19 00:19:56 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
2020-02-19 00:19:57 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
2020-02-19 00:19:58 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
2020-02-19 00:19:59 syslog: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:27 Err:-1 Errno:0 Success
2020-02-19 00:19:59 syslog: dnssd_clientstub DNSServiceRefDeallocate called with NULL DNSServiceRef
2020-02-19 00:20:02 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
2020-02-19 00:20:03 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
2020-02-19 00:20:04 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
2020-02-19 00:20:05 syslog: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:27 Err:-1 Errno:0 Success
2020-02-19 00:20:05 syslog: dnssd_clientstub DNSServiceRefDeallocate called with NULL DNSServiceRef
2020-02-19 00:20:08 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
2020-02-19 00:20:09 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Title: Re: Repeated ConnectToServer failure in logs
Post by: FurryNutz on March 02, 2020, 09:57:44 AM
Any progress on this?

A similar error appears on my System Log in a DIR-2660 :

2020-02-19 00:19:28 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
2020-02-19 00:19:29 syslog: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:27 Err:-1 Errno:0 Success
2020-02-19 00:19:29 syslog: dnssd_clientstub DNSServiceRefDeallocate called with NULL DNSServiceRef
2020-02-19 00:19:32 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
2020-02-19 00:19:33 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
2020-02-19 00:19:34 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
2020-02-19 00:19:35 syslog: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:27 Err:-1 Errno:0 Success
2020-02-19 00:19:35 syslog: dnssd_clientstub DNSServiceRefDeallocate called with NULL DNSServiceRef
2020-02-19 00:19:38 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
2020-02-19 00:19:39 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
2020-02-19 00:19:40 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
2020-02-19 00:19:41 syslog: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:27 Err:-1 Errno:0 Success
2020-02-19 00:19:41 syslog: dnssd_clientstub DNSServiceRefDeallocate called with NULL DNSServiceRef
2020-02-19 00:19:44 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
2020-02-19 00:19:45 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
2020-02-19 00:19:46 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
2020-02-19 00:19:47 syslog: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:27 Err:-1 Errno:0 Success
2020-02-19 00:19:47 syslog: dnssd_clientstub DNSServiceRefDeallocate called with NULL DNSServiceRef
2020-02-19 00:19:50 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
2020-02-19 00:19:51 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
2020-02-19 00:19:52 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
2020-02-19 00:19:53 syslog: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:27 Err:-1 Errno:0 Success
2020-02-19 00:19:53 syslog: dnssd_clientstub DNSServiceRefDeallocate called with NULL DNSServiceRef
2020-02-19 00:19:56 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
2020-02-19 00:19:57 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
2020-02-19 00:19:58 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
2020-02-19 00:19:59 syslog: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:27 Err:-1 Errno:0 Success
2020-02-19 00:19:59 syslog: dnssd_clientstub DNSServiceRefDeallocate called with NULL DNSServiceRef
2020-02-19 00:20:02 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
2020-02-19 00:20:03 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
2020-02-19 00:20:04 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
2020-02-19 00:20:05 syslog: dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mdnsd Socket:27 Err:-1 Errno:0 Success
2020-02-19 00:20:05 syslog: dnssd_clientstub DNSServiceRefDeallocate called with NULL DNSServiceRef
2020-02-19 00:20:08 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
2020-02-19 00:20:09 syslog: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2