# Httpck on bash script results in Socket error

**URL:** <https://discourse.haproxy.org/t/httpck-on-bash-script-results-in-socket-error/5647>\
**Category:** Help!\
**Created:** [August 26, 2020, 7:53pm UTC](https://discourse.haproxy.org/t/httpck-on-bash-script-results-in-socket-error/5647 "2020-08-26T19:53:51Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![f1outsourcing](https://avatars.discourse-cdn.com/v4/letter/f/a183cd/32.png) [@f1outsourcing](https://discourse.haproxy.org/u/f1outsourcing)\
**Post date:** [October 15, 2021, 1:17pm UTC](https://discourse.haproxy.org/t/httpck-on-bash-script-results-in-socket-error/5647/16 "2021-10-15T13:17:11Z")

</div>

```auto

backend mail
  mode tcp
  balance first
  stick store-request src
  stick-table type ip size 200k expire 30m
  # tcp imap health check
  #option tcp-check
  #tcp-check connect port 143
  #tcp-check expect string *\ OK
  option log-health-checks
  #option httpchk
  option httpchk GET / HTTP/1.1
  #http-check connect
  #http-check send meth GET uri / HTTP/1.1
  #http-check expect status 200
  default-server check resolvers dnssvrs1 maxconn 200 weight 100 send-proxy-v2
  #default-server resolvers dnssvrs1 maxconn 200 weight 100
  server mail1 mail.local check port 5001

```

This still generates the same error

---

_[View the full topic](https://discourse.haproxy.org/t/httpck-on-bash-script-results-in-socket-error/5647)._
