OPNsense Forum

English Forums => Web Proxy Filtering and Caching => Topic started by: toomanylogins on October 26, 2021, 07:36:17 pm

Title: Connection Refused
Post by: toomanylogins on October 26, 2021, 07:36:17 pm
Evening, My setup has been faultless for 12 months but I am now getting Access denied on all my dev sites. I have opnsense running as a vm on proxmox and moved the guest a few days ago. Not sure if thats a co-incidence. In Nginx logs.

284 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: 10.10.1.3, server: www2.xxx.com, request: "GET /favicon.ico HTTP/1.1", upstream: "https://10.10.10.19:80/favicon.ico", host: "wordpress.xxx.com", referrer: "http://wordpress.xxx.com/"

I use the lets encrypt plugin and downstream is https the upstream is on port 80. I can connect directly to the site on the upstream server on http if I edit my hosts file so upstream seems to be working.

Is the problem Nginx config or is the issue upstream server ?

Thanks
Paul

 
Title: Re: Connection Refused
Post by: toomanylogins on October 27, 2021, 08:18:00 am
Turns out this is an issue with the upstream sever which I fixed via restore a backup. Trouble is I dont understand why.