multipass icon indicating copy to clipboard operation
multipass copied to clipboard

docker image: Portainer failure to get template connection refused

Open jt-xx opened this issue 3 years ago • 1 comments

It seems related to a configuration issue.

I'm using multipass in 1.9.2+mac via homebrew on macos 12.4

  1. multipass launch docker docker-dev
  2. multipass list -> docker-dev Running 192.168.64.5 Ubuntu 21.10 172.17.0.1
  3. open 192.168.64.5:9000
  4. then I just click on local environment then on App Template and get the following message popup Failure Get "https://raw.githubusercontent.com/portainer/templates/master/templates-2.0.json": dial tcp: lookup raw.githubusercontent.com on 192.168.64.1:53: read udp 172.17.0.2:47280->192.168.64.1:53: read: connection refused

Here is the end of portainer log: time="2022-06-29T09:41:29Z" level=info msg="Encryption key file portainer not present" time="2022-06-29T09:41:29Z" level=info msg="Proceeding without encryption key" time="2022-06-29T09:41:29Z" level=info msg="Loading PortainerDB: portainer.db" time="2022-06-29T09:41:29Z" level=info msg="Opened existing store" version=35 2022/06/29 09:41:29 server: Reverse tunnelling enabled 2022/06/29 09:41:29 server: Fingerprint 9b:22:1a:13:56:15:32:f7:6f:01:1e:02:82:7a:50:a6 2022/06/29 09:41:29 server: Listening on 0.0.0.0:8000... time="2022-06-29T09:41:29Z" level=info msg="2022/06/29 09:41:29 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]" time="2022-06-29T09:41:29Z" level=info msg="[INFO] [cmd,main] Starting Portainer version 2.13.1\n" time="2022-06-29T09:41:29Z" level=info msg="2022/06/29 09:41:29 [DEBUG] [internal,init] [message: start initialization monitor ]" time="2022-06-29T09:41:29Z" level=info msg="2022/06/29 09:41:29 [INFO] [http,server] [message: starting HTTPS server on port :9443]" time="2022-06-29T09:41:29Z" level=info msg="2022/06/29 09:41:29 [INFO] [http,server] [message: starting HTTP server on port :9000]" time="2022-06-29T09:41:55Z" level=info msg="2022/06/29 09:41:55 http error: A valid authorisation token is missing (err=Unauthorized) (code=401)" time="2022-06-29T09:42:00Z" level=info msg="2022/06/29 09:42:00 http error: Unable to retrieve templates via the network (err=Get "https://raw.githubusercontent.com/portainer/templates/master/templates-2.0.json": dial tcp: lookup raw.githubusercontent.com on 192.168.64.1:53: read udp 172.17.0.2:57473->192.168.64.1:53: read: connection refused) (code=500)"

jt-xx avatar Jun 29 '22 09:06 jt-xx

Hi @jt-xx,

It's not clear what type of Mac you have. Do you have an M1 or Intel based Mac? If it's Intel based, which driver are you using (multipass get local.driver)?

Also, this may be of help: https://github.com/portainer/portainer/issues/2026

townsend2010 avatar Jun 29 '22 13:06 townsend2010