Comments (13)
Seems to be working again now. Thank you for the efficient support!
from azure-devops-create-pr-task.
Hi, can you share the full log?
from azure-devops-create-pr-task.
I'm getting the same error since yesterday (version 1.2.357).
2023-06-08T07:22:17.1002661Z ##[section]Starting: Create Translations Pull Request
2023-06-08T07:22:17.1107874Z ==============================================================================
2023-06-08T07:22:17.1107996Z Task : Create Pull Request
2023-06-08T07:22:17.1108054Z Description : Automatically create a Pull Request for Azure DevOps or GitHub repository from Build or Release pipeline, supports also multi target branch.
2023-06-08T07:22:17.1108215Z Version : 1.2.357
2023-06-08T07:22:17.1108279Z Author : Shayki Abramczyk
2023-06-08T07:22:17.1108807Z Help : More Information
2023-06-08T07:22:17.1108927Z ==============================================================================
2023-06-08T07:22:18.0476380Z The repository is: MyRepo
2023-06-08T07:22:18.0486049Z The Source Branch is: refs/heads/ops/cxxxxx
2023-06-08T07:22:18.0493462Z The Target Branch is: refs/heads/yyyyy
2023-06-08T07:22:18.0502640Z The Title is: New Translations
2023-06-08T07:22:18.0511114Z The Description is: New translations from Crowdin
2023-06-08T07:22:18.0519528Z Is Reviewers are: xxxxxxxx
2023-06-08T07:22:18.0527616Z The tags are:
2023-06-08T07:22:18.0568729Z Is Draft Pull Request: False
2023-06-08T07:22:18.0577342Z Auto-Complete: True
2023-06-08T07:22:18.0585636Z Link Work Items: True
2023-06-08T07:22:18.0593716Z Bypass: False
2023-06-08T07:22:18.0602059Z Bypass Reason:
2023-06-08T07:22:18.0610087Z DeleteSourceBranch ist set to: True
2023-06-08T07:22:18.4014154Z AlwaysCreatePr flag is false. A PR will only be created if there are actual file changes, but not if there is only a difference in commits.
2023-06-08T07:22:18.4076599Z 1 new commits! File changes were found! Perform a Pull Request...
2023-06-08T07:22:19.2079811Z ##[error]The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
2023-06-08T07:22:19.2395631Z ##[section]Finishing: Create Translations Pull Request
from azure-devops-create-pr-task.
Are you behind a proxy?
from azure-devops-create-pr-task.
Nope, just running plain ms hosted azure devops/pipelines on my repo hosted in the same azure devops project
from azure-devops-create-pr-task.
It's Azure DevOps in the cloud or Azure DevOps Server on prem?
from azure-devops-create-pr-task.
Hosted by ms (in the cloud). I really need my pipelines to go through now. Is there a workaround you know of? Can I force the previous version?
from azure-devops-create-pr-task.
Can you run it with diagnostic enabled and share the logs? I tests the new version and it working for me, I want to see where is the exact issue.
from azure-devops-create-pr-task.
I will try, but I would really appreciate it if you have a way to revert to previous version for now since I urgently need my pipelines to run now.
from azure-devops-create-pr-task.
If I will revert iI won't be able to debug it... anyway, can you try remove the reviewers?
from azure-devops-create-pr-task.
before removing the reviewers:
##[debug]Invoke-RestMethod : The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
##[debug]At D:\a\_tasks\CreatePullRequest_2f159376-316b-4652-a49c-392f9d534113\1.2.357\createPullRequest.ps1:754 char:27
##[debug]+ ... dentities = Invoke-RestMethod -Uri $url -Method Get -ContentType appl ...
##[debug]+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
##[debug] + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc eption
##[debug] + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
##[debug]
##[debug]Script stack trace:
##[debug]at GetReviewerId, D:\a\_tasks\CreatePullRequest_2f159376-316b-4652-a49c-392f9d534113\1.2.357\createPullRequest.ps1: line 754
##[debug]at CreateAzureDevOpsPullRequest, D:\a\_tasks\CreatePullRequest_2f159376-316b-4652-a49c-392f9d534113\1.2.357\createPullRequest.ps1: line 505
##[debug]at CreatePullRequest, D:\a\_tasks\CreatePullRequest_2f159376-316b-4652-a49c-392f9d534113\1.2.357\createPullRequest.ps1: line 180
##[debug]at RunTask, D:\a\_tasks\CreatePullRequest_2f159376-316b-4652-a49c-392f9d534113\1.2.357\createPullRequest.ps1: line 126
##[debug]at <ScriptBlock>, D:\a\_tasks\CreatePullRequest_2f159376-316b-4652-a49c-392f9d534113\1.2.357\createPullRequest.ps1: line 966
##[debug]at <ScriptBlock>, <No file>: line 1
##[debug]at <ScriptBlock>, <No file>: line 22
##[debug]at <ScriptBlock>, <No file>: line 18
##[debug]at <ScriptBlock>, <No file>: line 1
##[debug]Exception:
##[debug]System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
##[debug] at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
##[debug] at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
##[debug] --- End of inner exception stack trace ---
##[debug] at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.GetResponse(WebRequest request)
##[debug] at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.ProcessRecord()
##[error]The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
##[debug]Processed: ##vso[task.logissue type=error]The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
##[debug]Processed: ##vso[task.complete result=Failed]
Finishing: Create Translations Pull Request
from azure-devops-create-pr-task.
and works when removing reviewers
from azure-devops-create-pr-task.
I've updated the extension, can you try now? (version 1.2.359)
from azure-devops-create-pr-task.
Related Issues (20)
- Reviewer Id is empty when the $body is constructed. HOT 7
- Add option to use pullrequest template HOT 3
- Can we use this task for Create a PR on Bitbucket? HOT 2
- Does not work under Linux x64 agent HOT 1
- Running Task in self-managed agent behind a Proxy HOT 6
- Getting 403 Forbidden in the CreatePullRequestTask HOT 1
- Set the creator of the PR to the author of the commit instead of the Build Service User HOT 2
- Wildcard support in targetBranch HOT 7
- Create PR by other user than "project collection build service" HOT 9
- Running on Azure windows-latest agent pool still task is failing HOT 2
- Enhancement - Add work item via ID/URL HOT 1
- Automatically complete PR HOT 1
- 400 Bad Request to bypass PR policies HOT 4
- Feature request: add support for git tags
- Is "deleteSourch" a typo? HOT 1
- Version 1.2.363 breaks pipeline for branch with forward slash HOT 3
- Can't set Auto Complete to PR HOT 2
- Error (404) Not Found when adding reviewers on my PR (Azure DevOps) HOT 6
- alwaysCreatePr does not work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-devops-create-pr-task.