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

The request was aborted: Could not create SSL/TLS secure channel. #22

Open
renemadsen opened this issue Feb 28, 2018 · 7 comments
Open

Comments

@renemadsen
Copy link

2018-02-28T10:05:00.9817162Z ##[debug]Error when publishing release: System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.

I guess the issue is related to octokit/octokit.net#1756 ?

@playmer
Copy link

playmer commented Mar 4, 2018

We cloned the project, updated octokit (they released a patch about a week after merging the fix to the above issue), and dropped the new binaries on our agent and it seemed to fix it.

jakobehn added a commit that referenced this issue Mar 15, 2018
@jakobehn
Copy link
Owner

Updated octokit to 0.29.0 and published a new version of the task (0.11.2). Thanks for the report

@renemadsen
Copy link
Author

Thanks for the update, but I don't know if this error is related:

image

If it's related to the URL being wrong, then it must be broken parameters, but I don't know how to debug these extensions.

@jakobehn
Copy link
Owner

Hmm, I don't see any problem with my test builds, I just reran them with the latest version of the task. Mot likely is that your GitHub repo information is not correct, giving you a 404 when trying to publish the release

@renemadsen
Copy link
Author

Is it possible to get the url it's trying to do a post to?

According to https://developer.github.com/v3/repos/releases/#create-a-release it should be
/repos/:owner/:repo/releases

which in this case is /repos/microting/eform-windows-service/releases

is it not going to be constructed by the fields:
image

Then there is the token, but shouldn't give an 403 instead?

@jakobehn
Copy link
Owner

Actually, GitHub/octokit return 404 even if the token is incorrect/not valid. Just tried this. Can you try and generate a new token, maybe the token has expired?

@renemadsen
Copy link
Author

I tried with a new token and still the same result.
It could be great to either see the URL it's trying to post too.

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

3 participants