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

Error: request to https://api.github.com/repos/xxx/check-runs failed, reason: tunneling socket could not be established, statusCode=407 #91

Open
liu-shaojun opened this issue Aug 16, 2022 · 1 comment

Comments

@liu-shaojun
Copy link

Hi experts,
I'm running job in the self-hosted runners, when I use scacap/action-surefire-report@v1 to publish report, I always get the error Error: request to https://api.github.com/repos/intel-analytics/BigDL/check-runs failed, reason: tunneling socket could not be established, statusCode=407 https://github.com/intel-analytics/BigDL/runs/7790266534?check_suite_focus=true

    - name: Publish Test Report
      if: ${{ always() }}
      uses: scacap/action-surefire-report@v1
      with:
        check_name: Example mvn Report
        report_paths: scala/dllib/target/surefire-reports/*.xml

image

I tried to add env to set the proxy then I got Error: request to https://api.github.com/repos/intel-analytics/BigDL/check-runs failed, reason: connect ETIMEDOUT 140.82.114.6:443 https://github.com/intel-analytics/BigDL/runs/7836407257?check_suite_focus=true

    - name: Publish Test Report
      env:
        https_proxy: http://xxx.com:913
        http_proxy: http://xxx.com:913
        no_proxy: api.github.com
      if: ${{ always() }}
      uses: scacap/action-surefire-report@v1
      with:
        check_name: Example mvn Report
        github_token: ${{ secrets.GITHUB_TOKEN }}
        report_paths: scala/dllib/target/surefire-reports/TEST*.xml

image

Where could the problem be?

@dmitrijrub
Copy link

@liu-shaojun did you managed to solve this?

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

2 participants