• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Error 502 when enabling Docker Proxy Rules.

crospa91

New Pleskian
Hi all, today im trying to enable Memcached on my domain on my VPS using Plex Obsidian.
I can build the docker container with no problem and no issue happen there.
The website it's working correctly on it's domain ( networny.com) (Careful that the website it's NSFW)
Everything works absolutely fine, but when I activate the docker proxy rule to expose the memcached port 11211 on the domain, using the Plesk interface:
Screenshot 2020-04-29 at 13.55.58.png
After I save it the webserver goes straight into error 502 for the domain. If I map the port to a subdirectory let's say /memcached no error 502 but I can't connect to Memcached at all.
What I am doing it wrong?
this is the log of the domain during the 502 error.

Code:
2020-04-29 14:38:33    Error    188.172.148.154    502    GET / HTTP/2.0        Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15    150    nginx SSL/TLS access
2020-04-29 14:38:33    Error    188.172.148.154    502    GET / HTTP/2.0        Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15    150    nginx SSL/TLS access

it's a generic 502 error on the SSL with no explanation at all.

I don't now if its correlated or not, but since a couple of days my Wordpress was pointing me that the website cannot do LoopBack Connection to itself for example when running a cron command. Can this be the same issue?

This is the syntax I've put into NGINX to forward the port, even if I do it manually without using the docker proxy setting the same 502 error happen when I connect to networny.com

NGINX:
#extension docker begin
location ~ ^/.* {
    proxy_pass http://0.0.0.0:11212;
    proxy_set_header Host              $host;
    proxy_set_header X-Real-IP         $remote_addr;
    proxy_set_header X-Forwarded-For   $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
}

#extension docker end

I had to remove this now because the website need to be online, but I can't really figure it out what's wrong here.


Thanks
 
Last edited:
Back
Top