-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Warning into builds pipelines: Use Cipheriv for counter mode of aes-256-ctr #9783
Comments
consume new task lib |
Got the same error using yesterday march 14th and it was related to Azure Resource Group Deployment task. I was using Windows Hosted Agent VS2017 |
Got same error when running ShellScript@2 task here. Any update? |
I'm not sure if it's the same issue, but I am seeing this same warning message printing repeatedly during every single build step of my AppCenter Android and iOS Xamarin projects: (node:1330) Warning: Use Cipheriv for counter mode of aes-256-ctr The reported line number varies quite a bit. I found this thread by googling this warning. Whenever this warning shows up in the build log the build later fails with the error message: ##[error]"{"code":"dependent_service_error","message":"Error: Error: ESOCKETTIMEDOUT"}" For now the solution is to wait a little while (~30 minutes) and then retry the build. Everything usually works after that. This issue pops up once a week or so, but never seems to coincide with any issues reported on the AppCenter status page. |
@lemessur When the build does work, does Currently facing the same issue |
Now that you mention it, I see the warning appearing with the same frequency in logs from recent successful builds. The error I'm seeing might not have anything to do with this warning. The AppCenter Status page (https://status.appcenter.ms/) is now acknowledging some sort of issue with distribution so it's probably being caused by whatever that is. The message was posted there a little over an hour ago, but I started seeing that error (##[error]"{"code":"dependent_service_error","message":"Error: Error: ESOCKETTIMEDOUT"}") around 4 hours ago. At this point I'm thinking that "Warning: Use Cipheriv for counter mode of aes-256-ctr" is some non-fatal issue that Microsoft does not care about (This thread is nearly a year old and there has been no official response) and it has nothing to do with our current build/distribution problems. Edit: The original post links to a page mentioning that the solution is to install a new version of an NPM package, but that isn't relevant at least in my case. The warning is occurring during an AppCenter build on a remote machine where I have no control over the package versions. |
Seeing the same:
|
I can also reproduce this issue. It is arising during the PowerShell task running in
(the script is extremely simple: parse an XML file and set a build variable). |
Warning seen while using the CopyFiles task:
|
The fix here is to move from using |
Hello, @shogerr , @denis-panov ! Could you please provide your organization name from Azure DevOps? This will help us make sure that you receive a bug fix update. |
@anton-erofeev: USNR-EWP. Contact could be @jlidbeck |
Closed due to lack of activity, please feel free to reopen. |
We are still getting these warnings in the logs when building with App Center. (node:5670) Warning: Use Cipheriv for counter mode of aes-256-ctr How do I reopen this bug ticket? |
@microsoft/app-center to make the task update |
We are still getting this issue when deploying an ad-hoc Xamarin app .ipa file to AppCenter using an App Center Deploy task. I've tried re-creating AppCenter token, recreating release task. Gets stuck on |
@nichojo89 I can also confirm the same issue using app-center-distribute version 3.* |
@nichojo89 @johnybaryah I reproduce the warning message on working builds that don't include any of the observations you cited. ObservationsI don't believe this warning message is sufficient to diagnose a single, consistent issue:
I've observed the warning appearing in both Android and iOS builds that successfully completed building as well as running automated UI tests on most (though not 100%) of devices. Repo: https://github.com/microsoft/appcenter-Xamarin.UITest-Demo/ Maybe it still indicates something is wrong, but at the very least, it doesn't seem to be the most informative symptom to focus on by itself. This is also consistent with some past comments on this thread: #9783 (comment) Example logs from passing iOS Build & UITest suiteFrom commit: https://github.com/microsoft/appcenter-Xamarin.UITest-Demo/tree/e775ca618e6d010ed9d320613f15517814990097
Example logs from passing Android build & UITest suiteFrom commit: https://github.com/microsoft/appcenter-Xamarin.UITest-Demo/tree/e775ca618e6d010ed9d320613f15517814990097
|
@King-of-Spades looks like you use old versions of InstallProvisioningProfile and CommandLine tasks - are you using on-prem solution? If so - you need to update it to receive last version of in-the-box pipeline tasks containing a fix for this issue. |
@anatolybolshakov, thank you. I will notify WhiteSource support. |
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days |
When will this be fixed? |
Issue Description
Tasks: Install an Apple provisioning profile, Xcode, PowerShell, Command Line, Shell Script ...
We faced next warning into builds pipelines:
Looks like here is fix for this: nodejs/node#16746 (comment)
Also it’s discussed on the forum: https://developercommunity.visualstudio.com/content/problem/475022/getting-warning-use-cipheriv-on-various-stages-of.html
Is this known issue? Do you plan to fix it?
Environment
Server - Azure Pipelines
Agent - Hosted on MacOS
Task logs
The text was updated successfully, but these errors were encountered: