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 60 Error running composer install using windows-2016 and PHP 8.0 #511

Closed
3 of 5 tasks
ajrice6713 opened this issue Oct 4, 2021 · 2 comments
Closed
3 of 5 tasks
Assignees
Labels
bug Something isn't working

Comments

@ajrice6713
Copy link

ajrice6713 commented Oct 4, 2021

Describe the bug
On Windows-2016 and PHP 8.0 - seeing a cURL 60 error when running composer install

Loading composer repositories with package information
Error: curl error 60 while downloading https://repo.packagist.org/packages.json: SSL certificate problem: unable to get local issuer certificate

                                                                                                                       
  [Composer\Downloader\TransportException]                                                                             
  curl error 60 while downloading https://repo.packagist.org/packages.json: SSL certificate problem: unable to get lo  
  cal issuer certificate          

Version

  • I have checked releases, and the bug exists in the latest patch version of v1 or v2.
  • v2
  • v1

Runners

  • GitHub Hosted
  • Self Hosted

Operating systems
windows-2016, windows-2019, ubuntu-18.04, ubuntu-20.04

PHP versions
7.4, 8.0

To Reproduce

name: Test
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [windows-2016, windows-2019, ubuntu-18.04, ubuntu-20.04]
        php-version: [7.4, 8.0]
    steps:
    - name: Checkout
      uses: actions/checkout@v2

    - name: Setup PHP
      uses: shivammathur/setup-php@v2
      with:
          php-version: ${{ matrix.php-version }}

    - name: Install Packages
      run: composer install

Expected behavior
PHP & Composer Installed successfully with no cert issues

Screenshots/Logs
https://github.com/Bandwidth/php-sdk/runs/3786499486?check_suite_focus=true

Additional context
Only happening on Windows 2016 and PHP 8.0 - not sure if this is an issue with the PHP setup or the actions runner itself - but any guidance would be appreciated.

Are you willing to submit a PR?

@ajrice6713 ajrice6713 added the bug Something isn't working label Oct 4, 2021
@shivammathur
Copy link
Owner

@ajrice6713
Thanks for reporting this

Fixed in d7c3e33

Please re-run your workflow.

@ajrice6713
Copy link
Author

@shivammathur working great - thanks for the speedy patch!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants