Re: Can't connect to UPnP server from outside LAN

When manually specifying UPnP servers, the specified URL should be pointing at a UPnP device description XML.

With foo_upnp, the URL looks like this: http://<login>@<host>:<port>/DeviceDescription.xml

When foobar2000 mobile is fed a URL without the /DeviceDescription.xml and fails to load it, it proceeds to try one with /DeviceDescription.xml appended. However, for mysterious reasons, this fails for some people. The issue is being investigated.

Re: Can't connect to UPnP server from outside LAN

Hello
I only made an account for this post, so...

foobar mobile app is searching for the xml file with the configuration. So i connected with the foobar desktop application and wireshark showed that the url to the xml file is SuperMediaServer/DeviceDescription.xml (In the combination with minidlna and bubbleupnp, not sure if this is always the same)
So to connect with foobar mobile use this format: http://user:pw@ip_or_hostname:58050/...escription.xml.
Proof: https://i.imgur.com/szLvnN1.png, no wifi connected

Re: Can't connect to UPnP server from outside LAN

Hello

I only made an account to post this
Connect with foobar desktop and use wireshark to get the url of the xml file. On bubbleupnp it is (in combination with minidlna, i am not sure if this can be different with other services) /SuperMediaServer/DeviceDescription.xml.
So to connect use http://user:pw@ip_or_hostname:58050/...escription.xml

Re: Can't connect to UPnP server from outside LAN

Hello

I only made an account to post this
Connect with foobar desktop and use wireshark to get the url of the xml file. On bubbleupnp it is (in combination with minidlna, i am not sure if this can be different with other services) /SuperMediaServer/DeviceDescription.xml.
So to connect use http://user:pw@ip_or_hostname:58050/...escription.xml

Re: Can't connect to UPnP server from outside LAN

I'm able to connect using the above method (w/ BubbleUPnP and MediaMonkey) but I get an error whenever I try to play a track ("Playback Error: Network Error On: [URL]"). Looks like the URL listed doesn't have a username / password, if that matters. Any idea why this might be the case and anything I can do to fix it?

When I plug the URL above inside my internal LAN, the track plays. When I swap the IP for the hostname, the track ALSO plays.

I&*8217;m using FB2K on iOS, connected remotely to BubbleUPNP running on Raspberry PI, alongside MinimServer.
I successfully added and connected by using the same string other users confirmed:http://userass@host:58050. The connection works and I can browse my library.

However &*8211; when I attempt to play any track, FB2K &*8220;blinks&*8221; an error confirming that the hostname has been swapped by the LAN IP&*8230;
I know the issue must be with BubbleUPNP, because none of the other components (the mobile phone, MinimServer) are &*8220;aware&*8221; of the LAN IP. BubbleUPNP is supposed to be that &*8220;bridge&*8230;&*8221;

I tried looking into the configuration.xml file, to see if there are perhaps parameters I can influence outside the web portal of BubbleUPNP, but couldn't find anything useful (for this purpose...)

Re: Can't connect to UPnP server from outside LAN

Two remote experiments to connect to the same BubbleUPNP server:
1. When using foobar2000 on iOS, the internal (LAN) IP is given to FB2K on the stream address, which is obviously useless in the remote connection...
2. When using BubbleUPNP (Android), connecting to the SAME server, the correct (hostname) stream is given.

So...despite what I've said before, assuming that BubbleUPNP is the culprit, I now think there's something "in the protocol" between the client (FB2K) and the BubbleUPNP server, which causes the LAN IP to be given back, instead of the hostname...

Re: Can't connect to UPnP server from outside LAN

Originally Posted by vansover

Two remote experiments to connect to the same BubbleUPNP server:
1. When using foobar2000 on iOS, the internal (LAN) IP is given to FB2K on the stream address, which is obviously useless in the remote connection...
2. When using BubbleUPNP (Android), connecting to the SAME server, the correct (hostname) stream is given.

So...despite what I've said before, assuming that BubbleUPNP is the culprit, I now think there's something "in the protocol" between the client (FB2K) and the BubbleUPNP server, which causes the LAN IP to be given back, instead of the hostname...

I'm not sure BubbleUpnp is to blame.
I have the same issues as you when using foobar2000 mobile - it's trying to use the internal ip address.
However when i use foobar2000 on Win10 over vpn, it plays just fine - it uses the public hostname.
Even when not on a VPN i can see the tracks properties look like this: http://<mypublichostname>:8081/stream/audio/1ade778424f35cacf17e7959ea986311.ogg

So i believe fb2k mobile is just picking up the wrong field - internal ip rather than host