Bolo Popo 1 Posted August 2, 2021 Share Posted August 2, 2021 Hello, I'm running the emby plugin (4.6.4.0) via an 'vanilla' install on FreeNAS-11.3-U5. I say vanilla because I didn't change anything at install time except to mount a volume for my media... (Actually I think I clicked for DHCP instead of NAT, and clicked 'Autoconfigure IPv6', but other than that...) For some reason the server isn't listening on the https port. From another jail on the same FreeNAS box I can only see port 8096 open and not 8920. I went to the trouble of getting a cert for my ddns domain name to get https over remote connections without errors, but without port 8920 open it obviously doesn't work... Not sure what I'm doing wrong! I'm set to just re-install the plugin and try again? Should I try installing via 'pkg'? Many thanks, Dan. Link to comment Share on other sites More sharing options...
Bolo Popo 1 Posted August 2, 2021 Author Share Posted August 2, 2021 Just tried installing via pkg on a 'fresh' jail running 11.4-RELEASE-p6 and I get the same issue. I'm tempted to think that there is simply a missing ssl or tls library needed? Many thanks, Dan. Link to comment Share on other sites More sharing options...
Bolo Popo 1 Posted August 3, 2021 Author Share Posted August 3, 2021 (edited) I think the lack of https is stopping my Roku device from being able to connect... Not 100% sure, but it fails to see the server (using the http port obvs.) EDIT: The Roku connection issue had nothing to do with http vs. https, I was using the wrong port number to connect because I forwarded the standard Emby http port to a random port number on the WAN side of my router. Edited August 18, 2021 by Bolo Popo Clarifying an unrelated side issue. Link to comment Share on other sites More sharing options...
Bolo Popo 1 Posted August 6, 2021 Author Share Posted August 6, 2021 This is really frustrating. How come the server isn't listening on HTTPS? Link to comment Share on other sites More sharing options...
Bolo Popo 1 Posted August 6, 2021 Author Share Posted August 6, 2021 Why no HTTPS? Link to comment Share on other sites More sharing options...
Luke 37024 Posted August 6, 2021 Share Posted August 6, 2021 Hi @Bolo Popo did you configure the certificate in Emby Server network settings? Link to comment Share on other sites More sharing options...
Bolo Popo 1 Posted August 8, 2021 Author Share Posted August 8, 2021 Yes I did, but it should be listening on https on the LAN even without this. I used certbot to generate a certificate for my ddns domain name and I put it into the appropriate box in the network config. Link to comment Share on other sites More sharing options...
Luke 37024 Posted August 17, 2021 Share Posted August 17, 2021 On 8/8/2021 at 5:35 AM, Bolo Popo said: Yes I did, but it should be listening on https on the LAN even without this. I used certbot to generate a certificate for my ddns domain name and I put it into the appropriate box in the network config. Hi, it is listening, but it only shows https on the server dashboard if the certificate has loaded successfully, so I'm guessing that didn't happen. Please attach the emby server log and I'm guessing it will show an error related to your certificate. Link to comment Share on other sites More sharing options...
Bolo Popo 1 Posted August 18, 2021 Author Share Posted August 18, 2021 netstat on the emby jail says differently, but I'll paste the log... Before I do that, is there anything sensitive I should expunge from the log? Will grepping the log for 'error' be enough? Many thanks for help, Link to comment Share on other sites More sharing options...
Bolo Popo 1 Posted August 18, 2021 Author Share Posted August 18, 2021 I am seeing several errors like this, not sure if they are transient or related: 2021-08-16 16:19:02.822 Info HttpClient: HttpClientManager GET: https://www.mb3admin.com/admin/service/EmbyPackages.json 2021-08-16 16:19:15.941 Error HttpClient: Error NameResolutionFailure getting response from *** Error Report *** Version: 4.6.4.0 Command line: /usr/local/lib/emby-server/system/EmbyServer.exe -os freebsd -ffmpeg /usr/local/bin/ffmpeg -ffprobe /usr/local/bin/ffprobe -programdata /var/db/emby-server -updatepackage emby-server-freebsd_{version}_amd64.txz -noautorunwebapp Operating system: Unix 11.3.14.0 Framework: Mono: 5.10.1.57 (5.10.1.57 Sat Jul 10 02:33:45 UTC 2021) OS/Process: X64/X64 Runtime: usr/local/lib/mono/4.5/mscorlib.dll Processor count: 4 Data path: /var/db/emby-server Application path: /usr/local/lib/emby-server/system System.Net.WebException: System.Net.WebException: Error: NameResolutionFailure at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00058] in <b3922b7d60404fa9ae645f1fb97f5b6b>:0 at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x0000f] in <0e06830de9a44394a7e366951eabca52>:0 Source: System TargetSite: System.Net.WebResponse EndGetResponse(System.IAsyncResult) 2021-08-16 16:19:15.942 Info App: Timed out checking for application updates. Will try again later 2021-08-16 16:19:15.942 Debug TaskManager: Check for application updates Completed after 0 minute(s) and 15 seconds Link to comment Share on other sites More sharing options...
Bolo Popo 1 Posted August 18, 2021 Author Share Posted August 18, 2021 Also: [root@emby-pkg /]# nmap localhost -p 0-65535 Starting Nmap 7.91 ( https://nmap.org ) at 2021-08-18 10:17 BST Nmap scan report for localhost (127.0.0.1) Host is up (0.000067s latency). Other addresses for localhost (not scanned): ::1 Not shown: 65535 closed ports PORT STATE SERVICE 8096/tcp open unknown Nmap done: 1 IP address (1 host up) scanned in 352.82 seconds Link to comment Share on other sites More sharing options...
Luke 37024 Posted August 21, 2021 Share Posted August 21, 2021 On 8/18/2021 at 5:12 AM, Bolo Popo said: I am seeing several errors like this, not sure if they are transient or related: 2021-08-16 16:19:02.822 Info HttpClient: HttpClientManager GET: https://www.mb3admin.com/admin/service/EmbyPackages.json 2021-08-16 16:19:15.941 Error HttpClient: Error NameResolutionFailure getting response from *** Error Report *** Version: 4.6.4.0 Command line: /usr/local/lib/emby-server/system/EmbyServer.exe -os freebsd -ffmpeg /usr/local/bin/ffmpeg -ffprobe /usr/local/bin/ffprobe -programdata /var/db/emby-server -updatepackage emby-server-freebsd_{version}_amd64.txz -noautorunwebapp Operating system: Unix 11.3.14.0 Framework: Mono: 5.10.1.57 (5.10.1.57 Sat Jul 10 02:33:45 UTC 2021) OS/Process: X64/X64 Runtime: usr/local/lib/mono/4.5/mscorlib.dll Processor count: 4 Data path: /var/db/emby-server Application path: /usr/local/lib/emby-server/system System.Net.WebException: System.Net.WebException: Error: NameResolutionFailure at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00058] in <b3922b7d60404fa9ae645f1fb97f5b6b>:0 at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x0000f] in <0e06830de9a44394a7e366951eabca52>:0 Source: System TargetSite: System.Net.WebResponse EndGetResponse(System.IAsyncResult) 2021-08-16 16:19:15.942 Info App: Timed out checking for application updates. Will try again later 2021-08-16 16:19:15.942 Debug TaskManager: Check for application updates Completed after 0 minute(s) and 15 seconds That's not related to this. Link to comment Share on other sites More sharing options...
Luke 37024 Posted August 21, 2021 Share Posted August 21, 2021 On 8/18/2021 at 4:56 AM, Bolo Popo said: netstat on the emby jail says differently, but I'll paste the log... Before I do that, is there anything sensitive I should expunge from the log? Will grepping the log for 'error' be enough? Many thanks for help, Please attach the complete emby server log, or send to me via PM. Thanks. Link to comment Share on other sites More sharing options...
Bolo Popo 1 Posted September 13, 2021 Author Share Posted September 13, 2021 (edited) Sorry it's taken so long to get back to you on this, I'll PM you the log... Done Edited September 13, 2021 by Bolo Popo Done Link to comment Share on other sites More sharing options...
Luke 37024 Posted September 14, 2021 Share Posted September 14, 2021 Hi, please take a look at the advice in this topic and see if it helps: Thanks. Link to comment Share on other sites More sharing options...
Bolo Popo 1 Posted September 15, 2021 Author Share Posted September 15, 2021 (edited) Thanks @Luke, Please note that this is an issue with the plugin, not the package, and I've tried re-installing both flavours (twice) in new jails and I still see the issue... not sure if I'm doing something wrong I can pick the version of freenas that the jail uses if you think that will help? Edited September 15, 2021 by Bolo Popo Confused the word 'package' for 'jail' Link to comment Share on other sites More sharing options...
Bolo Popo 1 Posted September 15, 2021 Author Share Posted September 15, 2021 Do I just need to run cert-sync? Link to comment Share on other sites More sharing options...
Luke 37024 Posted September 15, 2021 Share Posted September 15, 2021 1 hour ago, Bolo Popo said: Do I just need to run cert-sync? It's worth trying, yes. Link to comment Share on other sites More sharing options...
Bolo Popo 1 Posted September 25, 2021 Author Share Posted September 25, 2021 Didn't seem to do anything. Link to comment Share on other sites More sharing options...
Bolo Popo 1 Posted October 1, 2021 Author Share Posted October 1, 2021 I can reproduce this on re-install. Link to comment Share on other sites More sharing options...
Luke 37024 Posted November 30, 2021 Share Posted November 30, 2021 @Bolo Popo are you still having an issue with this? Link to comment Share on other sites More sharing options...
Bolo Popo 1 Posted December 2, 2021 Author Share Posted December 2, 2021 By getting and then converting a LetsEncrypt cert and then uploading to Emby, I can fix the issue. Would be nice if the install created a new cert. Link to comment Share on other sites More sharing options...
Bolo Popo 1 Posted December 2, 2021 Author Share Posted December 2, 2021 Not sure why all the tutorials I read seem to imply that https will 'just work' without getting (and potentially converting) and uploading the cert... would be nice to have a tutorial on that. Link to comment Share on other sites More sharing options...
Luke 37024 Posted December 2, 2021 Share Posted December 2, 2021 2 hours ago, Bolo Popo said: By getting and then converting a LetsEncrypt cert and then uploading to Emby, I can fix the issue. Would be nice if the install created a new cert. Thanks for the feedback. Link to comment Share on other sites More sharing options...
Luke 37024 Posted December 2, 2021 Share Posted December 2, 2021 2 hours ago, Bolo Popo said: Not sure why all the tutorials I read seem to imply that https will 'just work' without getting (and potentially converting) and uploading the cert... would be nice to have a tutorial on that. There are actually a number of them, albeit spread throughout the community. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now