title: Pgadmin4: Invalid HTTP Version 'Invalid HTTP Version: 'on postgres@domain.tld HTTP/1.0''
body: <pre><code>--------------------------------------------------------
  | Pgadmin version           |          4.3.5           |
  --------------------------------------------------------
  | PostgreSQL server version | pg_ctl (PostgreSQL) 11.1 |
  --------------------------------------------------------
  | Docker image              |      dpage/pgadmin4      |
  --------------------------------------------------------
  </code></pre>
  
  <p>I ran into a problem using PGAdmin4 in Docker container. When i'm connecting to my host`s machine postgresql server and trying to view/edit data - i'm getting such error: <a href="https://pasteboard.co/HO1w7jS.png" rel="nofollow noreferrer">https://pasteboard.co/HO1w7jS.png</a></p>
  
  <p>Note that:</p>
  
  <ul>
  <li>I have default postgresql configuration, except <code>listen_addresses = '127.0.0.1, 172.17.0.1</code>.</li>
  <li>PGAdmin container is behind nginx proxy <code>mydomain.tld -&gt; localhost:5050</code></li>
  </ul>
  
  <p>As i understand, it is a problem with postgresql HTTP API. But i'm not an expert neither in postgresql nor in pgadmin. Maybe anyone have solution to this problem?</p>