Roon ARC: Network Error 504 during Connectivity Check (ref#HIM4RX)

Network Setup

· I use my ISP's router alongside a personal router.

ARC Status

· ARC is *Not Ready*

Roon Error Code

· “natpmp_autoconfig”: {“status”:“NotFound”}, “upnp_autoconfig”: {“status”:“NotFound”} }

Have you successfully located and enabled the UPnP or NAT-PMP settings in your router's web UI?

· I've turned UPnP/ NAT-PMP on and ARC won't connect

Select the Diagnostic Keyword or Text String

· Something else

Don't give up yet.

· I'm stuck. I'd like to create a post to ask Roon Community for help.

Describe the issue

Hi there, I got this error when testing Roon ARC.

{
"ipv6_connectivity": {"status": "NetworkError","status_code":504,"error":"error: Error: ETIMEDOUT, response code: undefined, body: undefined connected? undefined"},
"ipv4_connectivity": {"status":"NetworkError","status_code":504,"error":"error: Error: ETIMEDOUT, response code: undefined, body: undefined connected? undefined"},
"external_ip": {"actual_external_ip":"104.kkk.lll.eee","actual_external_ipv6":"2606:ddd:eee:fff:ggg:hhh:iii:jjj","router_external_ip":"null"},
"natpmp_autoconfig": {"status":"NotFound"},
"upnp_autoconfig": {"status":"NotFound"}
}

Describe your network setup

Some background information:
I run the Roon server on my Macbook Pro. I'm using two routers, one from my ISP (https://www.vnpt-technology.vn/en/product_detail/gpon-ont-igate-gw020-h), the other one is MI AX1800. My personal router connects to a LAN socket in the wall and broadcasts its own Wifi.
Usually, all of my audio devices connect to Wifi from my personal router, including my Roon server. They only appear in Roon when I connect my Mac to the same Wifi. I did try to switch to the wifi provided by the ISP's router, but none of the devices would show up.
I already enabled Upnp in both routers. There is an option to create a port forwarding rule in my personal router's setting interface, but the default IP address starts with 192.168.31.*** (I'm only allowed to fill the last 3 digits) while my Roon server IP is 172.16.0.2, so I guess that didn't match. I can't seem to find the same feature on my ISP's interface.

I'm a little confused regarding how this all works together. I can provide more information as requested. It would be ideal If someone could support me directly by accessing my Mac remotely using Anydesk.

Thanks for being my hero.

For Roon Server, Endpoints and clients (Not ARC) all to work correctly together, they must all be on the same subnet so, if your endpoints are connected to your personal router (either by wired ethernet or WiFi), then your server and all devices you use for controlling Roon must also be connected to the same router. You cannot just move the server to the other router.

So, assuming that all devices (including your Roon Server) are connected to your MI AX1800 router which in turn has its WAN port connected to the ISP Router.

With two routers in the route between the roon server and the ISP connection, you will not be able to use uPnP. uPnP can only be used (by the Roon Server software) to configure the router to which the Roon Server is attached. It cannot configure any router beyond that router. As a consequence, it is usually best to turn uPNP off in this kind of situation.

Instead, you will have to create a manual port forwarding rule on each router.

On the ISP router, create a rule to forward TCP connections on the ARC port to the WAN side ip address of your MI AX1800 as a destination address. Leave any ‘source’ ip address field clear.

On the MI AX1800, create a rule to forward TCP connections on the ARC port to IP address of your Roon Server as a destination address. Again, leave any ‘source’ ip address field clear.

From your description, it would appear that your MI AX1800 is configured to provide a 192.168.31.0/24 subnet meaning that the LAN side ip address of this router and all devices connected to it (either by ethernet or WiFI) begin with 192.168.31…

You state that your Roon Server has an IP address of 172.16.0.2. This implies that it is not connected to your MI AX1800 but is instead connected to the ISP router. This needs to change. When it is changed your Roon Server will receive an IP address that starts with 192.168.31…

The fact that your Roon Server, when connected to, the ISP router has an ip address of 172.16.0.2 suggests that the ISP router is providing a 172.16.0.0/16 subnet (or, possibly, a 172.16.0.0/24 subnet although the 172.16.0.0 to 172.31.255.255 ip address range is nominally reservered for class B networks with a 255.255.0.0 netmask). This being the case, the WAN side ip address of your MI AX1800 router should also start with 172.16.

1 Like

Hey @Anh_V,

Welcome to the community, and thanks for sharing your report! @Wade_Oram is spot on correct with the above response, nicely said Wade - thank you!

Let me know if the above makes sense and if you run into any issues along the way. :+1:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

Hi guys, sorry for the delay in response. Finally I have the time to follow this topic.

Let me summary what I need to do in 2 steps:

  1. Connect my Roon sever to my MI AX1800 instead of the ISP router.
  2. Create a manual port forwarding rule on each router.

For step 1, I’m assuming that changing my Roon’s sever connection to the MI AX1800 router is not simply done by just connecting my Mac to the wifi provided by it.

If that’s the case, please guide me throughly. I have no idea where to start.

Thank you guy so much @benjamin @Wade_Oram

Hi @Anh_V,

That is pretty much what you do. I would recommend restarting the the Roon Server when you switch to the other Wi-Fi. But there’s no configuration involved unless Roon is using a network storage location on the other Wi-Fi.

For step 2 you can set up the manual port forwarding using this guide. Let us know if you need any further assistance!

Hi there,

In the meantime, can you please keep the topic open? It would be automatically closed in 2 days. I won’t have enough time.

Thanks

Hi @Anh_V,

Diagnostics indicate that you’re using a RoonServer machine compatible with Tailscale. This will bypass port forwarding entirely and allow you to connect to ARC over cellular data.

Port forwarding becomes complicated fast with multiple variables; I recommend installing Tailscale on your server and phone as a quick solution instead, per the guide below.

Let us know if you have any questions!