Skip to main content
Participant
September 23, 2020
Question

PDF tools SDK node.js: ERROR Unexpected Error, request could not be completed Error: socket hang up

  • September 23, 2020
  • 2 replies
  • 1421 views

2020-09-23T12:04:24.512:[INFO]: All validations successfully done. Beginning Insert Pages Operation execution
Exception encountered while executing operation ServiceApiError: request timed out, 10 seconds expired
at ClientRequest.<anonymous> (...\PDFToolsSDK-Node.jsSamples\adobe-dc-pdf-tools-sdk-node-samples\src\node_modules\@adobe\documentservices-pdftools-node-sdk\src\internal\http\http-client.js:272:13)
at ClientRequest.emit (events.js:314:20)
at TLSSocket.emitRequestTimeout (_http_client.js:769:9)
at Object.onceWrapper (events.js:420:28)
at TLSSocket.emit (events.js:326:22)
at TLSSocket.Socket._onTimeout (net.js:482:8)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7) {
requestTrackingId: undefined,
statusCode: 0
}
2020-09-23T12:04:36.245:[ERROR]: Unexpected Error, request could not be completed Error: socket hang up

 

Somebody help me ??

This topic has been closed for replies.

2 replies

Participating Frequently
December 8, 2020

Thanks for reaching out to us @haha5F8B , the socket hang up error occurs when the network connection is slow or intermittent at the client side, We would request you to try again with same file and let us know if the problem persists.

Participant
December 2, 2022

The error still persists for me, and I am just straight up running the sample code for combining pdfs without modification.

Raymond Camden
Community Manager
Community Manager
December 2, 2022

Right but if your sample is out of date, that could be a problem. "PDF Tools" was renamed to "PDF Services" a while ago, hence the warning you may have older code.

ls_rbls
Community Expert
Community Expert
September 24, 2020

What exactly were you trying to do?

 

Also, is the problem persisting after you've updated your SDK?