I want to monitor a service from another machine. Both machines are connected to a VLAN. Both machines can ping and also establish connections to each other. So connectivity in general seems fine.
However when I try to fetch metrics at
http://10.0.0.10:9100/metrics (Prometheus) my http connection hangs. When fetching
http://10.0.0.10:9100 everything works fine.
I did a
tcpdump on the receiving side and can see that a connection is established but then packets are retransmitted until
10.0.0.20 sends a
TCP RST. I'm not sure how to continue debugging from here or what could cause this problem.
I'm running Ubuntu 18.04 with both
Edit: Seems I solved the issue by setting the MTU to 1450 instead 1500. This was mentioned in guides for private networking for other hosters. Any explanation why this solved the issue would still be great