
MAguero641070 (Community Member) asked a question.
[20.09.17 XX:XX:XX] Error writing request body to server
Error- Returned code from wrapper:2

MAguero641070 (Community Member) asked a question.
[20.09.17 XX:XX:XX] Error writing request body to server
Error- Returned code from wrapper:2
Hello @MAguero641070 (Community Member) ,
I would check the basics to make sure everything is setup properly like the credentials are valid, is there a proxy in the network path, etc. Also, what were you trying to do exactly and what were the parameters to the wrapper?
Jason
Community Support Engineer

Hello @Jason M., Veracode Support (Veracode)
These verifications are performed and changed by the service user, there is no proxy on the network, there is no firewall blocking, etc. the plugin parameters are the same that I have been using for a year.
Warm regards!
Hello @MAguero641070 (Community Member) ,
I am going to need more information if I am going to assist you. Can you please let me know which wrapper are you using? What action are you attempting to do? Any other additional information would be most helpful.
Jason
Community Support Engineer

Jason, thank you for your prompt reply! Sorry for my somewhat ambiguous answer. This is the java wrapper log, which is the one we use with the CloudBees plugin.
Invoking the following command in remote workspace:
$ java -jar /app/jenkins/int-master01-agent/veracode-jenkins-plugin/VeracodeJavaAPI.jar -action UploadAndScan -vid **** -vkey ******** -scantimeout 180 -appname XXXXXXX -createprofile false -criticality VeryHigh -sandboxname XXXX-XXXXXXX-int_XXXXXX-web -createsandbox true -version XXXXXXX-web_1.0.5_1600698348837.zip -autoscan true -maxretrycount 5 -filepath /app/jenkins/int-master01-agent/workspace/XXXXXXX-int/XXXX-XXXX-int-XXXXXXX-web2int/XXXXXX-web_1.0.5_1600698348837.zip -useragent "VeracodeJenkinsPlugin/20.2.6.1 (Jenkins/2.235.2.3; Java/1.8.0_242)"
It seems that the issue was looked at by Veracode Support and it was caused by using CloudBees Jenkins Enterprise and was resolved by two ways.
Jason
Community Support Engineer
Ask the Community
Get answers, share a use case, discuss your favorite features, or get input from the community.
By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts.
.png)
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.
It seems that the issue was looked at by Veracode Support and it was caused by using CloudBees Jenkins Enterprise and was resolved by two ways.
Jason
Community Support Engineer