Issue with api/rules/search when trying to run analysis through VS

I am trying to run a scan on a .Net Core project i have been working on. When i ran the first scan it worked as expected and a report was created however after i made some changes and attempted to run the process again using the same commands, it fails sonarscanner begin step due to the api/rules/search call being made by the api. It runs using the following:
api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=AYR_vkccJyECsrxRrY8v&p=1

And returns a Error 502. If i alter the URL in a browser to remove the ps=500 or change it to be a lower value like 100 it will return the response.

Is it possible to change this anywhere in the SonarQube configuration / interface to either remove the ps=500 or edit the figuire as at the moment i cannot run scans?

Hi,

Welcome to the community!

To be clear, these were code changes, not pipeline changes, right? :sweat_smile:

What do your server logs say?

 
Ann

Hi Ann,

The changes were code changes made after reviewing the scan results from the first run. We didn’t make any changes to the pipeline.

We have reviewed the servers but it doesn’t make any reference to the 502 error we are recieving as it is saying the process is timing out when we try to run the command through the terminal in VS / attempt to access the URL through the browser. If we access the site through the localhost:90000 in the server where our instance is hosted, it will load the contents of the query

Hi,

This has all the hallmarks of something “helpful” on the network. I think you should talk to your network folks.

 
HTH,
Ann