# Having proxy issues running docker compose

**URL:** <https://community.temporal.io/t/having-proxy-issues-running-docker-compose/1431>\
**Category:** Community Support\
**Created:** [February 2, 2021, 9:12pm UTC](https://community.temporal.io/t/having-proxy-issues-running-docker-compose/1431 "2021-02-02T21:12:49Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![kasi](https://avatars.discourse-cdn.com/v4/letter/k/e19b73/32.png) [@kasi](https://community.temporal.io/u/kasi)\
**Post date:** [February 2, 2021, 9:12pm UTC](https://community.temporal.io/t/having-proxy-issues-running-docker-compose/1431/1 "2021-02-02T21:12:49Z")

</div>

Any alternatives?

Thanks,

Kasi

---

<div class="post-metadata">

**Author:** ![Wenquan\_Xing](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/wenquan_xing/32/362_2.png) [@Wenquan\_Xing](https://community.temporal.io/u/Wenquan_Xing)\
**Post date:** [February 2, 2021, 9:42pm UTC](https://community.temporal.io/t/having-proxy-issues-running-docker-compose/1431/2 "2021-02-02T21:42:48Z")

</div>

Hi can you plz provide little bit more information?  
Which docker compose is broken or what specific issue are you seeing?

---

<div class="post-metadata">

**Author:** ![kasi](https://avatars.discourse-cdn.com/v4/letter/k/e19b73/32.png) [@kasi](https://community.temporal.io/u/kasi)\
**Post date:** [February 2, 2021, 9:54pm UTC](https://community.temporal.io/t/having-proxy-issues-running-docker-compose/1431/3 "2021-02-02T21:54:52Z")

</div>

Hi,

This is related to my company proxy, we use docker proxy, I am able to download the images, but the following command ‘+ tctl --ns default namespace describe’ fails when it tries to execute.

Thanks,

Kasi

---

<div class="post-metadata">

**Author:** ![Wenquan\_Xing](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/wenquan_xing/32/362_2.png) [@Wenquan\_Xing](https://community.temporal.io/u/Wenquan_Xing)\
**Post date:** [February 2, 2021, 10:03pm UTC](https://community.temporal.io/t/having-proxy-issues-running-docker-compose/1431/4 "2021-02-02T22:03:41Z")

</div>

> [@kasi](#):
>
> tctl --ns default namespace describe

not sure which docker image are you using, maybe try the following command?

```auto
tctl --ns default namespace register -rd 3

```

above will try to register a namespace called `default` with 3 days retention period

NOTE:  
if tctl is not installed, you can try `brew install tctl`

---

<div class="post-metadata">

**Author:** ![kasi](https://avatars.discourse-cdn.com/v4/letter/k/e19b73/32.png) [@kasi](https://community.temporal.io/u/kasi)\
**Post date:** [February 3, 2021, 1:45am UTC](https://community.temporal.io/t/having-proxy-issues-running-docker-compose/1431/5 "2021-02-03T01:45:52Z")

</div>

@maxim this is the error I am seeing  
temporal | (‘export TEMPORAL\_CLI\_SHOW\_STACKS=1’ to see stack traces)  
temporal | Default namespace default not found. Creating…  
temporal | + echo ‘Default namespace default not found. Creating…’  
temporal | + sleep 1

when i do the following on the console, I see this

./tctl --ns default namespace register

Error: Register namespace operation failed.

this is when I doing docker-compose up

it is trying to connect to proxy

---

<div class="post-metadata">

**Author:** ![kasi](https://avatars.discourse-cdn.com/v4/letter/k/e19b73/32.png) [@kasi](https://community.temporal.io/u/kasi)\
**Post date:** [February 3, 2021, 4:59pm UTC](https://community.temporal.io/t/having-proxy-issues-running-docker-compose/1431/6 "2021-02-03T16:59:06Z")

</div>

I am trying to bring up the build/dev version of temporal, after make start and make start-dependencies when I try to bring up the UI I am seeing the following error.

**temporal-dev-web |** OperationalError: 14 UNAVAILABLE: failed to connect to all addresses

**temporal-dev-web |** at Object.exports.createStatusError (/usr/app/node\_modules/grpc/src/common.js:91:15)

**temporal-dev-web |** at Object.onReceiveStatus (/usr/app/node\_modules/grpc/src/client\_interceptors.js:1209:28)

**temporal-dev-web |** at InterceptingListener.\_callNext (/usr/app/node\_modules/grpc/src/client\_interceptors.js:568:42)

**temporal-dev-web |** at InterceptingListener.onReceiveStatus (/usr/app/node\_modules/grpc/src/client\_interceptors.js:618:8)

**temporal-dev-web |** at callback (/usr/app/node\_modules/grpc/src/client\_interceptors.js:847:24) {

**temporal-dev-web |** cause: Error: 14 UNAVAILABLE: failed to connect to all addresses

**temporal-dev-web |** at Object.exports.createStatusError (/usr/app/node\_modules/grpc/src/common.js:91:15)

**temporal-dev-web |** at Object.onReceiveStatus (/usr/app/node\_modules/grpc/src/client\_interceptors.js:1209:28)

**temporal-dev-web |** at InterceptingListener.\_callNext (/usr/app/node\_modules/grpc/src/client\_interceptors.js:568:42)

**temporal-dev-web |** at InterceptingListener.onReceiveStatus (/usr/app/node\_modules/grpc/src/client\_interceptors.js:618:8)

**temporal-dev-web |** at callback (/usr/app/node\_modules/grpc/src/client\_interceptors.js:847:24) {

**temporal-dev-web |** code: 14,

**temporal-dev-web |** metadata: Metadata { \_internal\_repr: {}, flags: 0 },

**temporal-dev-web |** details: ‘failed to connect to all addresses’

**temporal-dev-web |** },

**temporal-dev-web |** isOperational: true,

**temporal-dev-web |** code: 14,

**temporal-dev-web |** metadata: Metadata { \_internal\_repr: {}, flags: 0 },

**temporal-dev-web |** details: ‘failed to connect to all addresses’

**temporal-dev-web |** }

**temporal-dev-web |** OperationalError: 14 UNAVAILABLE: failed to connect to all addresses

**temporal-dev-web |** at Object.exports.createStatusError (/usr/app/node\_modules/grpc/src/common.js:91:15)

**temporal-dev-web |** at Object.onReceiveStatus (/usr/app/node\_modules/grpc/src/client\_interceptors.js:1209:28)

**temporal-dev-web |** at InterceptingListener.\_callNext (/usr/app/node\_modules/grpc/src/client\_interceptors.js:568:42)

**temporal-dev-web |** at InterceptingListener.onReceiveStatus (/usr/app/node\_modules/grpc/src/client\_interceptors.js:618:8)

**temporal-dev-web |** at callback (/usr/app/node\_modules/grpc/src/client\_interceptors.js:847:24) {

**temporal-dev-web |** cause: Error: 14 UNAVAILABLE: failed to connect to all addresses

**temporal-dev-web |** at Object.exports.createStatusError (/usr/app/node\_modules/grpc/src/common.js:91:15)

**temporal-dev-web |** at Object.onReceiveStatus (/usr/app/node\_modules/grpc/src/client\_interceptors.js:1209:28)

**temporal-dev-web |** at InterceptingListener.\_callNext (/usr/app/node\_modules/grpc/src/client\_interceptors.js:568:42)

**temporal-dev-web |** at InterceptingListener.onReceiveStatus (/usr/app/node\_modules/grpc/src/client\_interceptors.js:618:8)

**temporal-dev-web |** at callback (/usr/app/node\_modules/grpc/src/client\_interceptors.js:847:24) {

**temporal-dev-web |** code: 14,

**temporal-dev-web |** metadata: Metadata { \_internal\_repr: {}, flags: 0 },

**temporal-dev-web |** details: ‘failed to connect to all addresses’

**temporal-dev-web |** },

**temporal-dev-web |** isOperational: true,

**temporal-dev-web |** code: 14,

**temporal-dev-web |** metadata: Metadata { \_internal\_repr: {}, flags: 0 },

**temporal-dev-web |** details: ‘failed to connect to all addresses’

**temporal-dev-web |** }

---

<div class="post-metadata">

**Author:** ![Wenquan\_Xing](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/wenquan_xing/32/362_2.png) [@Wenquan\_Xing](https://community.temporal.io/u/Wenquan_Xing)\
**Post date:** [February 3, 2021, 5:41pm UTC](https://community.temporal.io/t/having-proxy-issues-running-docker-compose/1431/7 "2021-02-03T17:41:51Z")

</div>

> [@kasi](#):
>
> ./tctl --ns default namespace register
> 
> Error: Register namespace operation failed.

does the above error contains more details?

---

<div class="post-metadata">

**Author:** ![Wenquan\_Xing](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/wenquan_xing/32/362_2.png) [@Wenquan\_Xing](https://community.temporal.io/u/Wenquan_Xing)\
**Post date:** [February 3, 2021, 5:43pm UTC](https://community.temporal.io/t/having-proxy-issues-running-docker-compose/1431/8 "2021-02-03T17:43:35Z")

</div>

maybe worth trying this command

```auto
docker system prune -a

```

^ will nuke docker, which will also get rid of all docker related issue

---

<div class="post-metadata">

**Author:** ![kasi](https://avatars.discourse-cdn.com/v4/letter/k/e19b73/32.png) [@kasi](https://community.temporal.io/u/kasi)\
**Post date:** [February 3, 2021, 6:17pm UTC](https://community.temporal.io/t/having-proxy-issues-running-docker-compose/1431/9 "2021-02-03T18:17:07Z")

</div>

Thanks, that did not help, regarding the stack trace on the other error, here is the details

temporal | (‘export TEMPORAL\_CLI\_SHOW\_STACKS=1’ to see stack traces)  
temporal | + tctl --ns default namespace describe  
temporal | Error: Operation DescribeNamespace failed.  
temporal | Error Details: rpc error: code = Unavailable desc = connection error: desc = “transport: Error while dialing failed to do connect handshake, response: “HTTP/1.1 407 AuthorizedOnly\r\nContent-Length: 2826\r\nCache-Control: no-cache\r\nContent-Type: text/html\r\nDate: Wed, 03 Feb 2021 18:12:45 GMT\r\nProxy-Authenticate: NTLM\r\nProxy-Authenticate: Basic realm=\“[AEXP.COM](http://AEXP.COM)\”\r\nProxy-Connection: Keep-Alive\r\nX-Frame-Options: deny\r\n\r\n\n\n\n\n\n \<meta content=\“text/html; charset=UTF-8\” http-equiv=\“Content-Type\”\>\n \<meta http-equiv=\“X-UA-Compatible\” content=\“IE=7\” /\>\n McAfee Web Gateway - Notification\n \<script src=\”/mwg-internal/de5fs23hu73ds/files/javascript/sw.js\” type=\“text/javascript\” \>\n \<link rel=\“stylesheet\” href=\"/mwg-internal/de5fs23hu73ds/files/default/stylesheet.css\" /\>\n\n\n\n\<body onload=\“swOnLoad();\”\>\n \n \n \n \<td class=\“contentData\”\>\n

| \n\n\n \n \n \n

| \n [\n ![](https://sea2.discourse-cdn.com/flex016/mwg-internal/de5fs23hu73ds/files/default/img/blue_box.png)](http://www.americanexpress.com)\n |

\n\n\n\n\n\n \n \n \n

| \n Request Blocked\n |

\n\n\n\n\<table class=\“contentTable\”\>\n |
|
| |

---

<div class="post-metadata">

**Author:** ![kasi](https://avatars.discourse-cdn.com/v4/letter/k/e19b73/32.png) [@kasi](https://community.temporal.io/u/kasi)\
**Post date:** [February 3, 2021, 6:19pm UTC](https://community.temporal.io/t/having-proxy-issues-running-docker-compose/1431/10 "2021-02-03T18:19:49Z")

</div>

@Wenquan_Xing not sure why tctl would try to make an outward connection?

---

<div class="post-metadata">

**Author:** ![Wenquan\_Xing](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/wenquan_xing/32/362_2.png) [@Wenquan\_Xing](https://community.temporal.io/u/Wenquan_Xing)\
**Post date:** [February 3, 2021, 6:56pm UTC](https://community.temporal.io/t/having-proxy-issues-running-docker-compose/1431/11 "2021-02-03T18:56:17Z")

</div>

tctl by default will connect to `127.0.0.1:7233`, not really sure what is happening here

BTW, the above stack trace is from docker compose up? is your docker configured with proxy (not a docker expert)

ref: [temporal/namespaceUtils.go at v1.6.3 · temporalio/temporal · GitHub](https://github.com/temporalio/temporal/blob/v1.6.3/tools/cli/namespaceUtils.go#L213)  
[temporal/factory.go at v1.6.3 · temporalio/temporal · GitHub](https://github.com/temporalio/temporal/blob/v1.6.3/tools/cli/factory.go#L123)  
[temporal/defs.go at v1.6.3 · temporalio/temporal · GitHub](https://github.com/temporalio/temporal/blob/v1.6.3/tools/cli/defs.go#L37)

---

<div class="post-metadata">

**Author:** ![Wenquan\_Xing](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/wenquan_xing/32/362_2.png) [@Wenquan\_Xing](https://community.temporal.io/u/Wenquan_Xing)\
**Post date:** [February 3, 2021, 7:00pm UTC](https://community.temporal.io/t/having-proxy-issues-running-docker-compose/1431/12 "2021-02-03T19:00:43Z")

</div>

> [@kasi](#):
>
> McAfee Web Gateway

could you plz also check if above (`McAfee`) is the doing something weird?

---

<div class="post-metadata">

**Author:** ![kasi](https://avatars.discourse-cdn.com/v4/letter/k/e19b73/32.png) [@kasi](https://community.temporal.io/u/kasi)\
**Post date:** [February 3, 2021, 7:07pm UTC](https://community.temporal.io/t/having-proxy-issues-running-docker-compose/1431/13 "2021-02-03T19:07:13Z")

</div>

@Wenquan_Xing thanks, yes we use docker-proxy, I am seeing it is able to pull the images, on a separate note, i tried to run temporal in dev mode, everything comes up but when I bring up the UI I see this error.

**temporal-dev-web |** OperationalError: 14 UNAVAILABLE: failed to connect to all addresses

**temporal-dev-web |** at Object.exports.createStatusError (/usr/app/node\_modules/grpc/src/common.js:91:15)

**temporal-dev-web |** at Object.onReceiveStatus (/usr/app/node\_modules/grpc/src/client\_interceptors.js:1209:28)

**temporal-dev-web |** at InterceptingListener.\_callNext (/usr/app/node\_modules/grpc/src/client\_interceptors.js:568:42)

**temporal-dev-web |** at InterceptingListener.onReceiveStatus (/usr/app/node\_modules/grpc/src/client\_interceptors.js:618:8)

**temporal-dev-web |** at callback (/usr/app/node\_modules/grpc/src/client\_interceptors.js:847:24) {

**temporal-dev-web |** cause: Error: 14 UNAVAILABLE: failed to connect to all addresses

**temporal-dev-web |** at Object.exports.createStatusError (/usr/app/node\_modules/grpc/src/common.js:91:15)

**temporal-dev-web |** at Object.onReceiveStatus (/usr/app/node\_modules/grpc/src/client\_interceptors.js:1209:28)

**temporal-dev-web |** at InterceptingListener.\_callNext (/usr/app/node\_modules/grpc/src/client\_interceptors.js:568:42)

**temporal-dev-web |** at InterceptingListener.onReceiveStatus (/usr/app/node\_modules/grpc/src/client\_interceptors.js:618:8)

**temporal-dev-web |** at callback (/usr/app/node\_modules/grpc/src/client\_interceptors.js:847:24) {

**temporal-dev-web |** code: 14,

**temporal-dev-web |** metadata: Metadata { \_internal\_repr: {}, flags: 0 },

**temporal-dev-web |** details: ‘failed to connect to all addresses’

**temporal-dev-web |** },

**temporal-dev-web |** isOperational: true,

**temporal-dev-web |** code: 14,

**temporal-dev-web |** metadata: Metadata { \_internal\_repr: {}, flags: 0 },

**temporal-dev-web |** details: ‘failed to connect to all addresses’

**temporal-dev-web |** }

This is a \*\* blocker \*\*

---

<div class="post-metadata">

**Author:** ![Wenquan\_Xing](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/wenquan_xing/32/362_2.png) [@Wenquan\_Xing](https://community.temporal.io/u/Wenquan_Xing)\
**Post date:** [February 3, 2021, 7:09pm UTC](https://community.temporal.io/t/having-proxy-issues-running-docker-compose/1431/14 "2021-02-03T19:09:57Z")

</div>

to correctly understand your situation

1. temporal server is correctly started
2. temporal web is NOT correctly started

is above statement correct?

BTW, you may need to correctly configure the McAfee

---

<div class="post-metadata">

**Author:** ![kasi](https://avatars.discourse-cdn.com/v4/letter/k/e19b73/32.png) [@kasi](https://community.temporal.io/u/kasi)\
**Post date:** [February 3, 2021, 7:22pm UTC](https://community.temporal.io/t/having-proxy-issues-running-docker-compose/1431/15 "2021-02-03T19:22:53Z")

</div>

@Wenquan_Xing yes, correct, I will look at McAfee

---

<div class="post-metadata">

**Author:** ![kasi](https://avatars.discourse-cdn.com/v4/letter/k/e19b73/32.png) [@kasi](https://community.temporal.io/u/kasi)\
**Post date:** [February 3, 2021, 7:39pm UTC](https://community.temporal.io/t/having-proxy-issues-running-docker-compose/1431/16 "2021-02-03T19:39:48Z")

</div>

@Wenquan_Xing I do not have McAfee thanks

---

<div class="post-metadata">

**Author:** ![Wenquan\_Xing](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/wenquan_xing/32/362_2.png) [@Wenquan\_Xing](https://community.temporal.io/u/Wenquan_Xing)\
**Post date:** [February 3, 2021, 8:10pm UTC](https://community.temporal.io/t/having-proxy-issues-running-docker-compose/1431/17 "2021-02-03T20:10:56Z")

</div>

> [@kasi](#):
>
> temporal | Error Details: rpc error: code = Unavailable desc = connection error: desc = “transport: Error while dialing failed to do connect handshake, response: “HTTP/1.1 407 AuthorizedOnly\r\nContent-Length: 2826\r\nCache-Control: no-cache\r\nContent-Type: text/html\r\nDate: Wed, 03 Feb 2021 18:12:45 GMT\r\nProxy-Authenticate: NTLM\r\nProxy-Authenticate: Basic realm=\“[AEXP.COM](http://AEXP.COM)\”\r\nProxy-Connection: Keep-Alive\r\nX-Frame-Options: deny\r\n\r\n\n\n\n\n\n \n \<meta http-equiv=\“X-UA-Compatible\” content=\“IE=7\” /\>\n McAfee Web Gateway - Notification\n \n \<link rel=\“stylesheet\” href="/mwg-internal/de5fs23hu73ds/files/default/stylesheet.css" /\>\n\n\n\n\n \n \n \n \n

well, not sure why macfee web gateway shows in the error message  
plus `Proxy-Authenticate` also shows up.

i am afraid that i may not have enough information, could you plz try your IT see if there is any firewall installed?

---

<div class="post-metadata">

**Author:** ![kasi](https://avatars.discourse-cdn.com/v4/letter/k/e19b73/32.png) [@kasi](https://community.temporal.io/u/kasi)\
**Post date:** [February 3, 2021, 9:32pm UTC](https://community.temporal.io/t/having-proxy-issues-running-docker-compose/1431/18 "2021-02-03T21:32:20Z")

</div>

Thanks @Wenquan_Xing if not docker-compose if we can get at least my dev environment up and running it will be good, please look above for errors @maxim

---

<div class="post-metadata">

**Author:** ![Wenquan\_Xing](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/wenquan_xing/32/362_2.png) [@Wenquan\_Xing](https://community.temporal.io/u/Wenquan_Xing)\
**Post date:** [February 3, 2021, 9:38pm UTC](https://community.temporal.io/t/having-proxy-issues-running-docker-compose/1431/19 "2021-02-03T21:38:28Z")

</div>

1. brew install cassandra
2. checkout git repo & tag 1.6.3
3. start cassandra
4. `make install-schema && make start`

---

<div class="post-metadata">

**Author:** ![maxim](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/maxim/32/8_2.png) [@maxim](https://community.temporal.io/u/maxim)\
**Post date:** [February 3, 2021, 9:42pm UTC](https://community.temporal.io/t/having-proxy-issues-running-docker-compose/1431/20 "2021-02-03T21:42:41Z")

</div>

I would troubleshoot docker-compose in general. Are you able to run just MySQL for example using it?

[Next page](https://community.temporal.io/t/having-proxy-issues-running-docker-compose/1431.md?page=2)
