Page 1 of 1

500 Internal Server Error (HTTPS)

Posted: Sun Sep 09, 2018 11:13 pm
by happy2play
There appears to be a certificate issue.

Result in Edge

Code: Select all

The website’s security certificate is not yet valid or has expired.
Error Code: DLG_FLAGS_SEC_CERT_DATE_INVALID
Chrome just display 500 Internal server error

Errors from Emby (used this url for this example)

Code: Select all

2018-09-09 14:49:34.777 Error HttpClient: Error getting response from https://assets.fanart.tv/fanart/music/4bdcee62-4902-4773-8cd1-e252e2e31225/artistthumb/morissette-alanis-4fd0b7f801da5.jpg
	*** Error Report ***
	Version: 3.6.0.39
	Command line: C:\Users\Username\Desktop\Portable\system\EmbyServer.dll
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 4
	Program data path: C:\Users\username\Desktop\Portable\programdata
	Application directory: C:\Users\username\Desktop\Portable\system
	System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
HTTP returns results from same url.

Re: 500 Internal Server Error (HTTPS)

Posted: Mon Sep 10, 2018 2:19 am
by walaj
As above .
see https://github.com/tinyMediaManager/tin ... issues/373 for similar feedback on tinyMediaManager

Re: 500 Internal Server Error (HTTPS)

Posted: Tue Sep 11, 2018 8:02 pm
by dazed
I use Ember and getting similar errors about the certificate being invalid

Code: Select all

2018-09-11 19:53:42.8364,EmberAPI.HTTP,EmberAPI.HTTP.DownloadImage,6,ERROR,DownloadImage	<https://assets.fanart.tv/fanart/movies/400535/hdmovielogo/soldado-5ac779fb38f8e.png>,"EXCEPTION OCCURRED:System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.

Re: 500 Internal Server Error (HTTPS)

Posted: Thu Sep 13, 2018 4:23 am
by popcorntime
The issue with the SSL certificate has been fixed.
The new SSL certificate will be valid until Dec 9, 2018.
It will be automatically renew via Let's Encrypt every 3 months.

Re: 500 Internal Server Error (HTTPS)

Posted: Fri Sep 14, 2018 10:00 pm
by manfeed
It's broken again...

Re: 500 Internal Server Error (HTTPS)

Posted: Sat Sep 15, 2018 12:37 am
by happy2play
The certificate is valid the majority of the time. So is the server just getting overloaded? As the error are more prevalent at certain times.

Re: 500 Internal Server Error (HTTPS)

Posted: Sat Sep 15, 2018 1:28 am
by happy2play
Like right now I am getting 500 Internal error
MediaBrowser.Model.Net.HttpException: InternalServerError

System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
InnerException: System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
Chrome.jpg
Chrome.jpg (103.31 KiB) Viewed 30988 times

Re: 500 Internal Server Error (HTTPS)

Posted: Mon Sep 17, 2018 1:12 pm
by Kode
The certificate was renewed before it ran out, but there has been a significant inccrease in traffic over the last 2 weeks, so maybe the server is returning a 500 when it's overloaded.

Image

If anyone comes across it feel free to hit me up on the discord server (Community / Chat with us) and I'll try to dig deeper. I rarely check these forums but I'm always on the discord server.