Yet another port forwarding problem

Need help? Post your questions here.

Moderator: moderators

Yet another port forwarding problem

Postby gimmeliberty » Sun May 02, 2010 8:03 am

Hi folks, I've had a lot of problems getting my port forwarding to work.

I have a WRG54G2 router, and I set it to port forward from 4040 (I'm using subsonic 4.0) on my Ubuntu box. When I was using subsonic 3.9, I tried all sorts of different port numbers.

No matter what I do, this is the message that subsonic gives me:
Status: Failed to create port forwarding for port 4040. See log for details.


I've followed every guide, and still no dice. Anybody have an idea what's wrong? I'm tearing out my hair...
gimmeliberty
 
Posts: 5
Joined: Sun May 02, 2010 7:57 am

Postby gimmeliberty » Sun May 02, 2010 8:06 am

By the way, I just pulled up the log, and this seems to be the pertinent section:
[2010-05-02 00:09:56,138] DEBUG NetworkService - Completed PortForwardingTask
[2010-05-02 00:13:24,225] INFO PodcastService - Starting scheduled Podcast refresh.
[2010-05-02 00:13:24,225] INFO PodcastService - Completed scheduled Podcast refresh.
[2010-05-02 00:13:54,771] DEBUG NetworkService - Starting PortForwardingTask
[2010-05-02 00:13:54,772] DEBUG NetworkService - Starting URLRedirectionTask
[2010-05-02 00:13:55,320] DEBUG NetworkService - Completed URLRedirectionTask
[2010-05-02 00:13:57,851] WARN NetworkService - Failed to create port forwarding for port 4040.
net.sbbi.upnp.messages.UPNPResponseException: Detailed error code :713, Detailed error description :SpecifiedArrayIndexInvalid
at net.sbbi.upnp.messages.ActionMessageResponseParser.startElement(ActionMessageResponseParser.java:145)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:392)
at net.sbbi.upnp.messages.ActionMessage.service(ActionMessage.java:172)
at net.sbbi.upnp.impls.InternetGatewayDevice.addPortMapping(InternetGatewayDevice.java:388)
at net.sourceforge.subsonic.domain.SBBIRouter.addPortMapping(SBBIRouter.java:57)
at net.sourceforge.subsonic.service.NetworkService$PortForwardingTask.execute(NetworkService.java:144)
at net.sourceforge.subsonic.service.NetworkService$Task.run(NetworkService.java:295)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
gimmeliberty
 
Posts: 5
Joined: Sun May 02, 2010 7:57 am

Postby sindre_mehus » Sun May 02, 2010 5:20 pm

Sounds like you need to set up port forwarding manually. Please see the Getting Started documentation.
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby gimmeliberty » Sun May 02, 2010 5:25 pm

Thanks for the tip, but I've already manually set up port forwarding in my router, using 4040 and my ip address from ifconfig. Before I switched to subsonic 4.0b1, I tried lots of different port numbers to no avail.
gimmeliberty
 
Posts: 5
Joined: Sun May 02, 2010 7:57 am

Proxy instead of forwarding

Postby DasBoot » Mon May 03, 2010 4:46 pm

Do you have a web server running on something inside your network? If you do you can use it to proxy Subsonic through the firewall. Use your webserver's version of mod_proxy and configure it to forward everything under a given path or with a given hostname to Subsonic. You can also use ssl (https) this way to protect the innocent passwords etc.

Search this forum for how to configure your server and Subsonic if you are unsure how this works. I have posted a manual for the lighttpd webserver, others have given instructions for apache.
DasBoot
 
Posts: 12
Joined: Sun Apr 04, 2010 10:52 pm

Postby gimmeliberty » Thu May 06, 2010 8:49 am

Hi DasBoot, thanks! I tracked down your other post and I think I'm partway there -- the problem is I've never mucked around with this stuff before so I need very specific directions.

I reached this point:
Once you've configured your webserver to proxy all connections to a given url and deeper (say /music) to wherever you run Subsonic you need to configure Subsonic to make it aware of the url prefix.


I have no idea how to do that. You may have to explain it to me as you would to a five year old :?
gimmeliberty
 
Posts: 5
Joined: Sun May 02, 2010 7:57 am

Postby gimmeliberty » Tue May 18, 2010 5:04 am

bump?
gimmeliberty
 
Posts: 5
Joined: Sun May 02, 2010 7:57 am


Return to Help

Who is online

Users browsing this forum: No registered users and 26 guests