René's URL Explorer Experiment


Title: Consistent socket hang up errors · Issue #68 · ConvertAPI/convertapi-library-node · GitHub

Open Graph Title: Consistent socket hang up errors · Issue #68 · ConvertAPI/convertapi-library-node

X Title: Consistent socket hang up errors · Issue #68 · ConvertAPI/convertapi-library-node

Description: Unfortunately the library has become broken, as it seems that any large file will result in a "socket hang up" error. Observe an errored request below. I think the solution involves setting Axios options around keep-alive. But there is n...

Open Graph Description: Unfortunately the library has become broken, as it seems that any large file will result in a "socket hang up" error. Observe an errored request below. I think the solution involves setting Axios o...

X Description: Unfortunately the library has become broken, as it seems that any large file will result in a "socket hang up" error. Observe an errored request below. I think the solution involves setti...

Opengraph URL: https://github.com/ConvertAPI/convertapi-library-node/issues/68

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Consistent socket hang up errors","articleBody":"Unfortunately the library has become broken, as it seems that any large file will result in a \"socket hang up\" error. Observe an errored request below.\r\n\r\nI think the solution involves setting Axios options around keep-alive. But there is no way to pass Axios options...\r\n\r\n```\r\nError: socket hang up\r\n\u003cref *2\u003e Writable {\r\n  _writableState: WritableState {\r\n    objectMode: false,\r\n    highWaterMark: 16384,\r\n    finalCalled: false,\r\n    needDrain: false,\r\n    ending: false,\r\n    ended: false,\r\n    finished: false,\r\n    destroyed: false,\r\n    decodeStrings: true,\r\n    defaultEncoding: 'utf8',\r\n    length: 0,\r\n    writing: false,\r\n    corked: 0,\r\n    sync: true,\r\n    bufferProcessing: false,\r\n    onwrite: [Function: bound onwrite],\r\n    writecb: null,\r\n    writelen: 0,\r\n    afterWriteTickInfo: null,\r\n    buffered: [],\r\n    bufferedIndex: 0,\r\n    allBuffers: true,\r\n    allNoop: true,\r\n    pendingcb: 0,\r\n    constructed: true,\r\n    prefinished: false,\r\n    errorEmitted: false,\r\n    emitClose: true,\r\n    autoDestroy: true,\r\n    errored: null,\r\n    closed: false,\r\n    closeEmitted: false,\r\n    [Symbol(kOnFinished)]: []\r\n  },\r\n  _events: [Object: null prototype] {\r\n    response: [Function: handleResponse],\r\n    error: [Function: handleRequestError]\r\n  },\r\n  _eventsCount: 2,\r\n  _maxListeners: undefined,\r\n  _options: {\r\n    maxRedirects: 21,\r\n    maxBodyLength: 10485760,\r\n    protocol: 'https:',\r\n    path: '/convert/docx/to/jpg?secret=XXX',\r\n    method: 'POST',\r\n    headers: {\r\n      Accept: 'application/json',\r\n      'Content-Type': 'application/x-www-form-urlencoded',\r\n      'User-Agent': 'ConvertAPI-Node/1.11.2',\r\n      'Content-Length': 52\r\n    },\r\n    agent: undefined,\r\n    agents: { http: undefined, https: undefined },\r\n    auth: undefined,\r\n    hostname: 'v2.convertapi.com',\r\n    port: null,\r\n    nativeProtocols: { 'http:': [Object], 'https:': [Object] },\r\n    pathname: '/convert/docx/to/jpg',\r\n    search: '?secret=XXX'\r\n  },\r\n  _ended: true,\r\n  _ending: true,\r\n  _redirectCount: 0,\r\n  _redirects: [],\r\n  _requestBodyLength: 52,\r\n  _requestBodyBuffers: [\r\n    {\r\n      data: \u003cBuffer 46 69 6c 65 3d 77 75 65 32 79 6c 31 63 6c 30 6f 74 67 64 71 35 70 33 62 71 38 38 30 37 77 31 38 73 70 34 35 77 26 53 74 6f 72 65 46 69 6c 65 3d 74 72 ... 2 more bytes\u003e,\r\n      encoding: undefined\r\n    }\r\n  ],\r\n  _onNativeResponse: [Function (anonymous)],\r\n  _currentRequest: \u003cref *1\u003e ClientRequest {\r\n    _events: [Object: null prototype] {\r\n      response: [Function],\r\n      abort: [Function (anonymous)],\r\n      aborted: [Function (anonymous)],\r\n      connect: [Function (anonymous)],\r\n      error: [Function (anonymous)],\r\n      socket: [Function (anonymous)],\r\n      timeout: [Function (anonymous)]\r\n    },\r\n    _eventsCount: 7,\r\n    _maxListeners: undefined,\r\n    outputData: [],\r\n    outputSize: 0,\r\n    writable: true,\r\n    destroyed: true,\r\n    _last: false,\r\n    chunkedEncoding: false,\r\n    shouldKeepAlive: true,\r\n    maxRequestsOnConnectionReached: false,\r\n    _defaultKeepAlive: true,\r\n    useChunkedEncodingByDefault: true,\r\n    sendDate: false,\r\n    _removedConnection: false,\r\n    _removedContLen: false,\r\n    _removedTE: false,\r\n    strictContentLength: false,\r\n    _contentLength: 52,\r\n    _hasBody: true,\r\n    _trailer: '',\r\n    finished: true,\r\n    _headerSent: true,\r\n    _closed: true,\r\n    socket: TLSSocket {\r\n      _tlsOptions: [Object],\r\n      _secureEstablished: true,\r\n      _securePending: false,\r\n      _newSessionPending: false,\r\n      _controlReleased: true,\r\n      secureConnecting: false,\r\n      _SNICallback: null,\r\n      servername: 'v2.convertapi.com',\r\n      alpnProtocol: false,\r\n      authorized: true,\r\n      authorizationError: null,\r\n      encrypted: true,\r\n      _events: [Object: null prototype],\r\n      _eventsCount: 11,\r\n      connecting: false,\r\n      _hadError: true,\r\n      _parent: null,\r\n      _host: 'v2.convertapi.com',\r\n      _closeAfterHandlingError: false,\r\n      _readableState: [ReadableState],\r\n      _maxListeners: undefined,\r\n      _writableState: [WritableState],\r\n      allowHalfOpen: false,\r\n      _sockname: null,\r\n      _pendingData: null,\r\n      _pendingEncoding: '',\r\n      server: undefined,\r\n      _server: null,\r\n      ssl: null,\r\n      _requestCert: true,\r\n      _rejectUnauthorized: true,\r\n      timeout: 5000,\r\n      parser: null,\r\n      _httpMessage: [Circular *1],\r\n      [Symbol(alpncallback)]: null,\r\n      [Symbol(res)]: null,\r\n      [Symbol(verified)]: true,\r\n      [Symbol(pendingSession)]: null,\r\n      [Symbol(async_id_symbol)]: 165,\r\n      [Symbol(kHandle)]: null,\r\n      [Symbol(lastWriteQueueSize)]: 0,\r\n      [Symbol(timeout)]: Timeout {\r\n        _idleTimeout: -1,\r\n        _idlePrev: null,\r\n        _idleNext: null,\r\n        _idleStart: 3593,\r\n        _onTimeout: null,\r\n        _timerArgs: undefined,\r\n        _repeat: null,\r\n        _destroyed: true,\r\n        [Symbol(refed)]: false,\r\n        [Symbol(kHasPrimitive)]: false,\r\n        [Symbol(asyncId)]: 163,\r\n        [Symbol(triggerId)]: 161\r\n      },\r\n      [Symbol(kBuffer)]: null,\r\n      [Symbol(kBufferCb)]: null,\r\n      [Symbol(kBufferGen)]: null,\r\n      [Symbol(kCapture)]: false,\r\n      [Symbol(kSetNoDelay)]: false,\r\n      [Symbol(kSetKeepAlive)]: true,\r\n      [Symbol(kSetKeepAliveInitialDelay)]: 1,\r\n      [Symbol(kBytesRead)]: 537,\r\n      [Symbol(kBytesWritten)]: 96365,\r\n      [Symbol(connect-options)]: [Object]\r\n    },\r\n    _header: 'POST /convert/docx/to/jpg?secret=XXX HTTP/1.1\\r\\n' +\r\n      'Accept: application/json\\r\\n' +\r\n      'Content-Type: application/x-www-form-urlencoded\\r\\n' +\r\n      'User-Agent: ConvertAPI-Node/1.11.2\\r\\n' +\r\n      'Content-Length: 52\\r\\n' +\r\n      'Host: v2.convertapi.com\\r\\n' +\r\n      'Connection: keep-alive\\r\\n' +\r\n      '\\r\\n',\r\n    _keepAliveTimeout: 0,\r\n    _onPendingData: [Function: nop],\r\n    agent: Agent {\r\n      _events: [Object: null prototype],\r\n      _eventsCount: 2,\r\n      _maxListeners: undefined,\r\n      defaultPort: 443,\r\n      protocol: 'https:',\r\n      options: [Object: null prototype],\r\n      requests: [Object: null prototype] {},\r\n      sockets: [Object: null prototype] {},\r\n      freeSockets: [Object: null prototype] {},\r\n      keepAliveMsecs: 1000,\r\n      keepAlive: true,\r\n      maxSockets: Infinity,\r\n      maxFreeSockets: 256,\r\n      scheduling: 'lifo',\r\n      maxTotalSockets: Infinity,\r\n      totalSocketCount: 0,\r\n      maxCachedSessions: 100,\r\n      _sessionCache: [Object],\r\n      [Symbol(kCapture)]: false\r\n    },\r\n    socketPath: undefined,\r\n    method: 'POST',\r\n    maxHeaderSize: undefined,\r\n    insecureHTTPParser: undefined,\r\n    joinDuplicateHeaders: undefined,\r\n    path: '/convert/docx/to/jpg?secret=XXX',\r\n    _ended: false,\r\n    res: null,\r\n    aborted: false,\r\n    timeoutCb: [Function: emitRequestTimeout],\r\n    upgradeOrConnect: false,\r\n    parser: null,\r\n    maxHeadersCount: null,\r\n    reusedSocket: true,\r\n    host: 'v2.convertapi.com',\r\n    protocol: 'https:',\r\n    _redirectable: [Circular *2],\r\n    [Symbol(kCapture)]: false,\r\n    [Symbol(kBytesWritten)]: 0,\r\n    [Symbol(kNeedDrain)]: false,\r\n    [Symbol(corked)]: 0,\r\n    [Symbol(kOutHeaders)]: [Object: null prototype] {\r\n      accept: [Array],\r\n      'content-type': [Array],\r\n      'user-agent': [Array],\r\n      'content-length': [Array],\r\n      host: [Array]\r\n    },\r\n    [Symbol(errored)]: null,\r\n    [Symbol(kHighWaterMark)]: 16384,\r\n    [Symbol(kRejectNonStandardBodyWrites)]: false,\r\n    [Symbol(kUniqueHeaders)]: null\r\n  },\r\n  _currentUrl: 'https://v2.convertapi.com/convert/docx/to/jpg?secret=XXX',\r\n  [Symbol(kCapture)]: false\r\n}\r\n```","author":{"url":"https://github.com/e10jon","@type":"Person","name":"e10jon"},"datePublished":"2023-09-19T13:00:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/68/convertapi-library-node/issues/68"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e15a8f45-4c03-c212-c7e2-f725eade0876
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB452:3CAE76:2D50C60:3B6157F:697D6506
html-safe-nonced54034b2c52e29709aa7678d5b521309281929d694901e601c9e1ae407a97bd9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDUyOjNDQUU3NjoyRDUwQzYwOjNCNjE1N0Y6Njk3RDY1MDYiLCJ2aXNpdG9yX2lkIjoiODIwNTk2Mjg4MTEyNDg4NTc2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd29476539fba8329c025101333e8370016319278f28fbeaabd6d7d752191b57d
hovercard-subject-tagissue:1902931057
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ConvertAPI/convertapi-library-node/68/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9dfac3d827323c9dbf4087ea6f9d4c1032eb2dd5e91ee56d5ebb5549b21156f2/ConvertAPI/convertapi-library-node/issues/68
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9dfac3d827323c9dbf4087ea6f9d4c1032eb2dd5e91ee56d5ebb5549b21156f2/ConvertAPI/convertapi-library-node/issues/68
og:image:altUnfortunately the library has become broken, as it seems that any large file will result in a "socket hang up" error. Observe an errored request below. I think the solution involves setting Axios o...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamee10jon
hostnamegithub.com
expected-hostnamegithub.com
None60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6
turbo-cache-controlno-preview
go-importgithub.com/ConvertAPI/convertapi-library-node git https://github.com/ConvertAPI/convertapi-library-node.git
octolytics-dimension-user_id37071453
octolytics-dimension-user_loginConvertAPI
octolytics-dimension-repository_id140835661
octolytics-dimension-repository_nwoConvertAPI/convertapi-library-node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id140835661
octolytics-dimension-repository_network_root_nwoConvertAPI/convertapi-library-node
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7c85641c598ad130c74f7bcc27f58575cac69551
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/ConvertAPI/convertapi-library-node/issues/68#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FConvertAPI%2Fconvertapi-library-node%2Fissues%2F68
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FConvertAPI%2Fconvertapi-library-node%2Fissues%2F68
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=ConvertAPI%2Fconvertapi-library-node
Reloadhttps://github.com/ConvertAPI/convertapi-library-node/issues/68
Reloadhttps://github.com/ConvertAPI/convertapi-library-node/issues/68
Reloadhttps://github.com/ConvertAPI/convertapi-library-node/issues/68
ConvertAPI https://github.com/ConvertAPI
convertapi-library-nodehttps://github.com/ConvertAPI/convertapi-library-node
Notifications https://github.com/login?return_to=%2FConvertAPI%2Fconvertapi-library-node
Fork 17 https://github.com/login?return_to=%2FConvertAPI%2Fconvertapi-library-node
Star 51 https://github.com/login?return_to=%2FConvertAPI%2Fconvertapi-library-node
Code https://github.com/ConvertAPI/convertapi-library-node
Issues 1 https://github.com/ConvertAPI/convertapi-library-node/issues
Pull requests 2 https://github.com/ConvertAPI/convertapi-library-node/pulls
Actions https://github.com/ConvertAPI/convertapi-library-node/actions
Projects 0 https://github.com/ConvertAPI/convertapi-library-node/projects
Security 0 https://github.com/ConvertAPI/convertapi-library-node/security
Insights https://github.com/ConvertAPI/convertapi-library-node/pulse
Code https://github.com/ConvertAPI/convertapi-library-node
Issues https://github.com/ConvertAPI/convertapi-library-node/issues
Pull requests https://github.com/ConvertAPI/convertapi-library-node/pulls
Actions https://github.com/ConvertAPI/convertapi-library-node/actions
Projects https://github.com/ConvertAPI/convertapi-library-node/projects
Security https://github.com/ConvertAPI/convertapi-library-node/security
Insights https://github.com/ConvertAPI/convertapi-library-node/pulse
New issuehttps://github.com/login?return_to=https://github.com/ConvertAPI/convertapi-library-node/issues/68
New issuehttps://github.com/login?return_to=https://github.com/ConvertAPI/convertapi-library-node/issues/68
Consistent socket hang up errorshttps://github.com/ConvertAPI/convertapi-library-node/issues/68#top
https://github.com/laurynas-convertapi
https://github.com/e10jon
https://github.com/e10jon
e10jonhttps://github.com/e10jon
on Sep 19, 2023https://github.com/ConvertAPI/convertapi-library-node/issues/68#issue-1902931057
laurynas-convertapihttps://github.com/laurynas-convertapi
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.