i've been getting the subject error for some while in production.
I've tried to find out what that connect even means with little avail.
But i was generally surprised how much hacking attempts are being made, so i'm pretty sure it's ill intent.
CONNECT is an http method used for proxies to allow tunnelling arbitrary traffic through a proxy: basically someone has been scanning for misconfigured proxies (and probably other stuff too). Just a fact of life really.
Just, i can't seems to get rid of the error. I tried to add rescue_from to my ApplicationController, as in:
This type of routing error can't be rescued like that since rails doesn't know which controller should be used. If it bothers you then you could try blocking it at the webserver level (eg core - Apache HTTP Server Version 2.4)
strange to think there should be an error that can’t be handled in rails. Still, thanks for the answer, which i am unfortunately not sure i understand.
strange to think there should be an error that can't be handled in rails. Still, thanks for the answer, which i am unfortunately not sure i understand.