zytedata / zyte-smartproxy-headless-proxy

A complimentary proxy to help to use SPM with headless browsers
MIT License
109 stars 36 forks source link

Need /healthcheck endpoint | GET /stats is also not working for returning 200: OK #39

Open sagungargs15 opened 3 years ago

sagungargs15 commented 3 years ago

To deploy docker image for headless proxy i.e https://hub.docker.com/r/scrapinghub/crawlera-headless-proxy/

I need a healthcheck endpoint to deploy it on AWS Fargate which has a mandatory requirement for /healthcheck endpint or equivalent that returns a 200: OK status message

@janin Please help with a alternate solution that can fix this problem

sagungargs15 commented 3 years ago

I tried using GET /stats http REST API endpoint for the docker microservice but then

I get the error

"Cannot fetch from upstream: cannot dial to addr: dial tcp<microservice_ip_address>:3128: socket: too many open files"