Need Help Troubleshoot Cause connecting to 127.0.0.1:56307 error

Roon Core Machine

Apple Mac Studio
M1 Max
64GB Ram
MacOS Monterey Version 12.6.2
Roon V2 Build 1272

Networking Gear & Setup Details

Router - Netgear Orbi
|Hardware Version| RBR50|
|Firmware Version| V2.7.4.24|
TP-Link Dumb Switch
VPN - NordVPN
All tracks are on a TrueNAS Core server version 13.X
Core is connected to NAS via 1GB Ethernet

Connected Audio Devices

The problem applies with any DAC in the signal path
Schitt Modius
Topping E30 II
Geshelli JNOG2

Number of Tracks in Library

91633 tracks

Here is the error I found in the logs. Roon will stop playing back, freeze and return after a long (1+ minute) pause.

05/18 15:43:21 Error: [raat/tcpaudiosource] connect failed: Connection refused
05/18 15:43:21 Warn: [raat/tcpaudiosource] disconnecting + retrying
05/18 15:43:21 Debug: [raat/tcpaudiosource] disconnecting
05/18 15:43:21 Info: [zone Topping E30 II] OnPlayFeedback OnToNext
05/18 15:43:21 Debug: [zone Topping E30 II] _Advance (Track)
05/18 15:43:21 Debug: [raat/tcpaudiosource] connecting to 127.0.0.1:56307
05/18 15:43:21 Error: [raat/tcpaudiosource] connect failed: Connection refused
05/18 15:43:21 Warn: [raat/tcpaudiosource] disconnecting + retrying
05/18 15:43:21 Debug: [raat/tcpaudiosource] disconnecting
05/18 15:43:21 Debug: [raat/tcpaudiosource] connecting to 127.0.0.1:56307
05/18 15:43:21 Error: [raat/tcpaudiosource] connect failed: Connection refused
05/18 15:43:21 Warn: [raat/tcpaudiosource] disconnecting + retrying

I have switched out cables, the switch, moved my library

what is the vpn doing/for?

Security purposes

Are you running any sort of additional firewall (e.g. Little Snitch) that might be blocking port 56307?

Nope.

I did look further into the logs and I see other times where the same error has occurred. The messages are very similar but a different port is listed.

I solved the problem.

I’ve moved Roon Core to a laptop that has nothing else running on it other than MacOS and a few basic utilities.

Yes, it’s a solution but it really doesn’t provide any true insight into the reason why Roon is so finicky on a beefy system like a Mac Studio - 64GB ram + 2TB SSD. It would be educational to learn why a VPN or other types of security software would cause Roon to lockup / fail. I run a good number of media-centric applications with high resource demands without any issue.

127.0.0.1 is the default IP address for the machine itself. In other words, the computer can’t connect to a port on itself. This can be caused by resource limitations, but is usually because no process is listening on the port.

My Mac fu is seriously out of date, but try typing “netstat -lpn” in a Terminal window, and see if any process is listening on that port.

This is almost certainly due to the configuration or operation of your VPN. Try shutting it down, and see if the problem goes away.

1 Like

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