Jump to content
KandyMan

Synology HTTPS access

Recommended Posts

KandyMan

Forgive my noobness when it comes to this stuff but I recently got a Synology DS920+ and have tried setting up Emby.  The only way I can gain access to it in any way shape or form is if I disable the firewall on the Synology as I have everything forced to use HTTPS.  I've previously set up port forwarding to use the built in video station app, file station, moments etc and they all work fine.  I've set up my router to forward 8096 and 8920 to the Synology, I've allowed those ports in Router Configuration under External Access, and allowed them through the firewall under Security.

Am I missing something?  When I use canyouseeme.org, the DSM ports show success, however 8096 and 8920 fail, yet Router Configuration on the Synology shows an OK when I run Test Connection.  I'm using the latest beta for x64 as I think that's the only way to get the app to work on a DS920+?  I've also used SSLShopper.com to convert and upload my synology.me certificate to emby and still nothing.  I'm guessing nothing will matter if canyouseeme.org can't even see the ports, but I don't understand what I'm doing wrong.

I've uploaded what relevant settings I can think of and checked the logs and the only thing that stands out to me is below, though this seems to happen whether the firewall is enabled or not.

Any help is greatly appreciated as I'm ready to uninstall and just stick with the built in video station app.

2020-09-18 21:37:46.769 Debug PortMapper: Found NAT device: uuid:75802409-bccb-40e7-8e6c-fa095ecce140::urn:schemas-upnp-org:service:WANPPPConnection:1
2020-09-18 21:37:46.769 Debug PortMapper: Found device at: http://192.168.1.254:49152/4e417442/gatedesc0b.xml
2020-09-18 21:37:46.769 Debug HttpClient: GET http://192.168.1.254:49152/4e417442/gatedesc0b.xml
2020-09-18 21:37:46.772 Debug PortMapper: 192.168.1.254:49152: Found upnp service urn:schemas-upnp-org:service:WANPPPConnection:1 at /upnp/control/WANPPPConn1
2020-09-18 21:37:46.772 Debug PortMapper: Creating port map on local port 8096 to public port 8096 with device 192.168.1.139
2020-09-18 21:37:46.772 Debug HttpClient: POST http://192.168.1.254:49152/upnp/control/WANPPPConn1
2020-09-18 21:37:46.831 Error HttpClient: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>718</errorCode>
<errorDescription>ConflictInMappingEntry</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>

2020-09-18 21:37:46.832 Debug HttpClient: POST http://192.168.1.254:49152/upnp/control/WANPPPConn1
2020-09-18 21:37:46.835 Error HttpClient: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>601</errorCode>
<errorDescription>Argument Value Out of Range</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>

2020-09-18 21:37:46.836 Error PortMapper: Error creating port map
*** Error Report ***
Version: 4.5.0.29
Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /volume1/Emby -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -updatepackage emby-server-synology_{version}_x86_64.spk
Operating system: Linux version 4.4.59+ (root@build3) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #25426 SMP PREEMPT Wed Jul 8 03:21:27 CST 2020
Framework: .NET Core 3.1.7
OS/Process: x64/x64
Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll
Processor count: 4
Data path: /volume1/Emby
Application path: /volume1/@appstore/EmbyServer/system
MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>601</errorCode>
<errorDescription>Argument Value Out of Range</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>

at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
at Mono.Nat.Upnp.UpnpNatDevice.GetSpecificMappingAsync(Protocol protocol, Int32 publicPort, CancellationToken cancellationToken)
at Mono.Nat.Upnp.UpnpNatDevice.CreatePortMap(Mapping mapping, CancellationToken cancellationToken)
at Emby.PortMapper.ExternalPortForwarding.CreateRules(INatDevice device, CancellationToken cancellationToken)
Source: Emby.Server.Implementations
TargetSite: Void MoveNext()

2020-09-18 21:37:46.836 Debug PortMapper: Creating port map on local port 8920 to public port 8920 with device 192.168.1.139
2020-09-18 21:37:46.836 Debug HttpClient: POST http://192.168.1.254:49152/upnp/control/WANPPPConn1
2020-09-18 21:37:47.018 Debug HttpClient: POST http://192.168.1.254:49152/upnp/control/WANPPPConn1
2020-09-18 21:37:47.077 Error HttpClient: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>601</errorCode>
<errorDescription>Argument Value Out of Range</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
 
2020-09-18 21:37:47.079 Error PortMapper: Error creating port map
*** Error Report ***
Version: 4.5.0.29
Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /volume1/Emby -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -updatepackage emby-server-synology_{version}_x86_64.spk
Operating system: Linux version 4.4.59+ (root@build3) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #25426 SMP PREEMPT Wed Jul 8 03:21:27 CST 2020
Framework: .NET Core 3.1.7
OS/Process: x64/x64
Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll
Processor count: 4
Data path: /volume1/Emby
Application path: /volume1/@appstore/EmbyServer/system
MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>601</errorCode>
<errorDescription>Argument Value Out of Range</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
at Mono.Nat.Upnp.UpnpNatDevice.GetSpecificMappingAsync(Protocol protocol, Int32 publicPort, CancellationToken cancellationToken)
at Mono.Nat.Upnp.UpnpNatDevice.CreatePortMap(Mapping mapping, CancellationToken cancellationToken)
at Emby.PortMapper.ExternalPortForwarding.CreateRules(INatDevice device, CancellationToken cancellationToken)
Source: Emby.Server.Implementations
TargetSite: Void MoveNext()

img1.png

img2.png

Share this post


Link to post
Share on other sites
KandyMan

Anyone able to help me?

Share this post


Link to post
Share on other sites
KandyMan

None of them work, I can't access localhost:8096, 8096 is port forwarded on my router and open on the NAS's firewall, but canyouseeme.org fails to connect.  The only way to get everything working is to disable the firewall on the NAS.

Share this post


Link to post
Share on other sites
KandyMan

Oh my god I'm an idiot.  I had the firewall rules to allow the ports emby uses below the rule which blocked all.  Moving those allow rules above the block all rule brought everything to life.  I did mention I'm a noob in this space 😞

Share this post


Link to post
Share on other sites
Luke

Thanks for the feedback.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...