WorkerExtensions.csproj : error NU1301: Unable to load the service index for source...
WorkerExtensions.csproj was trying to access our private feed, hence it did not have the permissions to do so encountered the above error.
How can it be resolved?
Nuget.exe sources update -Name “xxpackages” -UserName xxx -Password token
by running the above command in the package console, I successfully managed to resolve this error.
Related
Locally, I am able to successfully authorize and pull modules from my private Nexus registry (.npmrc file).
However on Jenkins I get
error An unexpected error occurred: "https://myprivaterepo.com/myprivatemodule.tgz: Request failed \"401 Unauthorized\"".
When I run npm whoami on Jenkins it returns a valid user. npm config ls prints valid configuration as well.
The problem started to occur when I changed myprivaterepo url (we've migrated it). Is there something I don't know (ie. I have to logout/login again or there's some cache in Jenkins)??
Thanks in advance!
When I try to run my gitlab-ci.yml, I got this error ?
Has anyone have any idea?
Thank you
The Error: mkdir command fails.
mkdir is a Linux/iOS command that creates a new directory.
When it throws the error:
Permission denied
it tells that the user running that command (the user executing the script or running the process) has no rights to create a directory in
/Users/nawinpoolsawad/builds/pxKER6-V/0/bitnance-exchange/exchange-ios.tmp
To fix the issue, change permission of the directory /Users/nawinpoolsawad/builds/pxKER6-V/0/bitnance-exchange/ and its parents or execute that application/script with another user (eg root).
Can anyone tell me why i am getting this error while trying to run this command and assign a custom role "Secret Reader" to a guest account Object Id :
az role assignment create --role "Secret Reader" --assignee-object-id "12526c57-c91b-405b-9068-2b582b23e83a" --scope "/subscriptions/Not-putting this-here/resourceGroups/pallabdev/providers/Microsoft.KeyVault/vaults/testhalvault"
The error i get is :
request failed: Error occurred in request., InvalidSchema: No connection adapters were found for 'C:/Program Files/Git/subscriptions/Not-Putting-This-Here/resourceGroups/pallabdev/providers/Microsoft.KeyVault/vaults/testhalvault/providers/Microsoft.Authorization/roleDefinitions?$filter=roleName%20eq%20%27Secret%20Reader%27&api-version=2018-01-01-preview'
From the error message, I suppose you ran the command in Git Bash of Windows, I can also reproduce this on my side, it was caused by the Auto-translation of Resource IDs in Git Bash, similar issue here.
To solve this issue, just set environment variable MSYS_NO_PATHCONV=1 or set it temporarily when you running the command.
$ MSYS_NO_PATHCONV=1 az role assignment create --role "Secret Reader" --assignee-object-id "12526c57-c91b-405b-9068-2b582b23e83a" --scope "/subscriptions/Not-putting this-here/resourceGroups/pallabdev/providers/Microsoft.KeyVault/vaults/testhalvault"
I had the same problem and I simply ran the command using the Windows powershell instead of Gitbash and it worked like a charm.
I am trying to install a Jenkins agent in a Test machine for Automation and on Generating an SSH key pair,when I hit on ssh-keygen -f ~/.ssh/jenkins_agent_key in a Terminal Window,I get to enter a Passphase.
Once,I have entered and re-entered the Passphase,I get the error message :
Saving key "~/.ssh/jenkins_agent_key" failed: No such file or directory
I have checked in the Windows 10 machine and it does have the OpenSSH Client and OpenSSH Server installed.
Can anyone please help me to go through why I am getting this error?
Using this Link for reference for Installing the Jenkins Agent : https://www.jenkins.io/doc/book/using/using-agents/
I got it working by hitting ssh-keygen in the Command Prompt and the Private and Public key did get generated
I am trying to run below command in shell script but i am getting error like:
Error: Could not find or load main class weblogic.Admin
${SUN_JAVA_HOME}/bin/java -classpath $CLASSPATH weblogic.Admin -url t3://localhost:7001 -username weblogic -password weblogic123 PING
Can anyone comment on it
This is a known error. Admin has been removed in weblogic 12.2.1.
you may use wlst to try connecting to the Admin server.