这是indexloc提供的服务,不要输入任何密码
Skip to content

Traefik Lets Encrypt - unable to get ACME account: permissions 755 for /acme.json are too open, please use 600 #5714

@nemanjam

Description

@nemanjam

Description of problem

Traefik proxy is unable to obtain Lets Encrypt certificate when Dokku runs as Docker container.

Curl output:

username@computer3:~$ curl https://nextjs-app.dokku.arm1.localhost3002.live
curl: (60) SSL certificate problem: self-signed certificate
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

Traefik container log:

time="2023-03-01T12:07:24Z" level=info msg="Configuration loaded from flags."

2023-03-01T12:07:24Z ERR msg=The ACME resolver "leresolver" is skipped from the resolvers list because: unable to get ACME account: permissions 755 for /acme.json are too open, please use 600

2023-03-01T12:07:25Z ERR entryPointName=https msg=api is not enabled routerName=api@docker

2023-03-01T12:07:25Z ERR msg=the router api@docker uses a non-existent resolver: leresolver

2023-03-01T12:07:25Z ERR msg=the router nextjs-app-web-https@docker uses a non-existent resolver: leresolver

Steps to reproduce

Run Dokku as docker container, create app, set Traefik as proxy, set Lets Encrypt email, push Next.js app, start Traefik, request app url.

# run Dokku as Docker container and setup ssh key

dokku apps:create nextjs-app

dokku proxy:set nextjs-app traefik

dokku traefik:set --global letsencrypt-email miroljub.petrovic.acc@gmail.com

git push dokku main:main

dokku traefik:start

curl https://nextjs-app.dokku.arm1.localhost3002.live

dokku report $APP_NAME

ubuntu@arm1:~/dokku-deployment$ dokku report nextjs-app
-----> uname: Linux f32f4ba3ea6d 5.15.0-1029-oracle #35-Ubuntu SMP Tue Jan 24 15:21:05 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
-----> memory: 
                     total        used        free      shared  buff/cache   available
       Mem:          11940         741        3793           4        7405       10970
       Swap:             0           0           0
-----> docker version: 
       Client: Docker Engine - Community
        Version:           23.0.1
        API version:       1.42
        Go version:        go1.19.5
        Git commit:        a5ee5b1
        Built:             Thu Feb  9 19:46:32 2023
        OS/Arch:           linux/arm64
        Context:           default
       
       Server: Docker Engine - Community
        Engine:
         Version:          23.0.1
         API version:      1.42 (minimum version 1.12)
         Go version:       go1.19.5
         Git commit:       bc3805a
         Built:            Thu Feb  9 19:46:30 2023
         OS/Arch:          linux/arm64
         Experimental:     false
        containerd:
         Version:          1.6.18
         GitCommit:        2456e983eb9e37e47538f59ea18f2043c9a73640
        runc:
         Version:          1.1.4
         GitCommit:        v1.1.4-0-g5fd4c4d
        docker-init:
         Version:          0.19.0
         GitCommit:        de40ad0
-----> docker daemon info: 
       Client:
        Context:    default
        Debug Mode: true
        Plugins:
         compose: Docker Compose (Docker Inc.)
           Version:  v2.16.0
           Path:     /usr/libexec/docker/cli-plugins/docker-compose
       
       Server:
        Containers: 4
         Running: 4
         Paused: 0
         Stopped: 0
        Images: 24
        Server Version: 23.0.1
        Storage Driver: overlay2
         Backing Filesystem: extfs
         Supports d_type: true
         Using metacopy: false
         Native Overlay Diff: true
         userxattr: false
        Logging Driver: json-file
        Cgroup Driver: systemd
        Cgroup Version: 2
        Plugins:
         Volume: local
         Network: bridge host ipvlan macvlan null overlay
         Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
        Swarm: inactive
        Runtimes: io.containerd.runc.v2 runc
        Default Runtime: runc
        Init Binary: docker-init
        containerd version: 2456e983eb9e37e47538f59ea18f2043c9a73640
        runc version: v1.1.4-0-g5fd4c4d
        init version: de40ad0
        Security Options:
         apparmor
         seccomp
          Profile: builtin
         cgroupns
        Kernel Version: 5.15.0-1029-oracle
        Operating System: Ubuntu 22.04.2 LTS
        OSType: linux
        Architecture: aarch64
        CPUs: 2
        Total Memory: 11.66GiB
        Name: arm1
        ID: 91a59387-ea2d-472e-888c-e9327bf5feba
        Docker Root Dir: /var/lib/docker
        Debug Mode: false
        Registry: https://index.docker.io/v1/
        Experimental: false
        Insecure Registries:
         127.0.0.0/8
        Live Restore Enabled: false
       
-----> git version: git version 2.25.1
-----> sigil version: 0.9.0build+bc921b7
-----> herokuish version: 
 !     herokuish not supported on arm64 architecture
-----> dokku version: dokku version 0.30.1
-----> plugn version: plugn: 0.12.0build+3a27594
-----> dokku plugins: 
         00_dokku-standard    0.30.1 enabled    dokku core standard plugin
         20_events            0.30.1 enabled    dokku core events logging plugin
         app-json             0.30.1 enabled    dokku core app-json plugin
         apps                 0.30.1 enabled    dokku core apps plugin
         builder              0.30.1 enabled    dokku core builder plugin
         builder-dockerfile   0.30.1 enabled    dokku core builder-dockerfile plugin
         builder-herokuish    0.30.1 enabled    dokku core builder-herokuish plugin
         builder-lambda       0.30.1 enabled    dokku core builder-lambda plugin
         builder-null         0.30.1 enabled    dokku core builder-null plugin
         builder-pack         0.30.1 enabled    dokku core builder-pack plugin
         buildpacks           0.30.1 enabled    dokku core buildpacks plugin
         caddy-vhosts         0.30.1 enabled    dokku core caddy-vhosts plugin
         certs                0.30.1 enabled    dokku core certificate management plugin
         checks               0.30.1 enabled    dokku core checks plugin
         common               0.30.1 enabled    dokku core common plugin
         config               0.30.1 enabled    dokku core config plugin
         cron                 0.30.1 enabled    dokku core cron plugin
         docker-options       0.30.1 enabled    dokku core docker-options plugin
         domains              0.30.1 enabled    dokku core domains plugin
         enter                0.30.1 enabled    dokku core enter plugin
         git                  0.30.1 enabled    dokku core git plugin
         haproxy-vhosts       0.30.1 enabled    dokku core haproxy-vhosts plugin
         logs                 0.30.1 enabled    dokku core logs plugin
         mongo                1.32.0 enabled    dokku mongo service plugin
         network              0.30.1 enabled    dokku core network plugin
         nginx-vhosts         0.30.1 enabled    dokku core nginx-vhosts plugin
         plugin               0.30.1 enabled    dokku core plugin plugin
         postgres             1.32.0 enabled    dokku postgres service plugin
         proxy                0.30.1 enabled    dokku core proxy plugin
         ps                   0.30.1 enabled    dokku core ps plugin
         registry             0.30.1 enabled    dokku core registry plugin
         repo                 0.30.1 enabled    dokku core repo plugin
         resource             0.30.1 enabled    dokku core resource plugin
         run                  0.30.1 enabled    dokku core run plugin
         scheduler            0.30.1 enabled    dokku core scheduler plugin
         scheduler-docker-local 0.30.1 enabled    dokku core scheduler-docker-local plugin
         scheduler-null       0.30.1 enabled    dokku core scheduler-null plugin
         shell                0.30.1 enabled    dokku core shell plugin
         ssh-keys             0.30.1 enabled    dokku core ssh-keys plugin
         storage              0.30.1 enabled    dokku core storage plugin
         trace                0.30.1 enabled    dokku core trace plugin
         traefik-vhosts       0.30.1 enabled    dokku core traefik-vhosts plugin
=====> nextjs-app app-json information
       App json computed selected:    app.json
       App json global selected:      app.json
       App json selected:             
=====> nextjs-app app information
       App created at:                1677671601
       App deploy source:             nextjs-app
       App deploy source metadata:    nextjs-app
       App dir:                       /home/dokku/nextjs-app
       App locked:                    false
=====> nextjs-app builder information
       Builder build dir:             
       Builder computed build dir:    
       Builder computed selected:     
       Builder global build dir:      
       Builder global selected:       
       Builder selected:              
=====> nextjs-app builder-dockerfile information
       Builder dockerfile computed dockerfile path: Dockerfile               
       Builder dockerfile global dockerfile path: Dockerfile               
       Builder dockerfile dockerfile path:                          
=====> nextjs-app builder-lambda information
       Builder lambda computed lambdayml path: lambda.yml               
       Builder lambda global lambdayml path: lambda.yml               
       Builder lambda lambdayml path:                          
=====> nextjs-app builder-pack information
       Builder pack computed projecttoml path: project.toml             
       Builder pack global projecttoml path: project.toml             
       Builder pack projecttoml path:                          
=====> nextjs-app buildpacks information
       Buildpacks computed stack:     gliderlabs/herokuish:latest-20
       Buildpacks global stack:       
       Buildpacks list:               
       Buildpacks stack:              
=====> nextjs-app ssl information
       Ssl dir:                       /home/dokku/nextjs-app/tls
       Ssl enabled:                   false                    
       Ssl hostnames:                                          
       Ssl expires at:                                         
       Ssl issuer:                                             
       Ssl starts at:                                          
       Ssl subject:                                            
       Ssl verified:                                           
=====> nextjs-app checks information
       Checks disabled list:          none                     
       Checks skipped list:           none                     
       Checks computed wait to retire: 60                       
       Checks global wait to retire:  60                       
       Checks wait to retire:                                  
=====> nextjs-app cron information
       Cron task count:               0
=====> nextjs-app docker options information
       Docker options build:                                   
       Docker options deploy:         --restart=on-failure:10  
       Docker options run:                                     
=====> nextjs-app domains information
       Domains app enabled:           true                     
       Domains app vhosts:            nextjs-app.dokku.arm1.localhost3002.live
       Domains global enabled:        true                     
       Domains global vhosts:         dokku.arm1.localhost3002.live
=====> nextjs-app git information
       Git deploy branch:             main                     
       Git global deploy branch:      master                   
       Git keep git dir:              false                    
       Git rev env var:               GIT_REV                  
       Git sha:                                                
       Git source image:                                       
       Git last updated at:           1677672310               
=====> nextjs-app logs information
       Logs computed max size:        10m
       Logs global max size:          10m
       Logs global vector sink:       
       Logs max size:                 
       Logs vector sink:              
=====> nextjs-app network information
       Network attach post create:           
       Network attach post deploy:           
       Network bind all interfaces:          false
       Network computed attach post create:  
       Network computed attach post deploy:  
       Network computed bind all interfaces: false
       Network computed initial network:     
       Network computed tld:                 
       Network global attach post create:    
       Network global attach post deploy:    
       Network global bind all interfaces:   false
       Network global initial network:       
       Network global tld:                   
       Network initial network:              
       Network static web listener:          
       Network tld:                          
       Network web listeners:                172.17.0.3:5000
=====> nextjs-app nginx information
       Nginx access log format:                                
       Nginx access log path:         /var/log/nginx/nextjs-app-access.log
       Nginx bind address ipv4:                                
       Nginx bind address ipv6:       ::                       
       Nginx client max body size:                             
       Nginx disable custom config:   false                    
       Nginx error log path:          /var/log/nginx/nextjs-app-error.log
       Nginx global hsts:             true                     
       Nginx computed hsts:           true                     
       Nginx hsts:                                             
       Nginx hsts include subdomains: true                     
       Nginx hsts max age:            15724800                 
       Nginx hsts preload:            false                    
       Nginx computed nginx conf sigil path: nginx.conf.sigil         
       Nginx global nginx conf sigil path: nginx.conf.sigil         
       Nginx nginx conf sigil path:                            
       Nginx proxy buffer size:       4096                     
       Nginx proxy buffering:         on                       
       Nginx proxy buffers:           8 4096                   
       Nginx proxy busy buffers size: 8192                     
       Nginx proxy read timeout:      60s                      
       Nginx last visited at:                                  
       Nginx x forwarded for value:   $remote_addr             
       Nginx x forwarded port value:  $server_port             
       Nginx x forwarded proto value: $scheme                  
       Nginx x forwarded ssl:                                  
=====> nextjs-app proxy information
       Proxy enabled:                 true
       Proxy port map:                http:80:5000
       Proxy type:                    traefik
=====> nextjs-app ps information
       Deployed:                      true
       Processes:                     1
       Ps can scale:                  true
       Ps computed procfile path:     Procfile
       Ps global procfile path:       Procfile
       Ps procfile path:              
       Ps restart policy:             on-failure:10
       Restore:                       true
       Running:                       true
       Status web 1:                  running (CID: a3300e2df4e)
=====> nextjs-app registry information
       Registry computed image repo:      dokku/nextjs-app
       Registry computed push on release: false
       Registry computed server:          
       Registry global push on release:   
       Registry global server:            
       Registry image repo:               
       Registry push on release:          
       Registry server:                   
       Registry tag version:              
=====> nextjs-app resource information
=====> nextjs-app scheduler information
       Scheduler computed selected:   docker-local
       Scheduler global selected:     docker-local
       Scheduler selected:            
=====> nextjs-app scheduler-docker-local information
       Scheduler docker local disable chown:                          
       Scheduler docker local init process: true                     
       Scheduler docker local parallel schedule count:                          
=====> nextjs-app storage information
       Storage build mounts:                                   
       Storage deploy mounts:                                  
       Storage run mounts:        

Additional information

Repository for Dokku container:

https://github.com/nemanjam/dokku-deployment

Repository for Next.js app:

https://github.com/nemanjam/dokku-nextjs-hello-world

ubuntu@arm1:~/dokku-deployment$ dokku ps:inspect nextjs-app
[
    {
        "AppArmorProfile": "docker-default",
        "Args": [
            "yarn",
            "start",
            "--",
            "--port",
            "5000"
        ],
        "Config": {
            "AttachStderr": true,
            "AttachStdin": false,
            "AttachStdout": true,
            "Cmd": [
                "yarn",
                "start",
                "--",
                "--port",
                "5000"
            ],
            "Domainname": "",
            "Entrypoint": [
                "launcher"
            ],
            "Env": [
                "DOKKU_APP_PROXY_TYPE=traefik",
                "DOKKU_APP_TYPE=pack",
                "GIT_REV=XXXXXX",
                "DYNO=web.1",
                "PORT=5000",
                "PATH=/cnb/process:/cnb/lifecycle:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "HOME=XXXXXX",
                "CNB_LAYERS_DIR=XXXXXX",
                "CNB_APP_DIR=XXXXXX",
                "CNB_PLATFORM_API=XXXXXX",
                "CNB_DEPRECATION_MODE=XXXXXX"
            ],
            "Hostname": "a3300e2df4e4",
            "Image": "dokku/nextjs-app:latest",
            "Labels": {
                "com.dokku.app-name": "nextjs-app",
                "com.dokku.builder-type": "pack",
                "com.dokku.container-type": "deploy",
                "com.dokku.docker-image-labeler/alternate-tags": "[\"dokku/nextjs-app:latest\"]",
                "com.dokku.dyno": "web.1",
                "com.dokku.image-stage": "release",
                "com.dokku.process-type": "web",
                "dokku": "",
                "io.buildpacks.build.metadata": "{\"buildpacks\":[{\"id\":\"heroku/nodejs-engine\",\"version\":\"0.8.16\",\"homepage\":\"https://github.com/heroku/buildpacks-nodejs\"},{\"id\":\"heroku/nodejs-yarn\",\"version\":\"0.4.0\",\"homepage\":\"https://github.com/heroku/buildpacks-nodejs\"},{\"id\":\"heroku/procfile\",\"version\":\"2.0.0\",\"homepage\":\"https://github.com/heroku/procfile-cnb\"}],\"launcher\":{\"version\":\"0.16.0\",\"source\":{\"git\":{\"repository\":\"github.com/buildpacks/lifecycle\",\"commit\":\"1398dfa3\"}}},\"processes\":[{\"type\":\"web\",\"command\":[\"yarn start -- --port $PORT\"],\"args\":null,\"direct\":false,\"buildpackID\":\"heroku/procfile\"}],\"buildpack-default-process-type\":\"web\"}",
                "io.buildpacks.lifecycle.metadata": "{\"app\":[{\"sha\":\"sha256:753697c0a04528053281a0d6609c1e3dbffb3440d5f6ea4bc3866f31f4cd8f37\"}],\"sbom\":{\"sha\":\"sha256:36f9de0748c420980a265697f38f76b0f9ae9b7862d3467b76b638706e637425\"},\"buildpacks\":[{\"key\":\"heroku/nodejs-engine\",\"version\":\"0.8.16\",\"layers\":{\"dist\":{\"sha\":\"sha256:cae3272fe8789671a699a241f1bb14957f1c9ec6891f730e6b9140403943e512\",\"data\":{\"layer_version\":\"1\",\"nodejs_version\":\"19.7.0\",\"stack_id\":\"heroku-20\"},\"build\":true,\"launch\":true,\"cache\":true},\"web_env\":{\"sha\":\"sha256:6e2f515fe53d0cab7bd46cb1fe16c57f7a210a57e325b9804666692a66c1ce96\",\"data\":null,\"build\":false,\"launch\":true,\"cache\":false}}},{\"key\":\"heroku/nodejs-yarn\",\"version\":\"0.4.0\",\"layers\":{\"deps\":{\"sha\":\"sha256:129ce2f2ca8f9e558b1fccccb7858b4cf690b5d1249218c4502a41fffcff04ad\",\"data\":{\"cache_usage_count\":2,\"layer_version\":\"1\",\"yarn\":\"Yarn1\"},\"build\":true,\"launch\":true,\"cache\":true},\"dist\":{\"sha\":\"sha256:257939e3a770a9a58a4e8b4d76d989ab32fcab3230631c36bbc7b768e2593c1a\",\"data\":{\"layer_version\":\"1\",\"stack_id\":\"heroku-20\",\"yarn_version\":\"1.22.19\"},\"build\":true,\"launch\":true,\"cache\":true}}},{\"key\":\"heroku/procfile\",\"version\":\"2.0.0\",\"layers\":{}}],\"config\":{\"sha\":\"sha256:d361e86af0a13de75e9d90254d8491a2d3262e3583621ecc7c4f70ac08803709\"},\"launcher\":{\"sha\":\"sha256:1e7663fc17ad3f88822d8bcb5e6d9a5507e0d2733b63b2030c32880ee6fedf8a\"},\"process-types\":{\"sha\":\"sha256:83d85471d9f8a3834b4e27cf701e3f0aef220cc816d9c173c7d32cd73909a590\"},\"runImage\":{\"topLayer\":\"sha256:c9fc340fe8fd9ff94d0145e81db1aee316454742851f4941d00f119fde3b0407\",\"reference\":\"8d2634a21e75421ae4ec69c735a32c1ffbe2d3c9d49e18fe3837d6abfdcd47da\"},\"stack\":{\"runImage\":{\"image\":\"heroku/heroku:20-cnb\"}}}",
                "io.buildpacks.project.metadata": "{}",
                "io.buildpacks.stack.id": "heroku-20",
                "org.label-schema.schema-version": "1.0",
                "org.label-schema.vendor": "dokku",
                "org.opencontainers.image.ref.name": "ubuntu",
                "org.opencontainers.image.version": "20.04",
                "traefik.enable": "true",
                "traefik.http.routers.nextjs-app-web-http.entrypoints": "http",
                "traefik.http.routers.nextjs-app-web-http.priority": "1677672293",
                "traefik.http.routers.nextjs-app-web-http.rule": "Host(`nextjs-app.dokku.arm1.localhost3002.live`)",
                "traefik.http.routers.nextjs-app-web-http.service": "nextjs-app-web-http",
                "traefik.http.routers.nextjs-app-web-https.entrypoints": "https",
                "traefik.http.routers.nextjs-app-web-https.priority": "1677672293",
                "traefik.http.routers.nextjs-app-web-https.rule": "Host(`nextjs-app.dokku.arm1.localhost3002.live`)",
                "traefik.http.routers.nextjs-app-web-https.service": "nextjs-app-web-https",
                "traefik.http.routers.nextjs-app-web-https.tls.certresolver": "leresolver",
                "traefik.http.services.nextjs-app-web-http.loadbalancer.server.port": "5000",
                "traefik.http.services.nextjs-app-web-https.loadbalancer.server.port": "5000"
            },
            "OnBuild": null,
            "OpenStdin": false,
            "StdinOnce": false,
            "Tty": false,
            "User": "heroku",
            "Volumes": null,
            "WorkingDir": "/workspace"
        },
        "Created": "2023-03-01T12:04:53.671265478Z",
        "Driver": "overlay2",
        "ExecIDs": null,
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/90fd9d1e372ab27486a93248559077044bd88615c3053f098358b23567eeb130-init/diff:/var/lib/docker/overlay2/a9ec93bae352b8965041795717877765b7042b5d0ddc12c683ee6cadb2c29cb7/diff:/var/lib/docker/overlay2/186414f77b00f37801480ec5778aba4e0c6477ed2c2a43a8a8ced90968a59ba5/diff:/var/lib/docker/overlay2/05519e5a62ba7df81a8d0995d574101490052707061a7b78930c2935b18b3b7f/diff:/var/lib/docker/overlay2/c79b04d8fad9519371069297fa12c39f9c2a291fd442c09e18ac42e22ac87c24/diff:/var/lib/docker/overlay2/77fd9ecc72b36a81753dc14abb44f448fa805ab49884e68dea05eb5617d1d732/diff:/var/lib/docker/overlay2/d79c37c998537ef896333ec33d45d6aead236f8a2b9a4e64f15b19af1370414a/diff:/var/lib/docker/overlay2/da25364e09be1934861982d02bc8d0b3e4b72d5e5005ff5c8ac146b36e3f8151/diff:/var/lib/docker/overlay2/0369ff499d257feb734b977462f89cd1095df708cdd5b41908037fb9730371bf/diff:/var/lib/docker/overlay2/c98de151c2e242ad9577d41bf595ca962aadf1c341cf161fe748de59364c72b8/diff:/var/lib/docker/overlay2/5aef94513b81f1e9df014b22ef0a280fc7d7fbc2455e71d63f0278246163e32f/diff:/var/lib/docker/overlay2/951c913a54d53596cfc12c253c792b38c28caea6b2fd1f97461b838ebfdbfa0a/diff:/var/lib/docker/overlay2/c71382fae35cb6f2a22a40d99fdbc25a2b31a4fb0f373b7e6feea2f0d3dec060/diff:/var/lib/docker/overlay2/dcdc28fb63f0a058f18886daeed32a1d73c31f495464ebd29c83cc43136ab6f6/diff:/var/lib/docker/overlay2/899dbe1859d4bd0a08c24083082e3c0c9aeeed02a281f22d22852e7510331509/diff",
                "MergedDir": "/var/lib/docker/overlay2/90fd9d1e372ab27486a93248559077044bd88615c3053f098358b23567eeb130/merged",
                "UpperDir": "/var/lib/docker/overlay2/90fd9d1e372ab27486a93248559077044bd88615c3053f098358b23567eeb130/diff",
                "WorkDir": "/var/lib/docker/overlay2/90fd9d1e372ab27486a93248559077044bd88615c3053f098358b23567eeb130/work"
            },
            "Name": "overlay2"
        },
        "HostConfig": {
            "AutoRemove": false,
            "Binds": null,
            "BlkioDeviceReadBps": [],
            "BlkioDeviceReadIOps": [],
            "BlkioDeviceWriteBps": [],
            "BlkioDeviceWriteIOps": [],
            "BlkioWeight": 0,
            "BlkioWeightDevice": [],
            "CapAdd": null,
            "CapDrop": null,
            "Cgroup": "",
            "CgroupParent": "",
            "CgroupnsMode": "private",
            "ConsoleSize": [
                0,
                0
            ],
            "ContainerIDFile": "",
            "CpuCount": 0,
            "CpuPercent": 0,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpuShares": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "DeviceCgroupRules": null,
            "DeviceRequests": null,
            "Devices": [],
            "Dns": [],
            "DnsOptions": [],
            "DnsSearch": [],
            "ExtraHosts": null,
            "GroupAdd": null,
            "IOMaximumBandwidth": 0,
            "IOMaximumIOps": 0,
            "Init": true,
            "IpcMode": "private",
            "Isolation": "",
            "Links": null,
            "LogConfig": {
                "Config": {
                    "max-size": "10m"
                },
                "Type": "json-file"
            },
            "MaskedPaths": [
                "/proc/asound",
                "/proc/acpi",
                "/proc/kcore",
                "/proc/keys",
                "/proc/latency_stats",
                "/proc/timer_list",
                "/proc/timer_stats",
                "/proc/sched_debug",
                "/proc/scsi",
                "/sys/firmware"
            ],
            "Memory": 0,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": null,
            "NanoCpus": 0,
            "NetworkMode": "default",
            "OomKillDisable": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "PidsLimit": null,
            "PortBindings": {},
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyPaths": [
                "/proc/bus",
                "/proc/fs",
                "/proc/irq",
                "/proc/sys",
                "/proc/sysrq-trigger"
            ],
            "ReadonlyRootfs": false,
            "RestartPolicy": {
                "MaximumRetryCount": 10,
                "Name": "on-failure"
            },
            "Runtime": "runc",
            "SecurityOpt": null,
            "ShmSize": 67108864,
            "UTSMode": "",
            "Ulimits": null,
            "UsernsMode": "",
            "VolumeDriver": "",
            "VolumesFrom": null
        },
        "HostnamePath": "/var/lib/docker/containers/a3300e2df4e48411caf5e0b9a485292e1251c8c216819404e1ae8b83fbf1118a/hostname",
        "HostsPath": "/var/lib/docker/containers/a3300e2df4e48411caf5e0b9a485292e1251c8c216819404e1ae8b83fbf1118a/hosts",
        "Id": "a3300e2df4e48411caf5e0b9a485292e1251c8c216819404e1ae8b83fbf1118a",
        "Image": "sha256:a23817d18bd1d0e140a18bc6a0b34c5f4438d51ce4cb80b9a2f0f2f1f408953b",
        "LogPath": "/var/lib/docker/containers/a3300e2df4e48411caf5e0b9a485292e1251c8c216819404e1ae8b83fbf1118a/a3300e2df4e48411caf5e0b9a485292e1251c8c216819404e1ae8b83fbf1118a-json.log",
        "MountLabel": "",
        "Mounts": [],
        "Name": "/nextjs-app.web.1",
        "NetworkSettings": {
            "Bridge": "",
            "EndpointID": "d67e26ac80062f86fea3bb6fcc6c3018f30b9cbe8133afdcdaa5e2727e14f8d7",
            "Gateway": "172.17.0.1",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "HairpinMode": false,
            "IPAddress": "172.17.0.3",
            "IPPrefixLen": 16,
            "IPv6Gateway": "",
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "MacAddress": "02:42:ac:11:00:03",
            "Networks": {
                "bridge": {
                    "Aliases": null,
                    "DriverOpts": null,
                    "EndpointID": "d67e26ac80062f86fea3bb6fcc6c3018f30b9cbe8133afdcdaa5e2727e14f8d7",
                    "Gateway": "172.17.0.1",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "IPAMConfig": null,
                    "IPAddress": "172.17.0.3",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "Links": null,
                    "MacAddress": "02:42:ac:11:00:03",
                    "NetworkID": "1584af8178c5b2003bfb29a01d9de05e5cc704caba8c3650d3b52b71e6d2da9a"
                }
            },
            "Ports": {},
            "SandboxID": "f3dbee73233fd1b72cd00948093af65578d1c42752c14ccc5848aebce2741f6a",
            "SandboxKey": "/var/run/docker/netns/f3dbee73233f",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null
        },
        "Path": "launcher",
        "Platform": "linux",
        "ProcessLabel": "",
        "ResolvConfPath": "/var/lib/docker/containers/a3300e2df4e48411caf5e0b9a485292e1251c8c216819404e1ae8b83fbf1118a/resolv.conf",
        "RestartCount": 0,
        "State": {
            "Dead": false,
            "Error": "",
            "ExitCode": 0,
            "FinishedAt": "0001-01-01T00:00:00Z",
            "OOMKilled": false,
            "Paused": false,
            "Pid": 2583805,
            "Restarting": false,
            "Running": true,
            "StartedAt": "2023-03-01T12:04:54.184804018Z",
            "Status": "running"
        }
    }
]
ubuntu@arm1:~/dokku-deployment$ 

Output of failing commands after running: dokku trace:off

ubuntu@arm1:~/dokku-deployment$ dokku trace:off
-----> Disabling trace mode
ubuntu@arm1:~/dokku-deployment$ curl https://nextjs-app.dokku.arm1.localhost3002.live
curl: (60) SSL certificate problem: self-signed certificate
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

Output of failing commands after running: dokku trace:on

ubuntu@arm1:~/dokku-deployment$ dokku trace:on
-----> Enabling trace mode
ubuntu@arm1:~/dokku-deployment$ curl https://nextjs-app.dokku.arm1.localhost3002.live
curl: (60) SSL certificate problem: self-signed certificate
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions