The issue you are facing is not due to switching to MacBook. The URL you are trying to access gives the error.
You are accessing an API endpoint with Selenium, which is a very odd choice. The API request is tied with the front-end page load timing and cookies. So when it expires, the API endpoint doesn't response.
You should stick to the front-end automation with Selenium or try to get the URL with the correct cookie.