NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

dsm1212's avatar
dsm1212
Apprentice
Dec 21, 2014

reverse proxy problem in 6.2.1, what changed?

I've had a reverse proxy set up forever on my NAS and when I updated to os 6.2.1, API clients stopped working (iphone/android) with subsonic. Browser is fine. The problem is something to do with the reverse proxy because if I connect the app to subsonic directly it works. Here's all I've got for the reverse proxy:

ProxyRequests Off
ProxyPreserveHost Off

<Location /subsonic/>
ProxyPass http://192.168.1.200:4040/subsonic/
ProxyPassReverse http://192.168.1.200:4040/subsonic/
Allow from all
</Location>

I have the root of subsonic set to /subsonic.

I assume this broke due to some change in apache or its configuration. os6.2.1 appears to be running a 2.2.29-netgear2 build. I'm not sure what version it was before.

The errors in the log look like this below. The error happens when I try to open an artist to list the albums. Any suggestions what might have changed in 6.2.1 with apache? Maybe a security fix or something I need to open up?

steve

[2014-12-21 10:56:33,617] WARN RESTFilter - Error in REST API: Access denied to file Adele
java.lang.SecurityException: Access denied to file Adele
at net.sourceforge.subsonic.service.MediaFileService.getMediaFile(MediaFileService.java:151
)
at net.sourceforge.subsonic.controller.RESTController.getMusicDirectory(RESTController.java
:489)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(
MultiActionController.java:473)
at org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInter
nal(MultiActionController.java:410)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.
java:153)
.
.
.

1 Reply

Replies have been turned off for this discussion
  • Very strange, but this appears to have been something odd with subsonic. I ran the "clean up database" option and it cleared up.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More