Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curl error 60 #1785

Open
hamletta opened this issue Jul 21, 2023 · 0 comments
Open

Curl error 60 #1785

hamletta opened this issue Jul 21, 2023 · 0 comments

Comments

@hamletta
Copy link

Description

Problem/feature description...
When running Composer install/update, I get curl error 60 (unable to get local issuer certificate). This only happens in one project; the others on the same computer are working fine.

Steps to reproduce the issue:

  1. On existing project, discard vendor folder and composer.lock file.
  2. Run composer install

Describe the results you received:

In CurlDownloader.php line 365:
                                                                                                                                                   
  curl error 60 while downloading https://xxx.org/site/oauth2/access_token: SSL certificate problem: unable to get local issuer certificate

Describe the results you expected:

I expected the requested packages to be downloaded and installed.

I've tried all the usual troubleshooting steps: restarting fin, restarting Docker, restarting my computer. I've done a whole-project reset, but nothing works. I know a few years ago I had to download a new vhost image or something, but I didn't want to flail around too much.

Another confounding factor: This is a company computer that uses the notoriously piggy zScaler security software. It apparently inserts its own security certificates into various transactions, but I have no idea what that means.

Any suggestions welcome, y'all.

Thanks,
Rebecca

Output of fin config:

fin config output
---------------------
COMPOSE_PROJECT_NAME_SAFE: drupal_elms
COMPOSE_FILE:
/Users/rebeccaluxford/.docksal/stacks/volumes-bind.yml
/Users/rebeccaluxford/.docksal/stacks/stack-default.yml
/Users/rebeccaluxford/Projects/drupal_elms/.docksal/docksal.yml
/Users/rebeccaluxford/.docksal/stacks/overrides-dd-bind.yml
ENV_FILE:
/Users/rebeccaluxford/Projects/drupal_elms/.docksal/docksal.env

PROJECT_ROOT: /Users/rebeccaluxford/Projects/drupal_elms
DOCROOT: web
VIRTUAL_HOST: ofccplms.docksal.site
VIRTUAL_HOST_ALIASES: *.ofccplms.docksal.site
IP: 192.168.64.100

MySQL endpoint: 192.168.64.100:32774
Public URL:

Docker Compose configuration
---------------------
name: drupal_elms
services:
  cli:
    dns:
    - 192.168.64.100
    - 8.8.8.8
    - 192.168.64.100
    - 8.8.8.8
    - 192.168.64.100
    - 8.8.8.8
    environment:
      BLACKFIRE_CLIENT_ID: null
      BLACKFIRE_CLIENT_TOKEN: null
      CLI_IMAGE: docksal/cli:php8.1-3
      COMPOSER_ALLOW_XDEBUG: "0"
      COMPOSER_DEFAULT_VERSION: null
      COMPOSER_DISABLE_XDEBUG_WARN: "0"
      CRON_OFCCPLMS: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      DB_IMAGE: docksal/mysql:5.7
      DOCKSAL_STACK: default
      DOCROOT: web
      DRUSH_ALLOW_XDEBUG: "0"
      DRUSH_OPTIONS_URI: ofccplms.docksal.site
      GIT_USER_EMAIL: luxford_rebecca@bah.com
      GIT_USER_NAME: Rebecca Luxford
      HOST_GID: "20"
      HOST_UID: "501"
      K8S_NAMESPACE: local
      MYSQL_DATABASE: default
      MYSQL_HOST: db
      MYSQL_PASSWORD: user
      MYSQL_PORT_MAPPING: 32774:3306
      MYSQL_ROOT_PASSWORD: root
      MYSQL_USER: user
      PHP_IDE_CONFIG: null
      REDIS_HOST: redis
      REDIS_KEY: redis
      REDIS_PORT: "6379"
      SALT_OFCCPLMS: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      SECRET_ACQUIA_CLI_KEY: null
      SECRET_ACQUIA_CLI_SECRET: null
      SECRET_PLATFORMSH_CLI_TOKEN: null
      SECRET_SSH_PRIVATE_KEY: null
      SECRET_TERMINUS_TOKEN: null
      SSH_AUTH_SOCK: /.ssh-agent/proxy-socket
      VIRTUAL_HOST: ofccplms.docksal.site
      XDEBUG_CONFIG: client_host=192.168.64.1
      XDEBUG_ENABLED: "0"
      XDEBUG_MODE: debug
    extends:
      file: /Users/rebeccaluxford/.docksal/stacks/services.yml
      service: cli
    hostname: cli
    healthcheck:
      interval: 10s
    image: docksal/cli:php8.1-3
    labels:
      io.docksal.shell: bash
      io.docksal.user: docker
    logging:
      options:
        max-file: "10"
        max-size: 1m
    networks:
      default: null
    volumes:
    - type: volume
      source: docksal_ssh_agent
      target: /.ssh-agent
      read_only: true
      volume: {}
    - type: volume
      source: cli_home
      target: /home/docker
      volume: {}
    - type: bind
      source: /tmp/.docksal/drupal_elms
      target: /tmp/.docksal/drupal_elms
      read_only: true
      bind:
        create_host_path: true
    - type: volume
      source: project_root
      target: /var/www
      volume:
        nocopy: true
  db:
    dns:
    - 192.168.64.100
    - 8.8.8.8
    environment:
      CLI_IMAGE: docksal/cli:php8.1-3
      CRON_OFCCPLMS: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      DB_IMAGE: docksal/mysql:5.7
      DOCKSAL_STACK: default
      DOCROOT: web
      K8S_NAMESPACE: local
      MYSQL_ALLOW_EMPTY_PASSWORD: null
      MYSQL_DATABASE: default
      MYSQL_HOST: db
      MYSQL_INITDB_SKIP_TZINFO: null
      MYSQL_ONETIME_PASSWORD: null
      MYSQL_PASSWORD: user
      MYSQL_PORT_MAPPING: 32774:3306
      MYSQL_RANDOM_ROOT_PASSWORD: null
      MYSQL_ROOT_PASSWORD: root
      MYSQL_USER: user
      REDIS_HOST: redis
      REDIS_KEY: redis
      REDIS_PORT: "6379"
      SALT_OFCCPLMS: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      VIRTUAL_HOST: ofccplms.docksal.site
      XDEBUG_ENABLED: "0"
    extends:
      file: /Users/rebeccaluxford/.docksal/stacks/services.yml
      service: mariadb
    hostname: db
    healthcheck:
      interval: 10s
    image: docksal/mysql:5.7
    logging:
      options:
        max-file: "10"
        max-size: 1m
    networks:
      default: null
    ports:
    - mode: ingress
      target: 3306
      published: "32774"
      protocol: tcp
    volumes:
    - type: volume
      source: db_data
      target: /var/lib/mysql
      volume: {}
    - type: volume
      source: project_root
      target: /var/www
      read_only: true
      volume:
        nocopy: true
  mail:
    dns:
    - 192.168.64.100
    - 8.8.8.8
    - 192.168.64.100
    - 8.8.8.8
    extends:
      file: /Users/rebeccaluxford/.docksal/stacks/services.yml
      service: mail
    hostname: mail
    healthcheck:
      interval: 10s
    image: mailhog/mailhog:v1.0.1
    labels:
      io.docksal.cert-name: none
      io.docksal.virtual-host: mail.ofccplms.docksal.site,mail.ofccplms.docksal.site.*
      io.docksal.virtual-port: "8025"
    logging:
      options:
        max-file: "10"
        max-size: 1m
    networks:
      default: null
    volumes:
    - type: volume
      source: project_root
      target: /var/www
      read_only: true
      volume:
        nocopy: true
  redis:
    command:
    - redis-server
    - --requirepass
    - redis
    hostname: redis
    image: wodby/redis:5.0
    networks:
      default: null
    ports:
    - mode: ingress
      target: 6379
      protocol: tcp
    volumes:
    - type: volume
      source: redis_data
      target: /data
      volume: {}
  web:
    depends_on:
      cli:
        condition: service_started
    dns:
    - 192.168.64.100
    - 8.8.8.8
    - 192.168.64.100
    - 8.8.8.8
    - 192.168.64.100
    - 8.8.8.8
    environment:
      APACHE_BASIC_AUTH_PASS: null
      APACHE_BASIC_AUTH_USER: null
      APACHE_DOCUMENTROOT: /var/www/web
      APACHE_FCGI_HOST_PORT: cli:9000
    extends:
      file: /Users/rebeccaluxford/.docksal/stacks/services.yml
      service: apache
    hostname: web
    healthcheck:
      interval: 10s
    image: docksal/apache:2.4-2.5
    labels:
      io.docksal.cert-name: none
      io.docksal.permanent: "false"
      io.docksal.project-root: /Users/rebeccaluxford/Projects/drupal_elms
      io.docksal.virtual-host: ofccplms.docksal.site,*.ofccplms.docksal.site,ofccplms.docksal.site.*
    logging:
      options:
        max-file: "10"
        max-size: 1m
    networks:
      default: null
    volumes:
    - type: volume
      source: project_root
      target: /var/www
      read_only: true
      volume:
        nocopy: true
networks:
  default:
    name: drupal_elms_default
volumes:
  cli_home:
    name: drupal_elms_cli_home
  db_data:
    name: drupal_elms_db_data
  docksal_ssh_agent:
    name: docksal_ssh_agent
    external: true
  project_root:
    name: drupal_elms_project_root
    driver: local
    driver_opts:
      device: /host_mnt/Users/rebeccaluxford/Projects/drupal_elms
      o: bind
      type: none
  redis_data:
    name: drupal_elms_redis_data
---------------------

Output of fin sysinfo:

fin sysinfo output
███  DOCKSAL
Docksal version: v1.18.2
fin version:     v1.113.2

███  OS
Darwin macOS 13.4.1
Darwin C02YJ0M2JGH7 22.5.0 Darwin Kernel Version 22.5.0: Thu Jun  8 22:22:22 PDT 2023; root:xnu-8796.121.3~7/RELEASE_X86_64 x86_64

███  ENVIRONMENT
MODE : Docker Desktop
DOCKER_HOST : 

███  NFS
DOCKSAL_NFS_PATH : /Users

nfsd service is disabled
nfsd is running (pid 2630, 8 threads)

NFS EXPORTS
----------

# <ds-nfs docksal
/Users 127.0.0.1 192.168.64.1 -alldirs -maproot=0:0
# ds-nfs>
----------

Exports list on localhost:
/Users                              127.0.0.1 192.168.64.1

███  DOCKER
Expected client version: 20.10.23
Expected server version: 20.10.23

Installed versions:

Client:
Version:           20.10.23
API version:       1.41
Go version:        go1.18.10
Git commit:        7155243
Built:             Thu Jan 19 17:35:19 2023
OS/Arch:           darwin/amd64
Context:           desktop-linux
Experimental:      true

Server: Docker Desktop 4.20.1 (110738)
Engine:
Version:          24.0.2
API version:      1.43 (minimum version 1.12)
Go version:       go1.20.4
Git commit:       659604f
Built:            Thu May 25 21:52:17 2023
OS/Arch:          linux/amd64
Experimental:     false
containerd:
Version:          1.6.21
GitCommit:        3dce8eb055cbb6872793272b4f20ed16117344f8
runc:
Version:          1.1.7
GitCommit:        v1.1.7-0-g860f061
docker-init:
Version:          0.19.0
GitCommit:        de40ad0

███  DOCKER COMPOSE
Expected version:  2.15.1
Installed version: 2.15.1

███  DOCKSAL: PROJECTS
project        STATUS                      virtual host                                                                                       project root
drupal_elms    Up 4 hours (healthy)        ofccplms.docksal.site,*.ofccplms.docksal.site,ofccplms.docksal.site.*                              /Users/rebeccaluxford/Projects/drupal_elms
dol_d8         Exited (0) 4 hours ago      local-ilab-d8.dol.docksal.site,*.local-ilab-d8.dol.docksal.site,local-ilab-d8.dol.docksal.site.*   /Users/rebeccaluxford/Projects/dol_d8
big-ten        Exited (0) 4 hours ago      big-ten.docksal.site,*.big-ten.docksal.site,big-ten.docksal.site.*                                 /Users/rebeccaluxford/Projects/big-ten
opig3-10       Exited (0) 11 days ago      opig3-10.docksal.site,*.opig3-10.docksal.site,opig3-10.docksal.site.*                              /Users/rebeccaluxford/Projects/opig3-10
examples_mod   Exited (0) 6 weeks ago      examples-mod.docksal.site,*.examples-mod.docksal.site,examples-mod.docksal.site.*                  /Users/rebeccaluxford/Projects/examples_mod
vets           Exited (0) 5 months ago     hirevets.docksal.site,*.hirevets.docksal.site,hirevets.docksal.site.*                              /Users/rebeccaluxford/Projects/vets
opig4          Exited (0) 7 months ago     opig4.docksal.site,*.opig4.docksal.site,opig4.docksal.site.*                                       /Users/rebeccaluxford/Projects/opig4
type           Exited (255) 7 months ago   type.docksal.site,*.type.docksal.site,type.docksal.site.*                                          /Users/rebeccaluxford/Projects/type

███  DOCKSAL: VIRTUAL HOSTS
*.ofccplms.docksal.site
mail.ofccplms.docksal.site.*
mail.ofccplms.docksal.site
ofccplms.docksal.site.*
ofccplms.docksal.site

███  DOCKSAL: NETWORKING

DOCKSAL_IP: 192.168.64.100
DOCKSAL_HOST_IP: 192.168.64.1
DOCKSAL_VHOST_PROXY_IP: 0.0.0.0
DOCKSAL_DNS_IP: 0.0.0.0
DOCKSAL_DNS_DISABLED: 0
DOCKSAL_NO_DNS_RESOLVER: 0
DOCKSAL_DNS_UPSTREAM: 
DOCKSAL_DNS_DOMAIN: docksal.site

███  DOCKSAL: CONNECTIVITY

Host to 192.168.64.100: 	PASS
Container to 192.168.64.100: 	PASS
Container to 192.168.64.1: 	PASS

Checking connectivity to http://dns-test.docksal.site...
Host: PASS
Containers: PASS

███  DOCKER: RUNNING CONTAINERS
CONTAINER ID   IMAGE                     COMMAND                  CREATED        STATUS                 PORTS                                      NAMES
7180d9874688   docksal/ssh-agent:1.4     "docker-entrypoint.s…"   4 hours ago    Up 4 hours (healthy)                                              docksal-ssh-agent
6b90436b3a55   docksal/dns:1.2           "docker-entrypoint.s…"   4 hours ago    Up 4 hours (healthy)   0.0.0.0:53->53/udp                         docksal-dns
9946d9c86620   docksal/vhost-proxy:1.8   "docker-entrypoint.s…"   4 hours ago    Up 4 hours (healthy)   0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp   docksal-vhost-proxy
1c1ae901ac44   docksal/apache:2.4-2.5    "httpd-foreground"       27 hours ago   Up 4 hours (healthy)   80/tcp, 443/tcp                            drupal_elms_web_1
0f7a389620d4   docksal/cli:php8.1-3      "/opt/startup.sh sup…"   27 hours ago   Up 4 hours (healthy)   22/tcp, 3000/tcp, 9000/tcp                 drupal_elms_cli_1
979f228cbbf6   docksal/mysql:5.7         "docker-entrypoint.s…"   2 days ago     Up 4 hours (healthy)   33060/tcp, 0.0.0.0:32774->3306/tcp         drupal_elms_db_1
1d67a1c0ee73   mailhog/mailhog:v1.0.1    "MailHog"                2 days ago     Up 4 hours             1025/tcp, 8025/tcp                         drupal_elms_mail_1
6d31d211864b   wodby/redis:5.0           "/docker-entrypoint.…"   2 days ago     Up 4 hours             0.0.0.0:50186->6379/tcp                    drupal_elms_redis_1

███  DOCKER: NETWORKS
NETWORK ID     NAME                  DRIVER    SCOPE
89a0e7ba4fe2   _default              bridge    local
b0c8c30cb2f1   bridge                bridge    local
d5bc2cc9e532   drupal_elms_default   bridge    local
6ce0649ef11c   host                  host      local
bcaca47a8298   none                  null      local
0649e7af3648   opig3-10_default      bridge    local
2b531a67a399   type_default          bridge    local

███  DOCKER DESKTOP
EXPECTED VERSION: 4.17.0
DETECTED VERSION: 4.20.1

███  HDD Usage
Filesystem       Size   Used  Avail Capacity iused     ifree %iused  Mounted on
/dev/disk1s5s1  466Gi  8.4Gi   55Gi    14%  355382 578554040    0%   /
devfs           188Ki  188Ki    0Bi   100%     650         0  100%   /dev
/dev/disk1s2    466Gi  1.8Gi   55Gi     4%    2537 578554040    0%   /System/Volumes/Preboot
/dev/disk1s4    466Gi  5.0Gi   55Gi     9%       5 578554040    0%   /System/Volumes/VM
/dev/disk1s6    466Gi  8.2Mi   55Gi     1%      17 578554040    0%   /System/Volumes/Update
/dev/disk1s1    466Gi  394Gi   55Gi    88% 4039414 578554040    1%   /System/Volumes/Data
map auto_home     0Bi    0Bi    0Bi   100%       0         0  100%   /System/Volumes/Data/home
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant