500 Internal Server Error (HTTPS)

Post here any issues with the API or feature requests
Post Reply
happy2play
Posts: 7
Joined: Thu Feb 02, 2017 9:05 pm

500 Internal Server Error (HTTPS)

Post 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.
walaj
Posts: 1
Joined: Mon Sep 10, 2018 2:18 am

Re: 500 Internal Server Error (HTTPS)

Post by walaj »

As above .
see https://github.com/tinyMediaManager/tin ... issues/373 for similar feedback on tinyMediaManager
dazed
Posts: 4
Joined: Tue Nov 03, 2015 12:49 am

Re: 500 Internal Server Error (HTTPS)

Post 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.
popcorntime
Posts: 1
Joined: Thu Sep 13, 2018 4:18 am

Re: 500 Internal Server Error (HTTPS)

Post 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.
manfeed
Posts: 1
Joined: Fri Sep 14, 2018 9:59 pm

Re: 500 Internal Server Error (HTTPS)

Post by manfeed »

It's broken again...
happy2play
Posts: 7
Joined: Thu Feb 02, 2017 9:05 pm

Re: 500 Internal Server Error (HTTPS)

Post 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.
Last edited by happy2play on Sat Sep 15, 2018 1:33 am, edited 1 time in total.
happy2play
Posts: 7
Joined: Thu Feb 02, 2017 9:05 pm

Re: 500 Internal Server Error (HTTPS)

Post 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 30959 times
User avatar
Kode
Site Admin
Site Admin
Posts: 353
Joined: Wed Dec 18, 2013 11:34 am

Re: 500 Internal Server Error (HTTPS)

Post 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.
Post Reply