I started getting the following error after octopus cloud got migrated to new infra structure when trying to fetch nuget package from azuredevops server artifacts.
Unable to load the service index for source http://***********:8080/tfs/DefaultCollection/_packaging/Enterprise/nuget/v3/index.json. GSSAPI operation failed with error - An invalid status code was supplied (Unknown error).
The same was working before the migration. I also check the credentials all looks fine.
When I google the error message I found the following 2 links which complaining about Linux container issue.
Have you tried the solution suggested in the links you provided?
Looks like it’s trying to use NTLM authentication, which (unless special configuration is done on linux) won’t work. I don’t know this exact error (the NuGet project on GitHub may be able to provide better guidance), but you should be able to solve the issue by preventing NuGet from attempting NTLM authentication.
If you still need NTLM on Windows (which is probably likely), you may need to add this to a different nuget.config such as the user or computer-level config - see https://docs.microsoft.com/en-us/nuget/consume-packages/configuring-nuget-behavior#nuget-defaults-file for details.
But this used to work perfectly a week ago. I already check out TFS server setting and nothing has changed since last week so I am sure there is something not configured properly on the octopus cloud server. Can you please check this once.
Thanks for the help. I am in a process to get approval from our infra team to see if I can change the setting on the TFS server but to get this done I will have to give them a reason why we need this change. Also changing this will take a bit of time as we will have to make sure non of our other service should face issues with the new settings.
I’ve just tested this using an on-prem Azure DevOps setup and having issues getting it to authenticate, so it may only work for Cloud.
This would explain the issue you’re encountering though, the username/password is likely needing to use NTLM auth, which our containers may not have. So hopefully that fix will get it working for you again.
I tried the above and I am also getting authentication issue.
Unable to load the service index for source http://**********:8080/tfs/DefaultCollection/_packaging/Enterprise/nuget/v3/index.json. NTLM authentication is not possible with default credentials on this platform.
My external feed setting already had user name and password which was being used to authenticate succussfully but that is also throwing error.
I am waiting for infra team to update the server setting so I can try this once. But mean while can you check with your cloud specialist team to see if there is any work around.