-
Notifications
You must be signed in to change notification settings - Fork 61
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
Response status code does not indicate success: 500 (Internal Server Error) #248
Comments
@nunzo-dev, |
@nunzo-dev,
Recently, JFrog CLI started using the NuGet V3 endpoing by default. Notice the /v3/ part in all the download URLs in the build log. It appears that there's an issue with fetching this package through the v3 endpoint. Maybe we should add support for reverting to the /v2 endpoint - please let me know what you think. As a temporary workaround, you can force the Azure DevOps extension to use an older version for JFrog CLI. You can try using version 1.41.2. To do this, you'll need to use the Artifactory Tools Installer task, and set 1.41.2 as the customer version. Note that you'll need to configure an Artifactory repository to fetch the customer version. You can read more about the steps to od this here Let me know what you think. |
Hello, We cant change the jfrog-cli version with the "Artifactory Tools Installer" task because the artifactory nuget task automatically download the last version and dont use the version of the Artifactory Tools Installer task .. And this is not at us to decide what u have to do .. Please just make a correction very quickly, we have some releases that depend on these pipelines and it is very very critical on our side ! |
@nunzo-dev, |
I can confirm that the workaround works. |
Glad to hear this @nunzo-dev! |
Hello, |
I understand the challenge @bcouavoux and we'd like to assist. Would exposing an environment variable that will be read by jfrog-cli and set v2 as the default help? You'll be able to set it on all of your build agents. |
@eyalbe4 , we have several agents pool with a lot of agent and the problem is also present on Microsoft hosted agent where we dont have control on environement variable on it. We can't do what you suggest. There is something that i don't understand. Is this a problem with the configuration on our side for v3 nuget compatibility or is the problem is on your side ?
|
Please re open the ticket, the answers given did not help us and we are in critical issue on our side |
The issue was closed by mistake @bcouavoux. Sorry about that. |
Just to hop on to this issue: I also suddenly have the same problem:
This started happening a few hours ago, after the "JFrog Artifactory" Azure DevOps Server plugin was automatically updated from 1.11.8 to 1.12.0. It worked without problems a few hours before that. It has taken the better part of the day to figure out what was going wrong and find this GitHub issue. I can understand people wanting it to default to v3, but I don't have the time to currently update all pipelines or to try debugging the issue. But all our pipelines are currently failing. Isn't there a workaround that we can just revert the change and only reintroduce it when there is a fallback available (or when I have time to debug the issue in a separate test pipeline without blocking all developers). |
We tested with jfrog-cli on local and we have same error than our pipeline and with the --nuget-v2 parameters, no error. Jfroc-cli : 1.47.1 |
All - |
Thank you! For completeness, I can also confirm the old version works: I tested on a single test build agent, where I created a I'm curious what goes wrong on v3 and what we can do to fix this. But for now I'm glad with setting v2 as the default so the existing pipelines will work again on the existing build agents. |
This PR sets NuGet protocol v2 as the default, and allows selecting v3 - #250 |
Version 1.12.1 with the above fix is released. |
@Thacai, |
@eyalbe4 I tested the new 1.12.1 version on a couple of our pipelines and they all seem to work correctly now. Thank you for the quick response! |
We are testing this version 1.12.1 and it solves the problem for some pipelines, we will stay in observation until we get more data |
@eyalbe4 |
Happy to hear this @mightyjay and @nunzo-dev - thanks for confirming! |
Hi @nunzo-dev , |
Hi @nunzo-dev , |
Hello RobiNino, Indeed that solves the problem! Thanks! |
Thanks for the feedback @nunzo-dev , |
Hello,
I would like to contact you because we have a new problem. On azure devops during the task "artifactory nuget restore" we encounter an error:
"Response status code does not indicate success: 500 (Internal Server Error)."
Which makes the pipeline fail.
This seems to be related to the update of the task to 1.12.0 a few hours ago
The text was updated successfully, but these errors were encountered: