{"id":1138586,"date":"2016-07-12T04:50:50","date_gmt":"2016-07-12T11:50:50","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/constantly-getting-504-gateway-timeout\/"},"modified":"2016-07-12T04:52:23","modified_gmt":"2016-07-12T11:52:23","slug":"constantly-getting-504-gateway-timeout","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/constantly-getting-504-gateway-timeout\/","title":{"rendered":"Constantly getting 504 Gateway Timeout"},"content":{"rendered":"<p>Hi,<\/p>\n<p>Lately when importing events from Facebook, I am constantly seeing a 504 Gateway Timeout appear with the following message :<\/p>\n<p>Gateway Timeout<\/p>\n<p>The gateway did not receive a timely response from the upstream server or application.<\/p>\n<p>I do not know what happened, but I didn&#8217;t use to get that error in the past. It works fine when I only have four or five organizers \/ page Id&#8217;s in the box, but once I start adding more I keep getting that message. I didn&#8217;t know myself, but some organizers were getting in touch with me asking why their events didn&#8217;t appear on our calendar anymore.<\/p>\n<p>I checked with the helpful support folks at Siteground. And they got back to my report with the following information:<\/p>\n<blockquote><p>I managed to recreate the issue on my end but it seems that your script reaches the default time out limit of the web server and we can not modify this setting per user basis since your account resides on a shared server:<\/p>\n<p>Code:<br \/>\n[Thu Jun 30 16:14:32.625233 2016] [:warn] [pid 34641] [client XXXXXXXX] Timeout waiting for output from CGI script \/XXXXXXXX\/wp-admin\/edit.php, referer: http:\/\/www.whiskywithfriends.be\/wordpress\/wp-admin\/edit.php?post_type=tribe_events&amp;page=events-importer<br \/>\n[Thu Jun 30 16:14:32.625277 2016] [core:error] [pid 34641] [client XXXXXXXX] Script timed out before returning headers: edit.php, referer: XXXXXXXX\/wp-admin\/edit.php?post_type=tribe_events&amp;page=events-importer<\/p>\n<p>I tried to increase the dynamic time out only for the particular script but the issue persists.<\/p>\n<p>In this case I would recommend you to discuss the issue with the plugin developer and import the desired content alternative means(FTP for example):<\/p>\n<p>https:\/\/www.siteground.com\/tutorials\/ftp\/<\/p>\n<p>Please let us know in case we can assist you further.<\/p>\n<p>Best Regards,<\/p>\n<p>Vladimir Trandev<br \/>\nTechnical Support Team\n<\/p><\/blockquote>\n<p>Is there any way I could fix this? Thanks a lot in advance,<\/p>\n<p>Stefaan<\/p>\n","protected":false},"template":"","class_list":["post-1138586","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Constantly getting 504 Gateway Timeout -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/constantly-getting-504-gateway-timeout\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Constantly getting 504 Gateway Timeout -\" \/>\n<meta property=\"og:description\" content=\"Hi, Lately when importing events from Facebook, I am constantly seeing a 504 Gateway Timeout appear with the following message : Gateway Timeout The gateway did not receive a timely response from the upstream server or application. I do not know what happened, but I didn&#8217;t use to get that error in the past. It [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/constantly-getting-504-gateway-timeout\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-07-12T11:52:23+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/constantly-getting-504-gateway-timeout\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/constantly-getting-504-gateway-timeout\/\",\"name\":\"Constantly getting 504 Gateway Timeout -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-07-12T11:50:50+00:00\",\"dateModified\":\"2016-07-12T11:52:23+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/constantly-getting-504-gateway-timeout\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/constantly-getting-504-gateway-timeout\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/constantly-getting-504-gateway-timeout\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Event Aggregator\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/event-aggregator\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Constantly getting 504 Gateway Timeout\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Constantly getting 504 Gateway Timeout -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/constantly-getting-504-gateway-timeout\/","og_locale":"en_US","og_type":"article","og_title":"Constantly getting 504 Gateway Timeout -","og_description":"Hi, Lately when importing events from Facebook, I am constantly seeing a 504 Gateway Timeout appear with the following message : Gateway Timeout The gateway did not receive a timely response from the upstream server or application. I do not know what happened, but I didn&#8217;t use to get that error in the past. It [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/constantly-getting-504-gateway-timeout\/","article_modified_time":"2016-07-12T11:52:23+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/constantly-getting-504-gateway-timeout\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/constantly-getting-504-gateway-timeout\/","name":"Constantly getting 504 Gateway Timeout -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-07-12T11:50:50+00:00","dateModified":"2016-07-12T11:52:23+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/constantly-getting-504-gateway-timeout\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/constantly-getting-504-gateway-timeout\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/constantly-getting-504-gateway-timeout\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Event Aggregator","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/event-aggregator\/"},{"@type":"ListItem","position":5,"name":"Constantly getting 504 Gateway Timeout"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1138586","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1138586\/revisions"}],"predecessor-version":[{"id":1138587,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1138586\/revisions\/1138587"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1138586"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}