#bmizerany1234
1 messages ยท Page 1 of 1 (latest)
Hi ๐
What is the stripe accounts retrieve call doing?
Getting the current logged in account ID
But the Stripe CLI holds that information already. Can you try running
stripe login
and then stripe apps start
I have tried that already
The start command only says "hit enter to open a browser" but there is no browswer on that machine. I learned a bit back here in Discrod from a fine support person that the URL it should take me to is the one you see above. So I took my account ID and went to the URL
Last time, that worked
This time, it does not
My new Stripe app isn't showing up in the dashboard, and am I back to the same odd message I got last time
"stripe app start"
Whic is literally already running
for that account
What is the context in which the app is executing, since you say there is no browser on that machine?
Let's call it an Ec2 instance
I dev on an EC2 instance
not unlike working in Github spaces/what-have-you
I have the stripe cli installed. I carefully follow the instructions here https://stripe.com/docs/stripe-apps/create-app
I get to "stripe apps start" and get the ouput I posted above
BUT I have not UI so hitting "enter" does nothing
and unforutually the CLI does not output the URL for those of use without a UI
This time I'm armed with a little something left over from the last time this happened
That URL
but now it doesn't work
not in Safari, and not in Chrome (all up-to-date)
Right, because the CLI functionality is designed to connect to a localhost endpoint which is not forwarded
I was assuming the CLI tunneled out
The browser makes a network call to a localhost URL, as far as I know
You're saying that Stripe (in dev mode) doesn't tunnel, but instead iFrames in my app pointed at localhost?
ah yeah okay
let me try to portforward to the vm from the host
The localhost URL used is localhost:4242
Thank you. Trying now
So close. Do you know if it's possible to make it bind to 0.0.0.0:4242?
intead of locking it down to localhost?
No that isn't something you can configure. You can raise this as an issue on the GH repo https://github.com/stripe/stripe-apps/issues
Thank you for your help
Happy to shed what ๐ก I can ๐
Okay
Still not workign even with port forwading to a proxy
That is a curl (on the MacOS host) to its very own localhost:4242 which socat forwards to vm:8080 which is a reverse proxy listening on 0.0.0.0:8080 which HTTP proxies to localhost:4242 (e.g. stripe apps start) on the vm
I confirm it's all wired up right
but in chrome and safari, no dice... still do not see the app
I think this may be an issue with how the app CLI plugin creates the host. I did say you cannot get it to listen to 0.0.0.0. It must be localhost. I would recommend filing a GH issue
It is listening on localhost
my proxy binds to 0.0.0.0 and fowards to localhost:4242
Okay. I would still recommend you file this as a detailed GH Issue
Nto sure its worth it. 200+ issues and counting
It's the primary means by which the Apps team gets developer feedback