{"id":826758,"date":"2014-10-22T05:28:42","date_gmt":"2014-10-22T12:28:42","guid":{"rendered":"http:\/\/tri.be\/support\/forums\/topic\/timeout-to-502-when-updating-recurring-event-daily\/"},"modified":"2014-11-05T06:24:29","modified_gmt":"2014-11-05T14:24:29","slug":"timeout-to-502-when-updating-recurring-event-daily","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/timeout-to-502-when-updating-recurring-event-daily\/","title":{"rendered":"Timeout to 502 when updating Recurring Event (Daily)"},"content":{"rendered":"<p>FWIW, I&#8217;ve read: https:\/\/theeventscalendar.com\/support\/forums\/topic\/timeout-when-saving-recurring-events\/<\/p>\n<p>Most recurring events can be edited\/updated. Several however, particularly those that repeat a lot (ie. daily) fail when updated, timing out after 60-90s and redirecting to an nginx 502 page at \/wp-admin\/post.php.<\/p>\n<p>Like this one:<br \/>\ndomain.com\/wp-admin\/post.php?post=40811&amp;action=edit<br \/>\nscreenshot of recurrence pattern: https:\/\/cloudup.com\/cmlzHahXTOB<\/p>\n<p>It doesn&#8217;t surprise me WPE kills long running PHP processes at 60 seconds, most hosts do. It does surprise me that TEC isn&#8217;t doing something to avoid this timeout though. I think there is something else that might be going on here.<\/p>\n<p>I&#8217;ve cloned the site to WPE staging for testing. It fails there the same. I deactivated all the plugins that weren&#8217;t a Tribe Events plugin and reverted to the 2014 theme. I thought it worked the first time I hit update on that one post, but then on many many repeat attempts it&#8217;s failed, so we&#8217;ll call that first one a false success. Maybe I was on the wrong post.<\/p>\n<p>FWIW, I did successfully update this post on my local install twice, each time it took 4 minutes (VVV, PHP5.5, 4 CPUs, 1024MB) with all plugins activated as normal the first time. Oddly after deactivating everything and trying again it ran 10 minutes before I killed it.<\/p>\n<p>Note: The DB for this site isn&#8217;t small, but it&#8217;s not really big either. 12,000 posts, 6000 comments, 200 categories, 11,000 tags.<\/p>\n<p>This is Jon Brown (developer) not the actual client\/licenses holder. Outside this forum I can give you a url and login to staging if you need.<\/p>\n","protected":false},"template":"","class_list":["post-826758","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>Timeout to 502 when updating Recurring Event (Daily) -<\/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\/timeout-to-502-when-updating-recurring-event-daily\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Timeout to 502 when updating Recurring Event (Daily) -\" \/>\n<meta property=\"og:description\" content=\"FWIW, I&#8217;ve read: https:\/\/theeventscalendar.com\/support\/forums\/topic\/timeout-when-saving-recurring-events\/ Most recurring events can be edited\/updated. Several however, particularly those that repeat a lot (ie. daily) fail when updated, timing out after 60-90s and redirecting to an nginx 502 page at \/wp-admin\/post.php. Like this one: domain.com\/wp-admin\/post.php?post=40811&amp;action=edit screenshot of recurrence pattern: https:\/\/cloudup.com\/cmlzHahXTOB It doesn&#8217;t surprise me WPE kills long running PHP processes [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/timeout-to-502-when-updating-recurring-event-daily\/\" \/>\n<meta property=\"article:modified_time\" content=\"2014-11-05T14:24:29+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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/timeout-to-502-when-updating-recurring-event-daily\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/timeout-to-502-when-updating-recurring-event-daily\/\",\"name\":\"Timeout to 502 when updating Recurring Event (Daily) -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2014-10-22T12:28:42+00:00\",\"dateModified\":\"2014-11-05T14:24:29+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/timeout-to-502-when-updating-recurring-event-daily\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/timeout-to-502-when-updating-recurring-event-daily\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/timeout-to-502-when-updating-recurring-event-daily\/#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\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Timeout to 502 when updating Recurring Event (Daily)\"}]},{\"@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":"Timeout to 502 when updating Recurring Event (Daily) -","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\/timeout-to-502-when-updating-recurring-event-daily\/","og_locale":"en_US","og_type":"article","og_title":"Timeout to 502 when updating Recurring Event (Daily) -","og_description":"FWIW, I&#8217;ve read: https:\/\/theeventscalendar.com\/support\/forums\/topic\/timeout-when-saving-recurring-events\/ Most recurring events can be edited\/updated. Several however, particularly those that repeat a lot (ie. daily) fail when updated, timing out after 60-90s and redirecting to an nginx 502 page at \/wp-admin\/post.php. Like this one: domain.com\/wp-admin\/post.php?post=40811&amp;action=edit screenshot of recurrence pattern: https:\/\/cloudup.com\/cmlzHahXTOB It doesn&#8217;t surprise me WPE kills long running PHP processes [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/timeout-to-502-when-updating-recurring-event-daily\/","article_modified_time":"2014-11-05T14:24:29+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/timeout-to-502-when-updating-recurring-event-daily\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/timeout-to-502-when-updating-recurring-event-daily\/","name":"Timeout to 502 when updating Recurring Event (Daily) -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2014-10-22T12:28:42+00:00","dateModified":"2014-11-05T14:24:29+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/timeout-to-502-when-updating-recurring-event-daily\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/timeout-to-502-when-updating-recurring-event-daily\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/timeout-to-502-when-updating-recurring-event-daily\/#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":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"Timeout to 502 when updating Recurring Event (Daily)"}]},{"@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\/826758","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":0,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/826758\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=826758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}