Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Problem with setting up SendGrid and Appery Secure Proxy

Hello Appery,
I am trying to setup the Sendgrid integration via SecureProxy as described in Appery manual here: https://devcenter.appery.io/documenta...

Here is my sendgrid proxy stetup:
Image

here is the database for secure proxy setup:
Image

here are service settings:
Image

Image

and here is the result:

Image

so when testing I get "bad username / password" response.
When I enter my Sendgrid password and username directly as api_key and api_user then the mail service works fine.

Any ideas what is wrong with this setup?
My app is called 3MC and is shared with Appery support. Also Secure Proxy tab is shared with Appery support.

Eric Leroyer7648701
Posts: 0
Joined: Sun Jul 19, 2015 6:59 am

Problem with setting up SendGrid and Appery Secure Proxy

I have the same issue, if I type the values manually it works fine but if I use the proxy I get the same error.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Problem with setting up SendGrid and Appery Secure Proxy

Hi Adam and Eric -

The substitution of a proxy results does not occur inside the visual builder, to make it work -- run the application through the Test preview.

Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Problem with setting up SendGrid and Appery Secure Proxy

Thanks Ilya. It might explain why it does not run when testing in visual builder but still, when I try to get it to work in Test mode, no e-mail is sent. Here is how it looks like:

I have button called "Proponuj" and the event is mapped to it which triggers the service called "restservice_create_artrequests":
Image

After succesful execution of this service I have got another service triggered (called "restservice_SendGrid_Artrequest_Alert_0000") which actually should send and confirmation e-mail:

Image

here is how the mapping looks like inside this service:

Image

But still no mail is sent after pressing this button and I get the error at the debugging console like this:

Image

To reproduce this situation simlply open the app, type "Anything" into search box and press Enter and then press "Proponuj" button.

Image

Can you please help me establish what is wrong?

Eric Leroyer7648701
Posts: 0
Joined: Sun Jul 19, 2015 6:59 am

Problem with setting up SendGrid and Appery Secure Proxy

I have also tested this both in the browser tester and via a APK build both didn't work.
Image

Eric Leroyer7648701
Posts: 0
Joined: Sun Jul 19, 2015 6:59 am

Problem with setting up SendGrid and Appery Secure Proxy

I changed my password and it worked, so cancel my request :-)

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Problem with setting up SendGrid and Appery Secure Proxy

Hello Eric,

Thank you for the update, glad it works!

Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Problem with setting up SendGrid and Appery Secure Proxy

Hi Appery,
I am glad it works for Eric but it did not solve my problem. Can you please look at it and help me? Why the service sending e-mail throws a "bad request" response?

Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Problem with setting up SendGrid and Appery Secure Proxy

Hi again Appery,
Any chance somebody will help me on that issue?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Problem with setting up SendGrid and Appery Secure Proxy

Adam,

We are working on it and will get back to you with the update.

Return to “Issues”