I’ve installed StartOS onto a generic mini-PC with AMD Ryzen 7 Eight Core Processor 8845HS, 32GB PCS PRO SODIMM DDR5 4800MHz and 2TB CORSAIR CORE XT MP600 NVMe PCIe M.2 SSD. The box is now connected via ethernet to my router and I can connect reliably using the StartOS-assigned URL from my Android phone and Apple iPad, both using Chrome. Both are running McAfee anti-virus and firewall, and Surfshark VPN in the background.
I’m also connecting on a WIndows 11 laptop via Chrome browser with same services from McAfee, Surfshark and Chrome. I can connect reliably using the server’s IP address, but connection using the URL is flaky and random. It has worked, once when I stopped then started the StartOS box, but not properly since.
What is it about the Windows 11 connection? I’ve gone through the bonjour routine, including re-installing bonjour. I can see the certificate is trusted in both Windows and Chrome settings. In Active Sessions on StartOS I can see iPad and Android sessions, but my laptop using the IP address just shows as Unknown Device. Is it hign risk connecting using the IP address?
The issue with your Windows 11 connection to the StartOS URL seems related to how mDNS (multicast DNS) functions in your network. StartOS uses mDNS for assigning and resolving its URL (like some-name.local), but there are common challenges on Windows due to the following factors:
Bonjour Service: Windows requires Apple’s Bonjour service to handle .local addresses. If the Bonjour installation isn’t fully functional or your network configuration interferes with it, resolving the StartOS URL will fail. While you’ve reinstalled Bonjour, ensure it is running correctly. You can check the “Services” app in Windows to confirm that the Bonjour service is active and try to reinstall again. Here is our doc and link to file.
Firewall Settings: McAfee antivirus or firewall may block mDNS traffic or interfere with Bonjour communication. Check McAfee settings and allow mDNS or Bonjour traffic explicitly.
VPN Interference: VPNs like Surfshark often block local network traffic, including mDNS, by default. On your Windows 11 device, check if Surfshark has a setting like “Allow LAN connections” or “Bypass LAN traffic.” Enabling this can resolve the issue.
Connecting via IP Address
Using the IP address to connect is a practical workaround, and while it is not as user-friendly, it isn’t inherently risky, especially if you’re using a trusted network. However, connecting by IP bypasses the TLS certificate validation tied to the URL, meaning your connection won’t show as “secure” in the browser. While this is typically fine for personal, trusted setups, relying on the .local URL ensures full TLS encryption and security validation.
I’ve gone through everything you’ve suggested. Bonjour service is running fine. I had already gone through the Common Issues doc and have double-checked everything.
mDNS is allowed explicitly in Firewall Settings, for both public and private. Bonjour is too but only for private, and it appears twice (maybe as a result of re-install?). However, a Surfshark line appears too as ‘Surfshark Block All IPv6’. Would that cause a problem?
I had already added a bypass in Surfshark for my server URL. I’ve tried adding another for the IP address too but it has made no difference.
I changed my network from Public to Private too and that has made no difference.
In Chrome, inspecting the underlying scripts for the server login page reveals these errors when the login fails via the URL (I’ve replaced my URL with ‘MY-URL’):
Failed to load resource: net::ERR_NAME_NOT_RESOLVEDFailed to load resource: net::ERR_NAME_NOT_RESOLVED rpc/v1:1
Service worker registration failed with: main.db4020b2e4a1127a.js:1
TypeError: Failed to register a ServiceWorker for scope (‘https://MY-URL.local/’) with script (‘https://MY-URL.local/ngsw-worker.js’): An unknown error occurred when fetching the script.
I’m going to try restarting my laptop now and will get back to you if that changes the situation.
I’ve restarted the laptop and still cannot login using URL login page, but IP address is good still. 1 error I made in my response above - Bonjour is allowed explicitly in Firewall Settings, for public only. I wrote ‘private’ above.
So to clarify current status: the URL address seems to find the StartOS login page, but returns ‘Unknown Error’ on entering my password. I’ve set Chrome not to cache this page too so I’m assuming it is successfully resolving the URL.
I wonder if the fact that it is showing two instances of bonjour (as you mentioned above) is creating a conflict. In the guide it advises to completely uninstall bonjour and then reinstall. Just speculation but maybe
Uninstalled Bonjour. Removed the 2 bonjour items still remaining as allowed through the Firewall. Re-installed bonjour. 2 bonjour items appeard again in the firewall as allowed through. No change with login page to StartOS via URL - it opens fine but entering password yileds ‘unknown error’. Login via IP address still works fine.