502 Bad Gateway error after iRedMail installation - http-status-code-502

Just installed iRedMail on a server, the admin panel works fine but the mail url is not working
https://<my-domain>/mail. When I open it in the browser it throws a 502 bad gateway error.

Related

Cloudflare: Suddenly getting 403 if CDN is enabled

I put my site behind Cloudflare last week and it has been working well. But today I woke up to an error message that my site is not accessible.
I am getting generic nginx 403 page when I am trying to access my site (same as https://community.cloudflare.com/t/why-403-forbidden-all-of-a-sudden-when-i-go-to-my-site/3453), along with 'not secure' warning in Chrome address bar.
When I disable CDN as shown in the picture, the error disappears.
I am using an SSL cert issued by Letsencrypt in my server and a Full SSL in Cloudflare. I can confirm that Letsencrypt cert has not been expired.
Any ideas how to debug this issue? I am confused as to why it was working and suddenly stopped working when nothing changed.
Additional information
When I enable the CDN, I get the following error(ERR_CERT_COMMON_NAME_INVALID) in Chrome's security tab:
The error I get when I curl the https version of the site is:
curl: (51) SSL: no alternative certificate subject name matches target host name 'my-domain.com'

Installind Tomcat in windows server 2012

I installed Tomcat on Windows Server 2012.
It gives me below error when i try to test it by this address: http://localhost:8080
Bad Request - Invalid Hostname HTTP Error 400. The request hostname is
invalid.
Apache Tomcat is running in Services and when i run "startup.bat start", it works and give a success message.
That's a nice of you if help me.
Thanks in advance

With Fidder Running all connections to ssl sites fail

I have just recently installed fiddler, to watch calls made to my web API project from an office web App. These calls are sent over SSL so I enabled fiddler to decrypt HTTPS traffic. Installed the fiddler root certificate into my Firefox browser following these steps:
http://www.telerik.com/blogs/configuring-firefox-for-fiddler
When connecting to any HTTPS site with fiddler running I receive this error.
HTTP/1.1 200 Connection Established
FiddlerGateway: Direct
StartTime: 10:06:51.230
Connection: close
fiddler.network.https> HTTPS handshake to mail.ionstaging.com (for #7) failed.
System.Security.Cryptography.CryptographicException Unspecified error

CentOS7 on GCE -> WHM 502 Bad Gateway

I've set up a GCE CentOS7 highmem-8 and installed cpanel as root.
I've executed /scripts/build_cpnat
I've set the GCE Firewall rules to allow tcp:2083; tcp:2087; tcp:2089 (SSL ports)
When I go to whm.mydomain.host I am presented with the standard cPanel login after going through the standard "Your connection is not private" warning bypass. I login with root and password and it authenticates for just one second: you can see the authenticated green status for a second and then it takes me to 502 (Bad Gateway).
I'm at a loss. You're help would be much appreciated!

What is 502 Proxy error? How to Resolve it

When i try to login into Artifactory web appliaction ,its showing proxy error. The Error message is below.
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request POST /artifactory/webapp/login.html.
Reason: Error reading from remote server
Apache/2.2.15 (CentOS) Server at XX.XX.XX.XX Port 80
Any Solution for this?