So I have a weird #networking problem: I have a #homeserver with several webservices, exposed to the internet via a reverse proxy.
-
So I have a weird #networking problem: I have a #homeserver with several webservices, exposed to the internet via a reverse proxy.
When I access any service from my linux desktop or laptop, either from home or on the go, everything works fine.
When I try to access the services from my macbook, they all hang for a long time before doing anything. This issue presents in #safari and #firefox, so I don't think it's a browser issue.
Anyone got tips?
-
So I have a weird #networking problem: I have a #homeserver with several webservices, exposed to the internet via a reverse proxy.
When I access any service from my linux desktop or laptop, either from home or on the go, everything works fine.
When I try to access the services from my macbook, they all hang for a long time before doing anything. This issue presents in #safari and #firefox, so I don't think it's a browser issue.
Anyone got tips?
@asmw Is there any service you can try to connect to using curl to figure out what is happening? Or maybe open devtools in firefox to see what is happening. -
So I have a weird #networking problem: I have a #homeserver with several webservices, exposed to the internet via a reverse proxy.
When I access any service from my linux desktop or laptop, either from home or on the go, everything works fine.
When I try to access the services from my macbook, they all hang for a long time before doing anything. This issue presents in #safari and #firefox, so I don't think it's a browser issue.
Anyone got tips?
@asmw I'd try to diagnose DNS issues, maybe you have some service on your machine which controls DNS? that could interfere it.
-
@asmw Is there any service you can try to connect to using curl to figure out what is happening? Or maybe open devtools in firefox to see what is happening.
@arutaz In the firefox devtools network tab I see a bunch of connections which just hang?
They finish eventually. Some connections have a little turtle and say e.g. blocked for 44 seconds.
-
R ActivityRelay shared this topic
-
@arutaz In the firefox devtools network tab I see a bunch of connections which just hang?
They finish eventually. Some connections have a little turtle and say e.g. blocked for 44 seconds.
@asmw hum ok. Can you try curl? I'm no expert but with some switch I think you can get a quite verbose output. Maybe that will tell what is blocking you for that long -
@asmw I'd try to diagnose DNS issues, maybe you have some service on your machine which controls DNS? that could interfere it.
@redbr1ck While it's always DNS, the adresses resolve correctly.
Fetching the main pages using curl is also instant, seems to affect either larger transfers or depends on the number of connections?
-
@asmw hum ok. Can you try curl? I'm no expert but with some switch I think you can get a quite verbose output. Maybe that will tell what is blocking you for that long
@arutaz Fetching the main pages using curl is basically instant.
In the FF devtools I also see that a bunch of request finish very quickly and some hang for over 40 seconds.
-
So I have a weird #networking problem: I have a #homeserver with several webservices, exposed to the internet via a reverse proxy.
When I access any service from my linux desktop or laptop, either from home or on the go, everything works fine.
When I try to access the services from my macbook, they all hang for a long time before doing anything. This issue presents in #safari and #firefox, so I don't think it's a browser issue.
Anyone got tips?
its always DNS

Maybe DNS lookup orders differ? Maybe conflict with mDNS? (assuming mDNS only active on mac)
Edit: Oh sorry. Missed that was already adressed.
-
@arutaz Fetching the main pages using curl is basically instant.
In the FF devtools I also see that a bunch of request finish very quickly and some hang for over 40 seconds.
@asmw Ok so then it at least seems that there is nothing wrong with routing or tls etc. What service is it? You had multiple different services and they all do this? -
@asmw Ok so then it at least seems that there is nothing wrong with routing or tls etc. What service is it? You had multiple different services and they all do this?
@arutaz Jupp, nextcloud, gotify, silverbullet. All slow/laggy.
-
@asmw Ok so then it at least seems that there is nothing wrong with routing or tls etc. What service is it? You had multiple different services and they all do this?
@arutaz Huh, so the macbook is new, it hasn't left the house yet. I just put it on the hotspot on my phone (so it has to go through the internet) and THAT WORKS FINE?
-
@arutaz Huh, so the macbook is new, it hasn't left the house yet. I just put it on the hotspot on my phone (so it has to go through the internet) and THAT WORKS FINE?
@arutaz Some wifi issue?
-
@arutaz Huh, so the macbook is new, it hasn't left the house yet. I just put it on the hotspot on my phone (so it has to go through the internet) and THAT WORKS FINE?
@asmw I would think a settiong in your router is to blame. When you connect to an outside address for your server stuff, like nextcloud.yourdomain.com then your router see that the IP of that is pointing to itself.
I think there are settings in most routers for this but I don't know what it's called.
When your mac is connecting using your phone it's like it's on the outside and everything works great. -
@asmw I would think a settiong in your router is to blame. When you connect to an outside address for your server stuff, like nextcloud.yourdomain.com then your router see that the IP of that is pointing to itself.
I think there are settings in most routers for this but I don't know what it's called.
When your mac is connecting using your phone it's like it's on the outside and everything works great.@arutaz That's not the case here, I am NATed, so I have a static wireguard tunnel with a static IPv4 as the endpoint. The names resolve to an external IP.
-
@arutaz That's not the case here, I am NATed, so I have a static wireguard tunnel with a static IPv4 as the endpoint. The names resolve to an external IP.
@asmw ok -
@arutaz So technically all uses of my services from home should go to the internet first (wasteful, I know). So weird there's a difference.
-
@arutaz So technically all uses of my services from home should go to the internet first (wasteful, I know). So weird there's a difference.
@asmw and your wireguard tunnel is not setup to allow local network otuside the tunnel? -
@arutaz It's supposed to be point to point, but I'm no expert. It has worked for months without issues.
-
@arutaz It's supposed to be point to point, but I'm no expert. It has worked for months without issues.
@asmw Oh, so the problem is new? It has worked with the same setup until recently? -
@redbr1ck While it's always DNS, the adresses resolve correctly.
Fetching the main pages using curl is also instant, seems to affect either larger transfers or depends on the number of connections?
@asmw did you query DNS with macOS native tool dscacheutil? It might give different result than curl or dig.