(IGNORE: I FIGURED IT OUT) Help! grpc ignoring proxy setting reaching out corporate proxy

(IGNORE: I FIGURED IT OUT)

Just don’t set proxy settings.

Happens if I patch my images for http_proxy and no_proxy or use the drone container images directly.

FROM drone/drone:0.8.4

ENV http_proxy=${http_proxy}
ENV HTTP_PROXY=${http_proxy}
ENV https_proxy=${http_proxy}
ENV HTTPS_PROXY=${http_proxy}
ENV no_proxy=${no_proxy}
ENV NO_PROXY=${NO_PROXY}
ENV proxy=${http_proxy}
ENV PROXY=${http_proxy}
ENV all_proxy=${http_proxy}
ENV ALL_PROXY=${http_proxy}

Spin up via docker-compose

version: "2"

services:
    drone-postgresql:
        image:
            sameersbn/postgresql:9.6-2
        restart: always
        environment:
            - DB_NAME=drone
            - DB_USER=drone
            - DB_PASS=password
            - DB_EXTENSION=pg_trgm
        ports:
            - "5432"
        volumes:
            - ./volumes/drone-postgresql/var/lib/postgresql:/var/lib/postgresql:Z

    drone-agent:
        image:
            nemonik/agent:0.8.4
        restart: always
        command:
            agent
        environment:
            - DRONE_SERVER=drone-server:9000
            - DRONE_SECRET=shared_secret
            - http_proxy
            - HTTP_PROXY
            - https_proxy
            - HTTPS_PROXY
            - no_proxy
            - NO_PROXY
            - proxy
            - PROXY
            - all_proxy
            - ALL_PROXY
        volumes:
            - /var/run/docker.sock:/var/run/docker.sock
        depends_on:
            - drone-server

    drone-server:
        image:
            nemonik/drone:0.8.4
        restart: always
        environment:
            - DRONE_HOST=http://192.168.0.11:8000
            - DRONE_OPEN=true
            - DRONE_SECRET=shared_secret
            - DRONE_DATABASE_DRIVER=postgres
            - DRONE_DATABASE_DATASOURCE=postgres://drone:[email protected]:5432/drone?sslmode=disable
            - DRONE_GITLAB=true
            - DRONE_GITLAB_CLIENT
            - DRONE_GITLAB_SECRET
            - DRONE_GITLAB_URL=http://192.168.0.11:10080
            - DRONE_ADMIN=root
            - http_proxy
            - HTTP_PROXY
            - https_proxy
            - HTTPS_PROXY
            - no_proxy
            - NO_PROXY
            - proxy
            - PROXY
            - all_proxy
            - ALL_PROXY
        ports:
            - 8000:8000
            - 9000
        depends_on:
            - drone-postgresql

And when I spin up… The agent is going out to the corporate proxy for drone-server for grpc connections to drone-server. I had this working and I don’t know what changed.

[[email protected] drone]# docker-compose up
Creating drone_drone-server_1     ... done
Creating drone_drone-server_1     ... 
Creating drone_drone-agent_1      ... done
Attaching to drone_drone-postgresql_1, drone_drone-server_1, drone_drone-agent_1
drone-postgresql_1  | Initializing datadir...
drone-agent_1       | {"time":"2018-02-14T17:00:17Z","level":"debug","message":"request next execution"}
drone-agent_1       | INFO: 2018/02/14 17:00:17 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing failed to do connect handshake, response: \"HTTP/1.1 403 Forbidden\\r\\nContent-Length: 2974\\r\\nConnection: keep-alive\\r\\nContent-Type: text/html\\r\\nDate: Wed, 14 Feb 2018 12:00:18 EST\\r\\nMime-Version: 1.0\\r\\nProxy-Connection: keep-alive\\r\\n\\r\\n<!DOCTYPE html PUBLIC \\\"-//W3C//Dtd XHTML 1.0 Transitional//EN\\\" \\\"http://www.w3.org/TR/xhtml1/Dtd/xhtml1-transitional.dtd\\\">\\n<html xmlns=\\\"http://www.w3.org/1999/xhtml\\\">\\n\\n<head>\\n<meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html; charset=utf-8\\\" />\\n\\n<title>Notification: Policy: General</title>\\n<style type=\\\"text/css\\\">\\nbody {\\n  font-family: Arial, Helvetica, sans-serif;\\n  font-size: 14px;\\n  color:#333333;\\n  background-color: #ffffff;\\n}\\nh1 {\\n  font-size: 18px;\\n  font-weight: bold;\\n  text-decoration: none;\\n  padding-top: 0px;\\n  color: #2970A6;\\n}\\na:link {\\n    color: #2970A6;\\n  text-decoration: none;\\n}\\na:hover {\\n    color: #2970A6;\\n  text-decoration: underline;\\n}\\np.buttonlink {\\n  margin-bottom: 24px;\\n}\\n.copyright {\\n  font-size: 12px;\\n  color: #666666;\\n  margin: 5px 5px 0px 30px;\\n\\n}\\n.details {\\n  font-size: 14px;\\n  color: #969696;\\n  border: none;\\n  padding: 20px 20px 20px 20px;\\n  margin: 0px 10px 10px 35px;\\n}\\n\\n.shadow {\\n  border: 3px solid #9f9f9f;\\n  padding: 10px 25px 10px 25px;\\n  margin: 10px 35px 0px 30px;\\n  background-color: #ffffff;\\n  width: 600px;\\n\\n  -moz-box-shadow: 3px 3px 3px #cccccc;\\n  -webkit-box-shadow: 3px 3px 3px #cccccc;\\n  box-shadow: 3px 3px 3px #cccccc;\\n  /* For IE 8 */\\n  -ms-filter: \\\"progid:DXImageTransform.Microsoft.Shadow(Strength=5, Direction=135, Color='cccccc')\\\";\\n  /* For IE 5.5 - 7 */\\n  filter: progid:DXImageTransform.Microsoft.Shadow(Strength=5, Direction=135, Color='cccccc');\\n}\\n.logo {\\n  border: none;\\n  margin: 5px 5px 0px 30px;\\n}\\n</style>\\n</head>\\n\\n<body>\\n<div class=\\\"logo\\\"><img src=\\\"http://info.mitre.org/it_services/images/cit_logo.png\\\" border=\\\"0\\\"></div><p>&nbsp;</p>\\n<div class=\\\"shadow\\\">\\n\\n<h1>This Page Cannot Be Displayed</h1>\\n\\n<p>Based on your organization's security policies, this web site\\n(&nbsp;https://drone-server/&nbsp;)\\nhas been blocked because it has been determined to be a security\\nthreat to your computer or the organization's network.\\nAccess could also be blocked because this request came from an\\nunrecognized or unauthorized machine.</p>\\n\\n<p><br> There has been an error and the web page is unable to be displayed. <br>  Please contact the MITRE Help Desk ([email protected]) and provide the information below:<br> <br>  1) The URL you are trying to reach<br>  2) The browser you are using<br>  3) Has this URL been reachable in the past?<br> 3) The internet connection you are currently using<br>  4) The notification codes at the bottom of this page<br>  5) And any other information you think may be important<br>  <br>  Also refer to FJ: \\\"proxy\\\" for additional information.<br></p>\\n\\n<p>\\nIf you have questions, please contact\\nHelp Desk (&nbsp;<a href=\\\"mailto:[email protected]\\\">[email protected]</a>&nbsp;)\\nand provide the codes shown below.\\n</p>\\n\\n</div>\\n\\n<div class=\\\"details\\\"><p>\\nDate: Wed, 14 Feb 2018 12:00:18 EST<br />\\nUsername: <br />\\nSource IP: 128.29.199.19<br />\\nURL: CONNECT https://drone-server/<br />\\nCategory: <br />\\nReason: BLOCK-CONNECT<br />\\nNotification: POLICY\\n</p></div>\\n</body>\\n</html>\\n\""; Reconnecting to {drone-server:9000 <nil>}
drone-agent_1       | 2018/02/14 17:00:17 grpc error: done(): code: Unavailable: rpc error: code = Unavailable desc = grpc: the connection is unavailable
drone-postgresql_1  | Initializing certdir...
drone-postgresql_1  | Initializing logdir...
drone-postgresql_1  | Initializing rundir...
drone-postgresql_1  | Setting resolv.conf ACLs...
drone-agent_1       | INFO: 2018/02/14 17:00:18 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing failed to do connect handshake, response: \"HTTP/1.1 403 Forbidden\\r\\nContent-Length: 2974\\r\\nConnection: keep-alive\\r\\nContent-Type: text/html\\r\\nDate: Wed, 14 Feb 2018 12:00:19 EST\\r\\nMime-Version: 1.0\\r\\nProxy-Connection: keep-alive\\r\\n\\r\\n<!DOCTYPE html PUBLIC \\\"-//W3C//Dtd XHTML 1.0 Transitional//EN\\\" \\\"http://www.w3.org/TR/xhtml1/Dtd/xhtml1-transitional.dtd\\\">\\n<html xmlns=\\\"http://www.w3.org/1999/xhtml\\\">\\n\\n<head>\\n<meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html; charset=utf-8\\\" />\\n\\n<title>Notification: Policy: General</title>\\n<style type=\\\"text/css\\\">\\nbody {\\n  font-family: Arial, Helvetica, sans-serif;\\n  font-size: 14px;\\n  color:#333333;\\n  background-color: #ffffff;\\n}\\nh1 {\\n  font-size: 18px;\\n  font-weight: bold;\\n  text-decoration: none;\\n  padding-top: 0px;\\n  color: #2970A6;\\n}\\na:link {\\n    color: #2970A6;\\n  text-decoration: none;\\n}\\na:hover {\\n    color: #2970A6;\\n  text-decoration: underline;\\n}\\np.buttonlink {\\n  margin-bottom: 24px;\\n}\\n.copyright {\\n  font-size: 12px;\\n  color: #666666;\\n  margin: 5px 5px 0px 30px;\\n\\n}\\n.details {\\n  font-size: 14px;\\n  color: #969696;\\n  border: none;\\n  padding: 20px 20px 20px 20px;\\n  margin: 0px 10px 10px 35px;\\n}\\n\\n.shadow {\\n  border: 3px solid #9f9f9f;\\n  padding: 10px 25px 10px 25px;\\n  margin: 10px 35px 0px 30px;\\n  background-color: #ffffff;\\n  width: 600px;\\n\\n  -moz-box-shadow: 3px 3px 3px #cccccc;\\n  -webkit-box-shadow: 3px 3px 3px #cccccc;\\n  box-shadow: 3px 3px 3px #cccccc;\\n  /* For IE 8 */\\n  -ms-filter: \\\"progid:DXImageTransform.Microsoft.Shadow(Strength=5, Direction=135, Color='cccccc')\\\";\\n  /* For IE 5.5 - 7 */\\n  filter: progid:DXImageTransform.Microsoft.Shadow(Strength=5, Direction=135, Color='cccccc');\\n}\\n.logo {\\n  border: none;\\n  margin: 5px 5px 0px 30px;\\n}\\n</style>\\n</head>\\n\\n<body>\\n<div class=\\\"logo\\\"><img src=\\\"http://info.mitre.org/it_services/images/cit_logo.png\\\" border=\\\"0\\\"></div><p>&nbsp;</p>\\n<div class=\\\"shadow\\\">\\n\\n<h1>This Page Cannot Be Displayed</h1>\\n\\n<p>Based on your organization's security policies, this web site\\n(&nbsp;https://drone-server/&nbsp;)\\nhas been blocked because it has been determined to be a security\\nthreat to your computer or the organization's network.\\nAccess could also be blocked because this request came from an\\nunrecognized or unauthorized machine.</p>\\n\\n<p><br> There has been an error and the web page is unable to be displayed. <br>  Please contact the Help Desk ([email protected]) and provide the information below:<br> <br>  1) The URL you are trying to reach<br>  2) The browser you are using<br>  3) Has this URL been reachable in the past?<br> 3) The internet connection you are currently using<br>  4) The notification codes at the bottom of this page<br>  5) And any other information you think may be important<br>  <br>  Also refer to FJ: \\\"proxy\\\" for additional information.<br></p>\\n\\n<p>\\nIf you have questions, please contact\\nHelp Desk (&nbsp;<a href=\\\"mailto:[email protected]\\\">[email protected]</a>&nbsp;)\\nand provide the codes shown below.\\n</p>\\n\\n</div>\\n\\n<div class=\\\"details\\\"><p>\\nDate: Wed, 14 Feb 2018 12:00:19 EST<br />\\nUsername: <br />\\nSource IP: 128.29.199.19<br />\\nURL: CONNECT https://drone-server/<br />\\nCategory: <br />\\nReason: BLOCK-CONNECT<br />\\nNotification: POLICY\\n</p></div>\\n</body>\\n</html>\\n\""; Reconnecting to {drone-server:9000 <nil>}
drone-agent_1       | 2018/02/14 17:00:18 grpc error: done(): code: Unavailable: rpc error: code = Unavailable desc = grpc: the connection is unavailable
drone-postgresql_1  | Creating database user: drone
drone-postgresql_1  | Creating database: drone...
drone-postgresql_1  | ‣ Loading pg_trgm extension...
drone-postgresql_1  | ‣ Granting access to drone user...
drone-agent_1       | 2018/02/14 17:00:19 grpc error: done(): code: Unavailable: rpc error: code = Unavailable desc = grpc: the connection is unavailable
drone-agent_1       | INFO: 2018/02/14 17:00:19 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing failed to do connect handshake, response: \"HTTP/1.1 403 Forbidden\\r\\nContent-Length: 2974\\r\\nConnection: keep-alive\\r\\nContent-Type: text/html\\r\\nDate: Wed, 14 Feb 2018 12:00:20 EST\\r\\nMime-Version: 1.0\\r\\nProxy-Connection: keep-alive\\r\\n\\r\\n<!DOCTYPE html PUBLIC \\\"-//W3C//Dtd XHTML 1.0 Transitional//EN\\\" \\\"http://www.w3.org/TR/xhtml1/Dtd/xhtml1-transitional.dtd\\\">\\n<html xmlns=\\\"http://www.w3.org/1999/xhtml\\\">\\n\\n<head>\\n<meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html; charset=utf-8\\\" />\\n\\n<title>Notification: Policy: General</title>\\n<style type=\\\"text/css\\\">\\nbody {\\n  font-family: Arial, Helvetica, sans-serif;\\n  font-size: 14px;\\n  color:#333333;\\n  background-color: #ffffff;\\n}\\nh1 {\\n  font-size: 18px;\\n  font-weight: bold;\\n  text-decoration: none;\\n  padding-top: 0px;\\n  color: #2970A6;\\n}\\na:link {\\n    color: #2970A6;\\n  text-decoration: none;\\n}\\na:hover {\\n    color: #2970A6;\\n  text-decoration: underline;\\n}\\np.buttonlink {\\n  margin-bottom: 24px;\\n}\\n.copyright {\\n  font-size: 12px;\\n  color: #666666;\\n  margin: 5px 5px 0px 30px;\\n\\n}\\n.details {\\n  font-size: 14px;\\n  color: #969696;\\n  border: none;\\n  padding: 20px 20px 20px 20px;\\n  margin: 0px 10px 10px 35px;\\n}\\n\\n.shadow {\\n  border: 3px solid #9f9f9f;\\n  padding: 10px 25px 10px 25px;\\n  margin: 10px 35px 0px 30px;\\n  background-color: #ffffff;\\n  width: 600px;\\n\\n  -moz-box-shadow: 3px 3px 3px #cccccc;\\n  -webkit-box-shadow: 3px 3px 3px #cccccc;\\n  box-shadow: 3px 3px 3px #cccccc;\\n  /* For IE 8 */\\n  -ms-filter: \\\"progid:DXImageTransform.Microsoft.Shadow(Strength=5, Direction=135, Color='cccccc')\\\";\\n  /* For IE 5.5 - 7 */\\n  filter: progid:DXImageTransform.Microsoft.Shadow(Strength=5, Direction=135, Color='cccccc');\\n}\\n.logo {\\n  border: none;\\n  margin: 5px 5px 0px 30px;\\n}\\n</style>\\n</head>\\n\\n<body>\\n<div class=\\\"logo\\\"><img src=\\\"http://info.mitre.org/it_services/images/cit_logo.png\\\" border=\\\"0\\\"></div><p>&nbsp;</p>\\n<div class=\\\"shadow\\\">\\n\\n<h1>This Page Cannot Be Displayed</h1>\\n\\n<p>Based on your organization's security policies, this web site\\n(&nbsp;https://drone-server/&nbsp;)\\nhas been blocked because it has been determined to be a security\\nthreat to your computer or the organization's network.\\nAccess could also be blocked because this request came from an\\nunrecognized or unauthorized machine.</p>\\n\\n<p><br> There has been an error and the web page is unable to be displayed. <br>  Please contact the Help Desk ([email protected]) and provide the information below:<br> <br>  1) The URL you are trying to reach<br>  2) The browser you are using<br>  3) Has this URL been reachable in the past?<br> 3) The internet connection you are currently using<br>  4) The notification codes at the bottom of this page<br>  5) And any other information you think may be important<br>  <br>  Also refer to FJ: \\\"proxy\\\" for additional information.<br></p>\\n\\n<p>\\nIf you have questions, please contact\\nMITRE Help Desk (&nbsp;<a href=\\\"mailto:[email protected]\\\">[email protected]</a>&nbsp;)\\nand provide the codes shown below.\\n</p>\\n\\n</div>\\n\\n<div class=\\\"details\\\"><p>\\nDate: Wed, 14 Feb 2018 12:00:20 EST<br />\\nUsername: <br />\\nSource IP: 128.29.199.19<br />\\nURL: CONNECT https://drone-server/<br />\\nCategory: <br />\\nReason: BLOCK-CONNECT<br />\\nNotification: POLICY\\n</p></div>\\n</body>\\n</html>\\n\""; Reconnecting to {drone-server:9000 <nil>}
drone-postgresql_1  | Starting PostgreSQL 9.6...
drone-postgresql_1  | LOG:  database system was shut down at 2018-02-14 17:00:19 UTC
drone-postgresql_1  | LOG:  MultiXact member wraparound protections are now enabled
drone-postgresql_1  | LOG:  database system is ready to accept connections
drone-postgresql_1  | LOG:  autovacuum launcher started
drone-agent_1       | 2018/02/14 17:00:20 grpc error: done(): code: Unavailable: rpc error: code = Unavailable desc = grpc: the connection is unavailable
drone-postgresql_1  | ERROR:  relation "gorp_migrations" does not exist at character 16
drone-postgresql_1  | STATEMENT:  
drone-postgresql_1  | 	SELECT 1
drone-postgresql_1  | 	FROM gorp_migrations
drone-postgresql_1  | 	LIMIT 1
drone-postgresql_1  | 	
drone-server_1      | [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
drone-server_1      |  - using env:	export GIN_MODE=release
drone-server_1      |  - using code:	gin.SetMode(gin.ReleaseMode)
drone-server_1      | 
drone-server_1      | [GIN-debug] GET    /logout                   --> github.com/drone/drone/server.GetLogout (12 handlers)
drone-server_1      | [GIN-debug] GET    /login                    --> github.com/drone/drone/server.HandleLogin (12 handlers)
drone-server_1      | [GIN-debug] GET    /api/user                 --> github.com/drone/drone/server.GetSelf (13 handlers)
drone-server_1      | [GIN-debug] GET    /api/user/feed            --> github.com/drone/drone/server.GetFeed (13 handlers)
drone-server_1      | [GIN-debug] GET    /api/user/repos           --> github.com/drone/drone/server.GetRepos (13 handlers)
drone-server_1      | [GIN-debug] POST   /api/user/token           --> github.com/drone/drone/server.PostToken (13 handlers)
drone-server_1      | [GIN-debug] DELETE /api/user/token           --> github.com/drone/drone/server.DeleteToken (13 handlers)
drone-server_1      | [GIN-debug] GET    /api/users                --> github.com/drone/drone/server.GetUsers (13 handlers)
drone-server_1      | [GIN-debug] POST   /api/users                --> github.com/drone/drone/server.PostUser (13 handlers)
drone-server_1      | [GIN-debug] GET    /api/users/:login         --> github.com/drone/drone/server.GetUser (13 handlers)
drone-server_1      | [GIN-debug] PATCH  /api/users/:login         --> github.com/drone/drone/server.PatchUser (13 handlers)
drone-server_1      | [GIN-debug] DELETE /api/users/:login         --> github.com/drone/drone/server.DeleteUser (13 handlers)
drone-server_1      | [GIN-debug] POST   /api/repos/:owner/:name   --> github.com/drone/drone/server.PostRepo (16 handlers)
drone-server_1      | [GIN-debug] GET    /api/repos/:owner/:name   --> github.com/drone/drone/server.GetRepo (15 handlers)
drone-server_1      | [GIN-debug] GET    /api/repos/:owner/:name/builds --> github.com/drone/drone/server.GetBuilds (15 handlers)
drone-server_1      | [GIN-debug] GET    /api/repos/:owner/:name/builds/:number --> github.com/drone/drone/server.GetBuild (15 handlers)
drone-server_1      | [GIN-debug] GET    /api/repos/:owner/:name/logs/:number/:pid --> github.com/drone/drone/server.GetProcLogs (15 handlers)
drone-server_1      | [GIN-debug] GET    /api/repos/:owner/:name/logs/:number/:pid/:proc --> github.com/drone/drone/server.GetBuildLogs (15 handlers)
drone-server_1      | [GIN-debug] GET    /api/repos/:owner/:name/files/:number --> github.com/drone/drone/server.FileList (15 handlers)
drone-server_1      | [GIN-debug] GET    /api/repos/:owner/:name/files/:number/:proc/*file --> github.com/drone/drone/server.FileGet (15 handlers)
drone-server_1      | [GIN-debug] GET    /api/repos/:owner/:name/secrets --> github.com/drone/drone/server.GetSecretList (16 handlers)
drone-server_1      | [GIN-debug] POST   /api/repos/:owner/:name/secrets --> github.com/drone/drone/server.PostSecret (16 handlers)
drone-server_1      | [GIN-debug] GET    /api/repos/:owner/:name/secrets/:secret --> github.com/drone/drone/server.GetSecret (16 handlers)
drone-server_1      | [GIN-debug] PATCH  /api/repos/:owner/:name/secrets/:secret --> github.com/drone/drone/server.PatchSecret (16 handlers)
drone-server_1      | [GIN-debug] DELETE /api/repos/:owner/:name/secrets/:secret --> github.com/drone/drone/server.DeleteSecret (16 handlers)
drone-server_1      | [GIN-debug] GET    /api/repos/:owner/:name/registry --> github.com/drone/drone/server.GetRegistryList (16 handlers)
drone-server_1      | [GIN-debug] POST   /api/repos/:owner/:name/registry --> github.com/drone/drone/server.PostRegistry (16 handlers)
drone-server_1      | [GIN-debug] GET    /api/repos/:owner/:name/registry/:registry --> github.com/drone/drone/server.GetRegistry (16 handlers)
drone-server_1      | [GIN-debug] PATCH  /api/repos/:owner/:name/registry/:registry --> github.com/drone/drone/server.PatchRegistry (16 handlers)
drone-server_1      | [GIN-debug] DELETE /api/repos/:owner/:name/registry/:registry --> github.com/drone/drone/server.DeleteRegistry (16 handlers)
drone-server_1      | [GIN-debug] PATCH  /api/repos/:owner/:name   --> github.com/drone/drone/server.PatchRepo (16 handlers)
drone-server_1      | [GIN-debug] DELETE /api/repos/:owner/:name   --> github.com/drone/drone/server.DeleteRepo (16 handlers)
drone-server_1      | [GIN-debug] POST   /api/repos/:owner/:name/chown --> github.com/drone/drone/server.ChownRepo (16 handlers)
drone-server_1      | [GIN-debug] POST   /api/repos/:owner/:name/repair --> github.com/drone/drone/server.RepairRepo (16 handlers)
drone-server_1      | [GIN-debug] POST   /api/repos/:owner/:name/move --> github.com/drone/drone/server.MoveRepo (16 handlers)
drone-server_1      | [GIN-debug] POST   /api/repos/:owner/:name/builds/:number --> github.com/drone/drone/server.PostBuild (16 handlers)
drone-server_1      | [GIN-debug] DELETE /api/repos/:owner/:name/builds/:number --> github.com/drone/drone/server.ZombieKill (16 handlers)
drone-server_1      | [GIN-debug] POST   /api/repos/:owner/:name/builds/:number/approve --> github.com/drone/drone/server.PostApproval (16 handlers)
drone-server_1      | [GIN-debug] POST   /api/repos/:owner/:name/builds/:number/decline --> github.com/drone/drone/server.PostDecline (16 handlers)
drone-server_1      | [GIN-debug] DELETE /api/repos/:owner/:name/builds/:number/:job --> github.com/drone/drone/server.DeleteBuild (16 handlers)
drone-server_1      | [GIN-debug] DELETE /api/repos/:owner/:name/logs/:number --> github.com/drone/drone/server.DeleteBuildLogs (16 handlers)
drone-server_1      | [GIN-debug] GET    /api/badges/:owner/:name/status.svg --> github.com/drone/drone/server.GetBadge (12 handlers)
drone-server_1      | [GIN-debug] GET    /api/badges/:owner/:name/cc.xml --> github.com/drone/drone/server.GetCC (12 handlers)
drone-server_1      | [GIN-debug] POST   /hook                     --> github.com/drone/drone/server.PostHook (12 handlers)
drone-server_1      | [GIN-debug] POST   /api/hook                 --> github.com/drone/drone/server.PostHook (12 handlers)
drone-server_1      | [GIN-debug] GET    /stream/events            --> github.com/drone/drone/server.EventStreamSSE (12 handlers)
drone-server_1      | [GIN-debug] GET    /stream/logs/:owner/:name/:build/:number --> github.com/drone/drone/server.LogStreamSSE (15 handlers)
drone-server_1      | [GIN-debug] GET    /api/info/queue           --> github.com/drone/drone/server.GetQueueInfo (13 handlers)
drone-server_1      | [GIN-debug] GET    /authorize                --> github.com/drone/drone/server.HandleAuth (12 handlers)
drone-server_1      | [GIN-debug] POST   /authorize                --> github.com/drone/drone/server.HandleAuth (12 handlers)
drone-server_1      | [GIN-debug] POST   /authorize/token          --> github.com/drone/drone/server.GetLoginToken (12 handlers)
drone-server_1      | [GIN-debug] GET    /api/builds               --> github.com/drone/drone/server.GetBuildQueue (13 handlers)
drone-server_1      | [GIN-debug] GET    /api/debug/pprof/         --> github.com/drone/drone/server/debug.IndexHandler.func1 (13 handlers)
drone-server_1      | [GIN-debug] GET    /api/debug/pprof/heap     --> github.com/drone/drone/server/debug.HeapHandler.func1 (13 handlers)
drone-server_1      | [GIN-debug] GET    /api/debug/pprof/goroutine --> github.com/drone/drone/server/debug.GoroutineHandler.func1 (13 handlers)
drone-server_1      | [GIN-debug] GET    /api/debug/pprof/block    --> github.com/drone/drone/server/debug.BlockHandler.func1 (13 handlers)
drone-server_1      | [GIN-debug] GET    /api/debug/pprof/threadcreate --> github.com/drone/drone/server/debug.ThreadCreateHandler.func1 (13 handlers)
drone-server_1      | [GIN-debug] GET    /api/debug/pprof/cmdline  --> github.com/drone/drone/server/debug.CmdlineHandler.func1 (13 handlers)
drone-server_1      | [GIN-debug] GET    /api/debug/pprof/profile  --> github.com/drone/drone/server/debug.ProfileHandler.func1 (13 handlers)
drone-server_1      | [GIN-debug] GET    /api/debug/pprof/symbol   --> github.com/drone/drone/server/debug.SymbolHandler.func1 (13 handlers)
drone-server_1      | [GIN-debug] POST   /api/debug/pprof/symbol   --> github.com/drone/drone/server/debug.SymbolHandler.func1 (13 handlers)
drone-server_1      | [GIN-debug] GET    /api/debug/pprof/trace    --> github.com/drone/drone/server/debug.TraceHandler.func1 (13 handlers)
drone-server_1      | [GIN-debug] GET    /metrics                  --> github.com/drone/drone/server/metrics.PromHandler.func1 (13 handlers)
drone-server_1      | [GIN-debug] GET    /version                  --> github.com/drone/drone/server.Version (12 handlers)
drone-server_1      | [GIN-debug] GET    /healthz                  --> github.com/drone/drone/server.Health (12 handlers)
drone-agent_1       | 2018/02/14 17:00:21 grpc error: done(): code: Unavailable: rpc error: code = Unavailable desc = grpc: the connection is unavailable
drone-agent_1       | 2018/02/14 17:00:22 grpc error: done(): code: Unavailable: rpc error: code = Unavailable desc = grpc: the connection is unavailable
drone-agent_1       | INFO: 2018/02/14 17:00:23 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing failed to do connect handshake, response: \"HTTP/1.1 403 Forbidden\\r\\nContent-Length: 2974\\r\\nConnection: keep-alive\\r\\nContent-Type: text/html\\r\\nDate: Wed, 14 Feb 2018 12:00:24 EST\\r\\nMime-Version: 1.0\\r\\nProxy-Connection: keep-alive\\r\\n\\r\\n<!DOCTYPE html PUBLIC \\\"-//W3C//Dtd XHTML 1.0 Transitional//EN\\\" \\\"http://www.w3.org/TR/xhtml1/Dtd/xhtml1-transitional.dtd\\\">\\n<html xmlns=\\\"http://www.w3.org/1999/xhtml\\\">\\n\\n<head>\\n<meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html; charset=utf-8\\\" />\\n\\n<title>Notification: Policy: General</title>\\n<style type=\\\"text/css\\\">\\nbody {\\n  font-family: Arial, Helvetica, sans-serif;\\n  font-size: 14px;\\n  color:#333333;\\n  background-color: #ffffff;\\n}\\nh1 {\\n  font-size: 18px;\\n  font-weight: bold;\\n  text-decoration: none;\\n  padding-top: 0px;\\n  color: #2970A6;\\n}\\na:link {\\n    color: #2970A6;\\n  text-decoration: none;\\n}\\na:hover {\\n    color: #2970A6;\\n  text-decoration: underline;\\n}\\np.buttonlink {\\n  margin-bottom: 24px;\\n}\\n.copyright {\\n  font-size: 12px;\\n  color: #666666;\\n  margin: 5px 5px 0px 30px;\\n\\n}\\n.details {\\n  font-size: 14px;\\n  color: #969696;\\n  border: none;\\n  padding: 20px 20px 20px 20px;\\n  margin: 0px 10px 10px 35px;\\n}\\n\\n.shadow {\\n  border: 3px solid #9f9f9f;\\n  padding: 10px 25px 10px 25px;\\n  margin: 10px 35px 0px 30px;\\n  background-color: #ffffff;\\n  width: 600px;\\n\\n  -moz-box-shadow: 3px 3px 3px #cccccc;\\n  -webkit-box-shadow: 3px 3px 3px #cccccc;\\n  box-shadow: 3px 3px 3px #cccccc;\\n  /* For IE 8 */\\n  -ms-filter: \\\"progid:DXImageTransform.Microsoft.Shadow(Strength=5, Direction=135, Color='cccccc')\\\";\\n  /* For IE 5.5 - 7 */\\n  filter: progid:DXImageTransform.Microsoft.Shadow(Strength=5, Direction=135, Color='cccccc');\\n}\\n.logo {\\n  border: none;\\n  margin: 5px 5px 0px 30px;\\n}\\n</style>\\n</head>\\n\\n<body>\\n<div class=\\\"logo\\\"><img src=\\\"http://info.mitre.org/it_services/images/cit_logo.png\\\" border=\\\"0\\\"></div><p>&nbsp;</p>\\n<div class=\\\"shadow\\\">\\n\\n<h1>This Page Cannot Be Displayed</h1>\\n\\n<p>Based on your organization's security policies, this web site\\n(&nbsp;https://drone-server/&nbsp;)\\nhas been blocked because it has been determined to be a security\\nthreat to your computer or the organization's network.\\nAccess could also be blocked because this request came from an\\nunrecognized or unauthorized machine.</p>\\n\\n<p><br> There has been an error and the web page is unable to be displayed. <br>  Please contact the Help Desk ([email protected]) and provide the information below:<br> <br>  1) The URL you are trying to reach<br>  2) The browser you are using<br>  3) Has this URL been reachable in the past?<br> 3) The internet connection you are currently using<br>  4) The notification codes at the bottom of this page<br>  5) And any other information you think may be important<br>  <br>  Also refer to FJ: \\\"proxy\\\" for additional information.<br></p>\\n\\n<p>\\nIf you have questions, please contact\\\nHelp Desk (&nbsp;<a href=\\\"mailto:[email protected]\\\">[email protected]</a>&nbsp;)\\nand provide the codes shown below.\\n</p>\\n\\n</div>\\n\\n<div class=\\\"details\\\"><p>\\nDate: Wed, 14 Feb 2018 12:00:24 EST<br />\\nUsername: <br />\\nSource IP: 128.29.199.19<br />\\nURL: CONNECT https://drone-server/<br />\\nCategory: <br />\\nReason: BLOCK-CONNECT<br />\\nNotification: POLICY\\n</p></div>\\n</body>\\n</html>\\n\""; Reconnecting to {drone-server:9000 <nil>}
d