there was a problem connecting to server error

Good day,


I'm a wee stumped here.

The situation:

Network is based on a default 192.169.1.1 gateway.

Multiple devices are connected to the network; (3 apple devices, multiple android devices, windows and linux based machines, ).

One of the machines is used as a media server, running windows 10 home, and has 3 shared folders.

Only iMac (Yosemite 10.10.5) is unable to reach the shared folders - giving an error message "there was a problem connecting to server".


iMac does not see the shared folders by Go to Network, also unable use command-k with CIFS:// or SMB:// (getting the error above)

My MBP (El capitan) has no problem seeing the shares.

Windows machine is able to see the shared folders on iMac.


It seems like there is an issue with the iMac, but I can't tell where.

suggestions?

iMac with Retina 5K display, OS X 10.10

Posted on Jul 12, 2019 8:20 PM

Reply

Similar questions

21 replies

Jul 14, 2019 9:01 PM in response to Foques

I'm assuming .178 is the iMac having issues ... correct?


If so, looks like the handshake is occurring at packets 69-71, but a FIN is being immediately sent from the iMac to start the termination of the communication session with the server in 72. Basically, the iMac is saying I don't have anything else to send you. I would have expected that the start of the SMTP process would be have been the next packet instead.


Packet 77 appears to be a Dup ACK. Possibly there are more of them later in the capture. If so, they are typically sent during a TCP fast retransmission sequence because (iMac in this case) did not receive an expected ACK from the server.


... and what is one cause of lost packets/retransmissions? A faulty connection between two devices on the network. If you ping the server from the iMac are there any packets being dropped and/or any excessive delays seen? RTT times should be around 1-1.5 ms on a local network. The other potential issue would be mis-configured Ethernet interface ... assuming that the iMac or the server (or both) connect to the local network by Ethernet.

Jul 13, 2019 10:03 AM in response to Foques

Network is based on a default 192.169.1.1 gateway.

Did you mean to write 192.168.1.1 here? As that would be a local address.


OS X/macOS has supported all variants (1-3) of SMB since Yosemite. However, Microsoft dropped support for SMB 1.x with Windows 10. This may be simply a SMB configuration issue on the Win 10 server. I'm not sure if this is related to it only being the "Home" edition vs. the "Pro" one, but it could be possible. I do know that the Home edition is somewhat limited networking-wise.


A data capture between these device would go a long way to reveal which SMB protocol is negotiated ... or, at least, attempted. If you're familiar with Wireshark (or equivalent) you can do this yourself. There is also a method to enable SMB 1.x on Windows 10, should it be required. However, I'm not necessarily recommending it.


Ref:

Jul 15, 2019 8:49 AM in response to Foques

Thanks for hanging in there.


Do both the iMac and the server connect directly to the Linksys router ... or are there any Ethernet switches also involved? If so, what is the make(s) & model(s) of the/these switch(es)?


Does your ISP actually provide you with IPv6 service? If not, then it would be better to reconfigure your network clients for "IPv6 Link-local" only mode. This will still allow for IPv6 traffic, but only locally. A number of macOS services rely on IPv6 for network discovery.


Again, if you can provide me with your iMac's Ethernet settings that would be helpful.


I would also like if you can run a few ping tests for me, and provide the results. Please use the following ping commands, in a Terminal window, on your Mac:

  1. ping -c3 127.0.0.1
  2. ping -c3 <your Linksys router's LAN-side IP address>
  3. ping -c3 <your server's IP address>


The "best" possible results will result in no packets being dropped, but I'm also interested in the average RTT values for each of those pings.


Jul 13, 2019 12:14 PM in response to Foques

Some potentially helpful Wireshark details for SMB troubleshooting and what communications between the Mac and the Win 10 server to look for:


  1. The Mac will first perform a "TCP handshake" to establish communication with the server.
  2. The Mac will send a "Negotiate Protocol Request" to the server to let it know what SMB dialects the Mac supports.
  3. The server will respond with a "Negotiate Protocol Response" indicating what SMB dialects it supports, as well as, other details like if signing is enabled.
  4. The Mac will send another "Negotiate Protocol Request" to the server to let it know which dialect and which options is want to use.
  5. The server will respond with another "Negotiate Protocol Response" to let the client know which dialect it will actually use.
  6. The Mac will then agree to use that dialect, and then, asks the server "What authentication token that you want to use?" This starts the authentication phase. This is where the user account is validated to allow access to the server.

Jul 14, 2019 9:44 PM in response to Foques

It's getting late here so I will be signing off, but I do have a few more questions for you if you don't mind.


Since they are close, are both connected to the same Ethernet switch? Actually, a bit more information on the network path between the iMac and the server would be helpful. That is, what networking hardware lies between the two to make the full connection? For example, do they both directly connect to an Ethernet switch like I mentioned or do they each connect to an Ethernet wall port, and in turn, an Ethernet run to a central Ethernet patch panel, to a switch, and then, to a router?


I would also like to know the Ethernet settings on your iMac from In System Preferences > Network > Ethernet > Hardware tab. Does the iMac (& server) both assigned static IP local addresses. Are they configured for IPv6? Is the iMac configured as a DHCP client? Is the iMac configured to only use Ethernet and is Ethernet at the top of the list on the System Preferences > Network window?


Sorry, for all the questions, but they may reveal some clues to what may be the culprit.

Jul 14, 2019 9:18 PM in response to Tesserax

you are absolutely correct, .178 is the iMac.

I'm glad I read it right, but that's exactly why I am at a loss; I haven't got a clue as to what can be causing this.


All of the devices are pinging the .61 with no packet loss, and biggest delay being 5ms (at that is on the device that is NOT having the issue).

iMac and Winblows machine are both on ethernet connection (they sit next to each other, ironically)

Windows machine does have a VPN client running; but if the VPN client was an issue, MBP would have the same problem.

It certainly feels like iMac causes the problem, but it has no network management software running on it, so I can't think of what can be causing this.

Jul 14, 2019 9:51 PM in response to Tesserax

this is a home environment, so things are way more basic than I made it sound, probably. :)


The entire network is run by a WRT1900ACS router

Windows machine has a static IP address, iMac is DHCP; IPv6 is also set to be configured automatically.

Yes to the ethernet being the top option, and I did disable wifi just to be safe.


no problem about the questions, any help is appreciated as I am out of my depth at this point.


thank you!

Jul 15, 2019 2:03 PM in response to Tesserax

no, thank you!

All devices are connected to the router directly; no hubs or switches.


Comcast is actually forcing IPv6 in my area, so I need to use that.



ping -c3 127.0.0.1

PING 127.0.0.1 (127.0.0.1): 56 data bytes

64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.045 ms

64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.035 ms

64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.116 ms

--- 127.0.0.1 ping statistics ---

3 packets transmitted, 3 packets received, 0.0% packet loss

round-trip min/avg/max/stddev = 0.035/0.065/0.116/0.036 ms



ping -c3 192.168.1.1

PING 192.168.1.1 (192.168.1.1): 56 data bytes

64 bytes from 192.168.1.1: icmp_seq=0 ttl=64 time=0.300 ms

64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.485 ms

64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.272 ms

--- 192.168.1.1 ping statistics ---

3 packets transmitted, 3 packets received, 0.0% packet loss

round-trip min/avg/max/stddev = 0.272/0.352/0.485/0.095 ms



ping -c3 192.168.1.61

PING 192.168.1.61 (192.168.1.61): 56 data bytes

64 bytes from 192.168.1.61: icmp_seq=0 ttl=128 time=0.499 ms

64 bytes from 192.168.1.61: icmp_seq=1 ttl=128 time=0.483 ms

64 bytes from 192.168.1.61: icmp_seq=2 ttl=128 time=0.338 ms

--- 192.168.1.61 ping statistics ---

3 packets transmitted, 3 packets received, 0.0% packet loss

round-trip min/avg/max/stddev = 0.338/0.440/0.499/0.072 ms



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

there was a problem connecting to server error

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.