You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Internet issues on Monterey

Anyone else having Internet issues on macOS Monterey? I installed it last night and this morning I can only stay connected to the Internet for about 5-10 minutes before Safari gives a DNS issue. I've switched from using Google DNS to my ISP one, issue still persists. Flushed the DNS cache, issue still persists. Deleted all known networks, issue still persists.


Rebooting is the only way I can get Internet reconnected which is annoying every 10 minutes! was this OS not tested?????

MacBook Pro 15″, macOS 12.0

Posted on Oct 26, 2021 2:59 AM

Reply
Question marked as Top-ranking reply

Posted on Oct 26, 2021 1:18 PM

Well the issue only happened after the Monterey update and only affects the only Mac that’s been updated to Monterey so you can see why I’d think that might be the issue.


As mentioned in my post only rebooting the Mac fixes the issue. Restarting just the browser does nothing. Nor does flushing the DNS cache, swapping to a different network, changing from wired to wireless, changing DNS from Google to ISP or trying a different browser. I can browse the Internet on Safari for about 10 minutes then Safari presents a DNS error that it’s not able to resolve the address. This issue also is present if I use Chrome, Edge or Brave browsers. So I think I’ve tried plenty of things to allow me to “draw the conclusion” that the issue has been caused by Monterey.

Similar questions

166 replies

Oct 12, 2022 7:41 AM in response to simonjhutton84

Ok everyone. I've devoted a massive amount of time and resources on this issue and wanted to share our findings.

1) Apple's Cross-Platform Engineering team is aware of this issue, and has been struggling on nailing it down as it manifests slightly differently for each customer.

2) We have validated this issue exists on Big Sur, Monterey, and Ventura

3) Our findings indicate that the main cause of the "locked" ports is network drive mappings utilizing SMB

a) We have validated this on a fresh out of the box Mac, no security agents, socket filters, or MDM installed. ONLY Active Directory joined and mapped network drives. We have uploaded all data to Apple.

b) Mapping network drives instantly will start creating these locked ports

4) Creating a nsmb.conf file, and using that to change SMB mount behavior from hard mounts to soft mounts eliminates any locked port creation. We are in process of validating this on a build with the full load of security agents and socket filters. First 18 hours of testing is showing zero locked ports. I've included the script we are deploying via JAMF to create this config file at the bottom of this reply.


Hopefully this info helps others who are also struggling. To be clear, the changes I outlined are not a true fix, as the underlying root cause is in Apple's hands at this point. However, it does eliminate the symptoms and prevent the network disconnect issues from occurring.


Script to create the nsmb.conf file

#!/bin/zsh

cat << 'EOF' > /etc/nsmb.conf

[default]

soft=yes

EOF

chown root:wheel /etc/nsmb.conf

chmod 744 /etc/nsmb.conf

Oct 21, 2022 8:10 AM in response to Travis_H77

I'm curious to know if the issue you are describing is the same issue my org is dealing with. Some users are reporting that certain applications cannot connect to the internet. It usually effects Zoom and Outlook but only on the application side. The web apps for those same apps will work in-browser. Our security and MDM tools are also effected as the agents/clients on these machines cannot talk (connect) to our managing instances. When running an 'nslookup' to the affected tools, they resolve without issue. But if you run a netcat, the connection is unsuccessful.


We have engineers scrubbing this forum trying to figure out if this could be related to this thread and find a root cause or fix. But it sounds like the issue this thread describes is losing all network traffic once all tcp ports are exhausted.

Internet issues on Monterey

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