Trouble Contacting "Image Servers"
-
Good Morning,
I've been having a problem with Roon (a music service that handles ones' music library as well as streaming services in one program/server setup) displaying pictures for music albums. It's been over 4 months trying to work w/ the folks at Roon and QNAP (the Roon Core (Server) runs on a TVS-672N behind my PfSense firewall/router 6100) and finally got some insight into what might be going on. I'm reaching out here to try and narrow down how I can use the tools available on PfSense to help fix the problem.
The skinny is that something is preventing the Roon Core on my QNAP TVS-672N from communicating w/ Roon's, "image servers." The tech from Roon sent me the following log:
"02/09 08:10:48 Warn: [broker/images] unexpected error GET'ing https://imagecache.roonlabs.net/im/1/albums/a600323131353830313132/cover/512.jpg: statuscode=999 error=System.Net.WebException: The operation has timed out.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)at System.Threading.Tasks.TaskFactory
1.FromAsyncCoreLogic(IAsyncResult iar, Func
2 endFunction, Action1 endAction, Task
1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location ---
at Sooloos.EasyHttp.QueryAsync(HttpMethod method, Params p, CancellationToken canceltoken, IAuthProvider auth)
02/09 08:10:48 Trace: GetImageData[Remote](id=9387 spec=512 key=bxnaaaaa uri=https://imagecache.roonlabs.net/im/1/albums/a600323131353830313132/cover/512.jpg) => fetched in 100000ms status=999 size=0 overalltime=100000ms
02/09 08:10:48 Warn: [broker/images] unexpected error GET'ing https://imagecache.roonlabs.net/im/1/artists/bf00353332373038/photo/4by3_1024.jpg: statuscode=999 error=System.Net.WebException: The operation has timed out.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)at System.Threading.Tasks.TaskFactory
1.FromAsyncCoreLogic(IAsyncResult iar, Func
2 endFunction, Action1 endAction, Task
1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location ---
at Sooloos.EasyHttp.QueryAsync(HttpMethod method, Params p, CancellationToken canceltoken, IAuthProvider auth)"So, my question is, how do I go about finding out what's blocking it?
I also have a Plex server on the NAS and it doesn't have any issues. Three of the four LAN (OPT?) inputs are bridged and I'm using a default allow LAN to any rule for them, using an interface group. I'm also using PfBlocker, but looking at the floating rules, it doesn't look like it's blocked anything. PfBlocker does seem to be blocking, "DNSBL," rather than IPs. I've been playing w/, "NTopNG," but not sure where to look there either. I've also been trying to look through the firewall logs, but it only lists IP addresses, not websites (which is what's listed in the logs above).
The only other thing I thought could be causing this problem is some sort of routing issue. I've made lots of changes and restoring of backups and one factory reset during the four months this issue has been going on, trying to fix things and explore all the features of PfSense (separate from the Roon problem). Does PfSense retain routing info in some way that it's getting confused? Would changing the IP address of my NAS help at all?
Any advice into how best to solve this dilemma would be very much appreciated.
Thank you,
Matt
-
@bymatty said in Trouble Contacting "Image Servers":
statuscode=999
Did you get out, what this is exactly meaning?
So you're running the software on the NAS directly or within a container?
Is QNAP able to fetch updates?
You can sniff the traffic on pfSense to get an idea, how it works.
-
Thank you @viragomann, the tech from Roon said the logs indicate the requests for album covers and other pics aren't making it out of my home network to reach Roon's image servers; hence, why there's no pics showing up. When I setup the Roon Core on my Mac however, the pictures download fine. The Roon tech said it sounds like an issue w/ the QNAP rather than the firewall, so, I'd need some way of tracking the request to or from the NAS. To answer your third question, no, the QNAP is unable to fetch the updates.
The Roon Core is running on the NAS, not in a container. It's an actual "app" from the QNAP App Store.
Would something like NTopNG help sniff the traffic, or is there a better or simpler way to do it? Would Wireshark be a better option?
Also, to clarify, I've already followed Roon's steps for properly removing and reinstalling the Roon Core on the NAS and have talked w/ a QNAP tech about what on the NAS could block the communication. The QNAP tech's suggestions didn't turn up anything.
-
@bymatty
You can also simply copy and paste the picture URL into a web browser to check if it loads.However, as you stated on your Mac it works within Roon as well.
Is there anything like curl or wget on the QNAP, which can be used for testing access to the cover images apart from Roon?
You can sniff the traffic on pfSense using the Packet capture utility from the Diagnostic menu.
I'm wondering if there something comes out of the NAS.Since its on official app from QNAP, I can hardly believe that there in an issue with it. But it should be checked.
-
Thank you @viragomann, I appreciate the feedback. I'll take a look; but, for the moment, it'll have to wait. Since we last spoke, the QNAP has since died (I think it's the power supply since nothing happens when I press the power button), and I need to send it in for warranty repair. When I get it back, I'll get started on trying out some of your ideas. But honestly, I'm just about ready to throw the whole unit away and start all over w/ something else. At least my Netgate and PfSense keep going. Plus, I'm learning more about NAS's and servers than I ever thought I would.
Take care, Matt