Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: getaddrinfo EAI_AGAIN api.stripe.com:443 #1416

Closed
yujia917 opened this issue Oct 11, 2019 · 1 comment
Closed

Error: getaddrinfo EAI_AGAIN api.stripe.com:443 #1416

yujia917 opened this issue Oct 11, 2019 · 1 comment

Comments

@yujia917
Copy link

Hi:

I got this error when trying to call any Stripe API in IOS.

{ Error: An error occurred with our connection to Stripe.
at /srv/node_modules/stripe/lib/StripeResource.js:211:9
at ClientRequest.req.on (/srv/node_modules/stripe/lib/StripeResource.js:407:67)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at TLSSocket.socketErrorListener (_http_client.js:401:9)
at emitOne (events.js:116:13)
at TLSSocket.emit (events.js:211:7)
at emitErrorNT (internal/streams/destroy.js:66:8)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickDomainCallback (internal/process/next_tick.js:219:9)
raw:
{ message: 'An error occurred with our connection to Stripe.',
detail:
{ Error: getaddrinfo EAI_AGAIN api.stripe.com:443
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26)
errno: 'EAI_AGAIN',
code: 'EAI_AGAIN',
syscall: 'getaddrinfo',
hostname: 'api.stripe.com',
host: 'api.stripe.com',
port: '443' } },
rawType: undefined,
code: undefined,
param: undefined,
detail:
{ Error: getaddrinfo EAI_AGAIN api.stripe.com:443
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26)
errno: 'EAI_AGAIN',
code: 'EAI_AGAIN',
syscall: 'getaddrinfo',
hostname: 'api.stripe.com',
host: 'api.stripe.com',
port: '443' },
headers: undefined,
requestId: undefined,
statusCode: undefined }

@krunvaghela
Copy link

@yujia917 How you Solved It ?

davidme-stripe pushed a commit that referenced this issue Sep 12, 2022
* Fix OneTimeTextField crash in Mac Catalyst

* Update README

* Fix rect calculation

* Cleanup

* Fix and document implementation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants