
Nishisharma1809 (Community Member) asked a question.
java.net.ConnectException: Connection timed out (Connection timed out)
Getting the above error, while ran a static scan on Jenkins integration with VERACODE.

Nishisharma1809 (Community Member) asked a question.
Getting the above error, while ran a static scan on Jenkins integration with VERACODE.
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.
Hello @Nishisharma1809 (Community Member) ,
Thank you for reaching out to the Community.
May I ask that you please provide the whole error that you're getting back from the Veracode platform? Also as a suggestion please also ask the the question to @Integrations Group to see if they can provide more details on the Jenkins error.
Kind regards,
Steven
Veracode Support Engineer
Hi @Steven D., Veracode Support (Veracode) ,
please find the error.
Ran into problem when generating scan results in Jenkins. Error: [ConnectException, Connection timed out (Connection timed out)]
java.net.ConnectException: Connection timed out (Connection timed out)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.Socket.connect(Socket.java:607)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
at sun.net.www.http.HttpClient$1.run(HttpClient.java:515)
at sun.net.www.http.HttpClient$1.run(HttpClient.java:513)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.http.HttpClient.privilegedOpenServer(HttpClient.java:512)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:553)
at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:203)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1205)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:189)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1340)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1315)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:264)
at com.veracode.http.WebRequestHandlerImpl.makeFormUrlEncodedPostRequest(WebRequestHandlerImpl.java:33)
at com.veracode.http.WebClient.makeRequest(WebClient.java:118)
at com.veracode.http.WebClient.downloadString(WebClient.java:56)
at com.veracode.apiwrapper.wrappers.UploadAPIWrapper.getAppList(UploadAPIWrapper.java:1117)
at com.veracode.apiwrapper.wrappers.UploadAPIWrapper.getAppList(UploadAPIWrapper.java:1082)
at com.veracode.jenkins.plugin.utils.WrapperUtil.getBuildInfo(WrapperUtil.java:78)
at com.veracode.jenkins.plugin.VeracodePipelineRecorder.getScanResults(VeracodePipelineRecorder.java:749)
at com.veracode.jenkins.plugin.VeracodePipelineRecorder.runScanFromRemote(VeracodePipelineRecorder.java:694)
at com.veracode.jenkins.plugin.VeracodePipelineRecorder.perform(VeracodePipelineRecorder.java:315)
at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:80)
at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:67)
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Hi @Nishisharma1809 (Community Member) ,
Thank you for providing these logs. After reviewing them and collaborating with my team. We feel it would be best if you open a support ticket to further investigate this type of error.
To open a ticket with our support team simply click on the link below.
https://community.veracode.com/s/contact-support
Kind regards,
Steven
Veracode Support Engineer