#Jerry Jose

1 messages · Page 1 of 1 (latest)

pastel oysterBOT
fervent isle
#

Hi, could you elaborate more on the proxy you mentioned?

cobalt marten
#

I am creating separate proxy server in my application to communicate stripe api, so in this what are the information required to connect stripe api

fervent isle
#

It doesn't matter if it's a proxy server or the main server. To call API you need the secret key belongs to the Stripe Account

cobalt marten
#

I tired the same, but It always says "Unable to connect remote server"

fervent isle
#

You have the secret key? and can make API or request to the internet?

cobalt marten
#

Yes I have secret key, when I made call to API. It return 404 error

fervent isle
#

Unable to connect sounds different than 404.

cobalt marten
#

Iam sorry its Internal server error

fervent isle
#

Have you notice any requests on above log?

cobalt marten
#

no

fervent isle
#

So it's purely a connection error. Unless you can send request from that proxy server to any public site, you can't call Stripe API

cobalt marten
#

like Firewall?

fervent isle
#

Probably

cobalt marten
#

But I can connect stripe api in Postman

#

So I think it is not a firewall issue

fervent isle
#

Are you able to use Post man in same proxy server?

#

How about curl then?

cobalt marten
#

No I connect the stripe api directly

#

in postman

cobalt coral
#

Hi! I'm taking over this thread.

#

So when you use the proxy to make an API call, you get an error. But with Postman (without the proxy) it works?
It this case it looks like your proxy configuration is the issue, and it's blocking request to/from Stripe.