Skip to content

Email sending not working: Error: connect EMFILE 34.255.83.252:443 #1448

@krupalimakadiya

Description

@krupalimakadiya
 Error: connect EMFILE 34.255.83.252:443 - Local (undefined:undefined)
    at internalConnect (node:net:1100:16)
    at defaultTriggerAsyncIdScope (node:internal/async_hooks:462:18)
    at GetAddrInfoReqWrap.emitLookup [as callback] (node:net:1381:9)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:8) {
  errno: -24,
  code: 'EMFILE',
  syscall: 'connect',
  address: '34.255.83.252',
  port: 443,
  config: {
    transitional: {
      silentJSONParsing: true,
      forcedJSONParsing: true,
      clarifyTimeoutError: false
    },
    adapter: [Function: httpAdapter],
    transformRequest: [ [Function: transformRequest] ],
    transformResponse: [ [Function: transformResponse] ],
    timeout: 0,
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: Infinity,
    maxBodyLength: Infinity,
    validateStatus: [Function: validateStatus],
    headers: {
      Accept: 'application/json',
      'Content-Type': 'application/json',
      'User-Agent': 'sendgrid/7.7.0;nodejs',
      Authorization: 'Bearer xyz',
      'Content-Length': 21312
    },
    url: '/v3/mail/send',
    method: 'post',

I am sending 1000 record in each request and total i have 5000 records so 4 request get successfull but 1 is failed so if someone know how to resolve this error then that will be helpful for me

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions