#dr-dog_api

1 messages ยท Page 1 of 1 (latest)

glass raftBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1506971499465277581

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

worthy adder
#

๐Ÿ‘‹ Hi there! Do you have any examples of Stripe Event IDs where you see this happening?

#

And what is the URL that you're trying to fetch?

warped mulch
#

hello!

#

It is just a standard API call to GET a charge via the Stripe API. My logging is a bit limited and in Node i don't get the full stack trace so all I can see in my logs is

code: "ERR_INVALID_PROTOCOL"
message: "Protocol "http:" not supported. Expected "https:""
name: "TypeError"
stack: "TypeError: Protocol "http:" not supported. Expected "https:"
at new ClientRequest (node:_http_client:187:11)
at Object.request (node:https:381:10)
at Object.wrappedMethod [as request] (/layers/google.nodejs.yarn/yarn_modules/node_modules/@sentry/node/src/integrations/http.ts:126:10)
at makeRequest (/layers/google.nodejs.yarn/yarn_modules/node_modules/stripe/lib/StripeResource.js:410:57)
at /layers/google.nodejs.yarn/yarn_modules/node_modules/stripe/lib/StripeResource.js:508:9
at Stripe.getClientUserAgent (/layers/google.nodejs.yarn/yarn_modules/node_modules/stripe/lib/stripe.js:245:14)
at prepareAndMakeRequest (/layers/google.nodejs.yarn/yarn_modules/node_modules/stripe/lib/StripeResource.js:496:20)
at Constructor._request (/layers/google.nodejs.yarn/yarn_modules/node_modules/stripe/lib/StripeResource.js:520:7)
at /layers/google.nodejs.yarn/yarn_modules/node_modules/stripe/lib/makeRequest.js:95:10
at new Promise (<anonymous>)"

glass raftBOT
worthy adder
#

Yeah, potentially. I was just looking at our Node code where it makes the HTTP request and noticed Sentry in your stacktrace

#

Also, which version of the Node SDK are you using?

warped mulch
#

Its quite old "stripe": "7.63.1"

#

My org has blocked redeploys of the integration code because of some digital migration that is being done and they dont want to invest in the old stack, but then this issue has occurred

worthy adder
#

Ah ok, I was going to say it seems pretty old from the code I'm finding based on the stacktrace ๐Ÿ™‚

#

I don't see us explicitly making any http calls anywhere in the SDK

warped mulch
#

yeah i can't see why you guys would do that either

worthy adder
#

Right. The Sentry upgrade would be good to try, if possible

warped mulch
#

have you ever had a similar problem reported by a user? I have the feeling that this is due to the sentry issue, primarily because the stack trace is so similar

#

Ok sure thing - from the sounds of things the cause isn't stripe, but thank you for rubber ducky debugging with me

#

Can i ask you one more question though, what is the software engineering experience like at Stripe?

worthy adder
#

Sure, what do you want to know? ๐Ÿ˜…

warped mulch
#

mainly like what the engineering culture is like over there? And have LLMs made the culture change drastically

worthy adder
#

Yeah, it's good. We have a lot of really good internal tools, and plenty of folk working on developer productivity, as is probably to be expected from a larger tech company. We've posted about some of this stuff lately on the blog, including: https://stripe.dev/blog/minions-stripes-one-shot-end-to-end-coding-agents

I don't know if LLMs have changed the actual engineering culture so much โ€” we still try to stick to our quality bar for everything, despite the increase in velocity that comes with with these sorts of LLM-powered tools.

warped mulch
#

That sounds pretty awesome honestly. I work at a mid-tier tech company on the S&P500 and I feel like culture is crumbling lol.

worthy adder
warped mulch
#

I am based in australia so I will cros my finger sand check it out

#

ah it seems all the engineering functions are america and india?

worthy adder
warped mulch
#

Would you know what kind of services the australia teams work on?

worthy adder
#

From those job listings it seems like infrastructure, and professional services, but I otherwise don't know too much about what happens there

warped mulch
#

Fair enoguh! Thanks a bunch mate i really appreicate your help on this one