#SJ057
1 messages Β· Page 1 of 1 (latest)
Looking in to how to troubleshoot this
To cover the obvious bases first: have you double checked that you are viewing your dashboard as the same account you are running the command as? One email can be connected to multiple accounts so I have seen this when a user was on a different account than they initially thought
Yes. I am using the same account...before starting the app locally I have to log in with stripe first and then run the command stripe apps to start.
Gotcha. Can you send me your account ID here (acct_1234)? I think I should be able to see logs around this.
acct_1MARpdB57HHkN7RO
Thank you, checking in to what I can see here
To be clear, has this flow ever worked for you?
And is this an app that you jus freshly created or is this one of our demo apps you downloaded from somewhere?
I have freshly created app
Gotcha, so literally just ran stripe apps create foo, did the dashboard actions for that, and ran stripe apps start?
Just checking because my next suggestion was going to be to see if that got the same error
I am getting the same validation msg
Good to know, thank you for checking. I'm going to try to pull in a colleague who is more familiar with Stripe Apps to see if they have a better idea of what to check next
ok
Hi π
Can you take a look at the browser console when you hit the Preview page?
One of the first things that occurs to me is you may be hitting this issue: https://github.com/stripe/stripe-apps/issues/410
i have open the console
Do you see any error messages?
Yes
Okay, are the referencing CORS or CSP problems?
Yes
Which one?
m.stripe.network/innβ¦on=6&preview=true:1 Access to XMLHttpRequest at 'https://m.stripe.com/6' from origin 'https://m.stripe.network' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
CORS
And what browser are you using?
Chrome
And if you navigate here: chrome://net-internals/#hsts
do you see any domain security policies relating to localhost or 127.0.0.5 ?
no
how are you running stripe apps start?
Directly on your machine or inside a container of some sort?
And when you run stripe version what version number do you see?
https://github.com/stripe/stripe-apps/issues/410.....I check this issue...by clearing cache . I am able to get see account and go further...Thank you @summer roost but this issue may occure sometime...it is weird
Okay good to know, I'm glad you got it working in the end
As you can see this issue was created by someone here at Stripe so hopefully ( π€ ) it will get some attention in the near future
Hoping good...Thank you @summer roost .. π
Hi @summer roost ...just wanted know ...is there any provision ...where we can find logs in local machine ?
You mean logging the local server?
I think it would make sense to file that as an issue in the Github Repo. I think it would make sense to have a flag like stripe apps start --verbose that would return the logs from the server at localhost:4242 to the console
ok..Thanks
Yes
The team working on Stripe Apps uses Github Issues for a lot of their developer feedback so it's a good place to request features like that. And it's better if it comes from you in case they have follow up questions about what sort of functionality you would expect.
sure...I will add an issue over there...Thank @summer roost ..It is a great conversation....Merry Christmas..π
And a happy new year to you!
Thank You...Happy New Year π