Repeatedly getting 504 errors?

107 views
Skip to first unread message

t...@adwaveinc.com

unread,
Jun 1, 2016, 11:00:36 AM6/1/16
to Outbrain-AmplifyApi
It's been a few weeks now and it keep getting worse. It's taking 5 retries to create one campaign. I keep getting this error.

<html><body><h1>504 Gateway Time-out</h1>

The server didn't respond in time.

</body></html>



<html><body><h1>504 Gateway Time-out</h1>

The server didn't respond in time.

</body></html>

Nitsan Friedrich

unread,
Jun 1, 2016, 11:14:31 AM6/1/16
to t...@adwaveinc.com, Outbrain-AmplifyApi
Hey,

Thanks for sharing your issue with us,

504 errors can be a result of many different causes. See the following article for suggestions: http://pcsupport.about.com/od/findbyerrormessage/a/504error.htm

In case it didn't help, can you please provide more information about your issue:
Looking forward to hearing from you

--
You received this message because you are subscribed to the Google Groups "Outbrain-AmplifyApi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to outbrain-amplif...@googlegroups.com.
To post to this group, send email to outbrain-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/outbrain-amplifyapi/7eefb3ef-8585-4921-8bc4-6fb5f0b57a25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


The above terms reflect a potential business arrangement, are provided solely as a basis for further discussion, and are not intended to be and do not constitute a legally binding obligation. No legally binding obligations will be created, implied, or inferred until an agreement in final form is executed in writing by all parties involved.

This email and any attachments hereto may be confidential or privileged.  If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to the wrong person. Thanks.

t...@adwaveinc.com

unread,
Jun 1, 2016, 12:07:06 PM6/1/16
to Outbrain-AmplifyApi, t...@adwaveinc.com
Pretty simple php call is what keeps timing out.

$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);

curl_setopt($ch, CURLOPT_POST, TRUE);

curl_setopt($ch, CURLOPT_POSTFIELDS, "{
  \"name\": \"Campaign 1\",
  \"amount\": 50,
  \"startDate\": \"2016-06-01\",
  \"runForever\": true,
  \"pacing\": \"SPEND_ASAP\",
  \"type\": \"DAILY\"
}");

curl_setopt($ch, CURLOPT_HTTPHEADER, array(
  "Content-Type: application/json",
  "OB-TOKEN-V1: $t"
));
curl_setopt($ch, CURLOPT_TIMEOUT, 640); //timeout in seconds

$response = curl_exec($ch);
curl_close($ch);

On Wednesday, June 1, 2016 at 11:14:31 AM UTC-4, Nitsan Friedrich wrote:
Hey,

Thanks for sharing your issue with us,

504 errors can be a result of many different causes. See the following article for suggestions: http://pcsupport.about.com/od/findbyerrormessage/a/504error.htm

In case it didn't help, can you please provide more information about your issue:
Looking forward to hearing from you
On Wed, Jun 1, 2016 at 6:00 PM, <t...@adwaveinc.com> wrote:
It's been a few weeks now and it keep getting worse. It's taking 5 retries to create one campaign. I keep getting this error.

<html><body><h1>504 Gateway Time-out</h1>

The server didn't respond in time.

</body></html>



<html><body><h1>504 Gateway Time-out</h1>

The server didn't respond in time.

</body></html>

--
You received this message because you are subscribed to the Google Groups "Outbrain-AmplifyApi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to outbrain-amplifyapi+unsub...@googlegroups.com.

Ziv Barak (Outbrain Amplify API team)

unread,
Jun 10, 2016, 3:32:45 AM6/10/16
to Outbrain-AmplifyApi, t...@adwaveinc.com
Hi,
We identified the reason for the timeout and we are working on a solution for it.
Will let you know once its done.
Reply all
Reply to author
Forward
0 new messages