• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

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

New Here ,
Sep 22, 2020 Sep 22, 2020

Copy link to clipboard

Copied

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 ??

TOPICS
PDF Services API

Views

616

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 24, 2020 Sep 24, 2020

Copy link to clipboard

Copied

What exactly were you trying to do?

 

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

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 08, 2020 Dec 08, 2020

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 01, 2022 Dec 01, 2022

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 02, 2022 Dec 02, 2022

Copy link to clipboard

Copied

LATEST

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.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources