Error creating release vis workflow (_ssl.c:1000) #4746

Closed
opened 2026-02-21 18:07:50 -05:00 by yindo · 4 comments
Owner

Originally created by @bruno5barros on GitHub (Jul 23, 2024).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Use the code below to test it:
name: keyword-releaser
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bruno5barros/custom_action@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: 'FIXED'

✔️ Expected Behavior

Create the release.

Actual Behavior

http: error: SSLError: HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /repos/bruno5barros/github_action/releases?access_token=*** (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))) while doing a POST request to URL: https://api.github.com/repos/bruno5barros/github_action/releases?access_token=***

Originally created by @bruno5barros on GitHub (Jul 23, 2024). ### Self Checks - [X] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### Dify version 0.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce Use the code below to test it: name: keyword-releaser on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: bruno5barros/custom_action@main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: args: 'FIXED' ### ✔️ Expected Behavior Create the release. ### ❌ Actual Behavior http: error: SSLError: HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /repos/bruno5barros/github_action/releases?access_token=*** (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))) while doing a POST request to URL: https://api.github.com/repos/bruno5barros/github_action/releases?access_token=***
yindo added the 🌊 feat:workflow label 2026-02-21 18:07:50 -05:00
yindo closed this issue 2026-02-21 18:07:50 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Jul 23, 2024):

Hello @bruno5barros! I'm here to assist you with bugs, questions, and becoming a contributor. Let's work together to resolve the issue you're facing.

To resolve the SSL certificate verification error when trying to create a release via a GitHub Actions workflow, you can disable SSL verification by setting the GIT_SSL_NO_VERIFY environment variable to true in your workflow. Here is how you can modify your workflow to include this step:

name: keyword-releaser
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Disable SSL verification
        run: |
          git config --global http.sslVerify false
          export GIT_SSL_NO_VERIFY=true
      - uses: bruno5barros/custom_action@main
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          args: 'FIXED'

This addition will disable SSL verification globally for Git operations within the workflow, which should resolve the SSL certificate verification error [1].

To continue talking to Dosu, mention @dosu.

@dosubot[bot] commented on GitHub (Jul 23, 2024): <!-- Greeting --> Hello @bruno5barros! I'm here to assist you with bugs, questions, and becoming a contributor. Let's work together to resolve the issue you're facing. <!-- Answer --> To resolve the SSL certificate verification error when trying to create a release via a GitHub Actions workflow, you can disable SSL verification by setting the `GIT_SSL_NO_VERIFY` environment variable to `true` in your workflow. Here is how you can modify your workflow to include this step: ```yml name: keyword-releaser on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Disable SSL verification run: | git config --global http.sslVerify false export GIT_SSL_NO_VERIFY=true - uses: bruno5barros/custom_action@main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: args: 'FIXED' ``` This addition will disable SSL verification globally for Git operations within the workflow, which should resolve the SSL certificate verification error <sup>[[1]](https://github.com/langgenius/dify/blob/main/.github/workflows/build-push.yml)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
Author
Owner

@bruno5barros commented on GitHub (Jul 23, 2024):

Hello @bruno5barros! I'm here to assist you with bugs, questions, and becoming a contributor. Let's work together to resolve the issue you're facing.

To resolve the SSL certificate verification error when trying to create a release via a GitHub Actions workflow, you can disable SSL verification by setting the GIT_SSL_NO_VERIFY environment variable to true in your workflow. Here is how you can modify your workflow to include this step:

name: keyword-releaser
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Disable SSL verification
        run: |
          git config --global http.sslVerify false
          export GIT_SSL_NO_VERIFY=true
      - uses: bruno5barros/custom_action@main
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          args: 'FIXED'

This addition will disable SSL verification globally for Git operations within the workflow, which should resolve the SSL certificate verification error [1].

To continue talking to Dosu, mention @dosu.

done that, but the issue is not solved.

name: keyword-releaser
on: [push]
jobs:
    build:
        runs-on: ubuntu-latest
        steps:
            - uses: actions/checkout@v4
            - name: Disable SSL verification
              run: |
                git config --global http.sslVerify false
                export GIT_SSL_NO_VERIFY=true
            - uses: bruno5barros/custom_action@main
              env:
                GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
              with:
                args: 'FIXED'

Error message: http: error: SSLError: HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /repos/bruno5barros/github_action/releases?access_token=*** (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))) while doing a POST request to URL: https://api.github.com/repos/bruno5barros/github_action/releases?access_token=***

@bruno5barros commented on GitHub (Jul 23, 2024): > Hello @bruno5barros! I'm here to assist you with bugs, questions, and becoming a contributor. Let's work together to resolve the issue you're facing. > > To resolve the SSL certificate verification error when trying to create a release via a GitHub Actions workflow, you can disable SSL verification by setting the `GIT_SSL_NO_VERIFY` environment variable to `true` in your workflow. Here is how you can modify your workflow to include this step: > > ```yaml > name: keyword-releaser > on: [push] > jobs: > build: > runs-on: ubuntu-latest > steps: > - uses: actions/checkout@v4 > - name: Disable SSL verification > run: | > git config --global http.sslVerify false > export GIT_SSL_NO_VERIFY=true > - uses: bruno5barros/custom_action@main > env: > GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} > with: > args: 'FIXED' > ``` > > This addition will disable SSL verification globally for Git operations within the workflow, which should resolve the SSL certificate verification error [[1]](https://github.com/langgenius/dify/blob/main/.github/workflows/build-push.yml). > > _To continue talking to [Dosu](https://dosu.dev), mention @dosu._ done that, but the issue is not solved. ``` name: keyword-releaser on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Disable SSL verification run: | git config --global http.sslVerify false export GIT_SSL_NO_VERIFY=true - uses: bruno5barros/custom_action@main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: args: 'FIXED' ``` Error message: http: error: SSLError: HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /repos/bruno5barros/github_action/releases?access_token=*** (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))) while doing a POST request to URL: https://api.github.com/repos/bruno5barros/github_action/releases?access_token=***
Author
Owner

@dosubot[bot] commented on GitHub (Jul 23, 2024):

If disabling SSL verification did not resolve the issue, you might need to ensure that the SSL certificates on your runner are correctly configured. Here are a few additional steps you can try:

  1. Install CA Certificates: Ensure that the CA certificates are installed on the runner. You can add a step to install them:
name: keyword-releaser
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Install CA certificates
        run: sudo apt-get install -y ca-certificates
      - name: Disable SSL verification
        run: |
          git config --global http.sslVerify false
          export GIT_SSL_NO_VERIFY=true
      - uses: bruno5barros/custom_action@main
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          args: 'FIXED'
  1. Set CURL_CA_BUNDLE Environment Variable: Sometimes setting the CURL_CA_BUNDLE environment variable to an empty string can help bypass SSL verification issues:
name: keyword-releaser
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Disable SSL verification
        run: |
          git config --global http.sslVerify false
          export GIT_SSL_NO_VERIFY=true
          export CURL_CA_BUNDLE=""
      - uses: bruno5barros/custom_action@main
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          args: 'FIXED'
  1. Check Proxy Settings: If your runner is behind a proxy, ensure that the proxy settings are correctly configured. You can set the http_proxy and https_proxy environment variables:
name: keyword-releaser
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Set proxy settings
        run: |
          export http_proxy=http://your-proxy:port
          export https_proxy=http://your-proxy:port
      - name: Disable SSL verification
        run: |
          git config --global http.sslVerify false
          export GIT_SSL_NO_VERIFY=true
      - uses: bruno5barros/custom_action@main
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          args: 'FIXED'

Try these steps and see if they resolve the SSL certificate verification error.

To continue talking to Dosu, mention @dosu.

@dosubot[bot] commented on GitHub (Jul 23, 2024): <!-- Answer --> If disabling SSL verification did not resolve the issue, you might need to ensure that the SSL certificates on your runner are correctly configured. Here are a few additional steps you can try: 1. **Install CA Certificates**: Ensure that the CA certificates are installed on the runner. You can add a step to install them: ```yaml name: keyword-releaser on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Install CA certificates run: sudo apt-get install -y ca-certificates - name: Disable SSL verification run: | git config --global http.sslVerify false export GIT_SSL_NO_VERIFY=true - uses: bruno5barros/custom_action@main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: args: 'FIXED' ``` 2. **Set `CURL_CA_BUNDLE` Environment Variable**: Sometimes setting the `CURL_CA_BUNDLE` environment variable to an empty string can help bypass SSL verification issues: ```yaml name: keyword-releaser on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Disable SSL verification run: | git config --global http.sslVerify false export GIT_SSL_NO_VERIFY=true export CURL_CA_BUNDLE="" - uses: bruno5barros/custom_action@main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: args: 'FIXED' ``` 3. **Check Proxy Settings**: If your runner is behind a proxy, ensure that the proxy settings are correctly configured. You can set the `http_proxy` and `https_proxy` environment variables: ```yaml name: keyword-releaser on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Set proxy settings run: | export http_proxy=http://your-proxy:port export https_proxy=http://your-proxy:port - name: Disable SSL verification run: | git config --global http.sslVerify false export GIT_SSL_NO_VERIFY=true - uses: bruno5barros/custom_action@main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: args: 'FIXED' ``` Try these steps and see if they resolve the SSL certificate verification error. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
Author
Owner

@crazywoola commented on GitHub (Jul 23, 2024):

This is not relevant to dify itself.

@crazywoola commented on GitHub (Jul 23, 2024): This is not relevant to dify itself.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#4746