Any alternatives?
Thanks,
Kasi
Any alternatives?
Thanks,
Kasi
Hi can you plz provide little bit more information?
Which docker compose is broken or what specific issue are you seeing?
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
not sure which docker image are you using, maybe try the following command?
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
@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
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 | }
does the above error contains more details?
maybe worth trying this command
docker system prune -a
^ will nuke docker, which will also get rid of all docker related issue
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\”\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
| ||
@Wenquan_Xing not sure why tctl would try to make an outward connection?
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
temporal/factory.go at v1.6.3 · temporalio/temporal · GitHub
temporal/defs.go at v1.6.3 · temporalio/temporal · GitHub
could you plz also check if above (McAfee
) is the doing something weird?
@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 **
to correctly understand your situation
is above statement correct?
BTW, you may need to correctly configure the McAfee
@Wenquan_Xing yes, correct, I will look at McAfee
@Wenquan_Xing I do not have McAfee thanks
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?
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
make install-schema && make start
I would troubleshoot docker-compose in general. Are you able to run just MySQL for example using it?