Jump to content

Recommended Posts

vdatanet
Posted (edited)
1 minute ago, crusher11 said:

The same as https://domain:443. "This site can't be reached. [IP] refused to connect. ERR_CONNECTION_REFUSED"

and https://localip:8920

Edited by vdatanet
vdatanet
Posted

Can you post the server log?

crusher11
Posted
46 minutes ago, vdatanet said:

Cloudflare is on 'flexible' and Emby is on 'disabled', which was supposed to take the certificate (which has worked fine until the new router, BTW) out of the loop.

What use would a server log be? We can't connect to it, so there wouldn't be anything to log would there?

vdatanet
Posted
9 minutes ago, crusher11 said:

Cloudflare is on 'flexible' and Emby is on 'disabled', which was supposed to take the certificate (which has worked fine until the new router, BTW) out of the loop.

What use would a server log be? We can't connect to it, so there wouldn't be anything to log would there?

To see it's there an error like this:

Quote

Error HttpServer: Exception loading certificate

Now forget cloudflare and set connection ssl mode to prefered

vdatanet
Posted
Just now, vdatanet said:

which has worked fine until the new router, BTW

Neither you nor I know how the old router was set up, so we're starting from scratch.

vdatanet
Posted

The goals should be:


1. First run it without cloudflare
2. Then configure cloudflare
3. Finally nginx

crusher11
Posted
8 minutes ago, vdatanet said:

To see it's there an error like this:

Now forget cloudflare and set connection ssl mode to prefered

I did a Ctrl+F for "certificate" and "error httpserver", nothing.

vdatanet
Posted
Just now, crusher11 said:

I did a Ctrl+F for "certificate" and "error httpserver", nothing.

Well, you had ssl mode disabled. Set Emby's ssl mode to preferred

crusher11
Posted
7 minutes ago, vdatanet said:

Well, you had ssl mode disabled. Set Emby's ssl mode to preferred

No change.

vdatanet
Posted
8 minutes ago, crusher11 said:

No change.

image.png.a3e24d9a52bae606304021c55d021787.png

Is this the correct certificate for your custom domain? 

crusher11
Posted
9 minutes ago, vdatanet said:

image.png.a3e24d9a52bae606304021c55d021787.png

Is this the correct certificate for your custom domain? 

It is not.

I changed it. It changed itself back. 

crusher11
Posted (edited)

Apparently the server needs a reboot to make that stick.

 

Now localip:8920 gives me a "page isn't working, [ip] didn't send any data, ERR_EMPTY_RESPONSE" error.

Same result from remoteip:443

 

Edited by crusher11
vdatanet
Posted (edited)
9 minutes ago, crusher11 said:

Apparently the server needs a reboot to make that stick.

 

Now localip:8920 gives me a "page isn't working, [ip] didn't send any data, ERR_EMPTY_RESPONSE" error.

Same result from remoteip:443

 

So, you don't have the pfx certificate?

My configuration is different, I have a purchased certificate, first I used it in Emby and then I configured nginx to use it and I have emby secure connections disabled.

Nginx connects to Emby using non ssl:

proxy_pass http://127.0.0.1:8096; # Local emby ip and non SSL port

Edited by vdatanet
crusher11
Posted
46 minutes ago, vdatanet said:

So, you don't have the pfx certificate?

 

I do, it was just pointed at the wrong folder. I had everything in /volume1/Emby, but then Emby changed its folder structure and took /volume1/Emby for its own files so I moved everything to /volume1/Emby Libraries, and just forgot to update the link to the SSL certificate.

Now that it's pointing to the correct place, I get the empty response error.

vdatanet
Posted
4 minutes ago, crusher11 said:

I do, it was just pointed at the wrong folder. I had everything in /volume1/Emby, but then Emby changed its folder structure and took /volume1/Emby for its own files so I moved everything to /volume1/Emby Libraries, and just forgot to update the link to the SSL certificate.

Now that it's pointing to the correct place, I get the empty response error.

Did you check the server log after changing this? 

crusher11
Posted
40 minutes ago, vdatanet said:

Did you check the server log after changing this? 

Still nothing for 'certificate' or 'error httpserver'.

vdatanet
Posted

Look for this in the server log 

Error App: Error loading cert

How did you generate the certificate? Is the password correct?

crusher11
Posted
36 minutes ago, vdatanet said:

Look for this in the server log 


Error App: Error loading cert

How did you generate the certificate? Is the password correct?

No sign of that error. I generated the certificate through CloudFlare. I assume the password is right; it was working previously and I haven't changed it.

Q-Droid
Posted (edited)

I commend the people trying to help, you are all very patient.

If everyone agrees can the last six pages of this thread get split into a separate one? All of the "troubleshooting" is junking up this How To.

 

Edit: @Happy2Play?

Edited by Q-Droid
  • Like 4
Happy2Play
Posted

Split topic @crusher11 please follow this topic.

vdatanet
Posted
3 hours ago, crusher11 said:

I'm out of ideas, let's see if anyone else can contribute something more.

crusher11
Posted (edited)
3 minutes ago, vdatanet said:

I'm out of ideas, let's see if anyone else can contribute something more.

Well FWIW http://domain and https://domain both work, although the latter warns that it's not secure.

Edited by crusher11
vdatanet
Posted (edited)
12 minutes ago, crusher11 said:

Well FWIW http://domain and https://domain both work, although the latter warns that it's not secure.

Well, that’s progress. If you click on the browser security lock, what information does the ssl certificate give you?

image.png.243279b671b94b2c2b51f29347d0784c.png 

Edited by vdatanet

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