Title: Error: 504 Gateway Timeout
Last modified: August 31, 2016

---

# Error: 504 Gateway Timeout

 *  Resolved [pguarnieri](https://wordpress.org/support/users/pguarnieri/)
 * (@pguarnieri)
 * [10 years ago](https://wordpress.org/support/topic/error-504-gateway-timeout-1/)
 * Hello,
 * I am a new user and I have just started trying to use this plug-in to publish
   on Apple News.
    I managed to successfully publish an article before, however 
   I don’t seem to be able to publish another one as when I click to publish the
   page seem to load for a very long time until I get a blank page with the error:“
   Gateway Timeout The gateway did not receive a timely response from the upstream
   server or application.”
 * I was wondering if there is a way I can solve this issue. My impression is that
   it is related to the post being very long, it can be found here: [http://pguarnieri.me/2015/05/19/the-end-of-the-world-argentina-south-georgia-antarctica/](http://pguarnieri.me/2015/05/19/the-end-of-the-world-argentina-south-georgia-antarctica/)
 * Please let me know if I can do something about it, I’m not very technical regarding
   these things so sorry in advance if it’s something silly.
 * Thank you.
 * [https://wordpress.org/plugins/publish-to-apple-news/](https://wordpress.org/plugins/publish-to-apple-news/)

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Author [Bradford Campeau-Laurion](https://wordpress.org/support/users/potatomaster/)
 * (@potatomaster)
 * [10 years ago](https://wordpress.org/support/topic/error-504-gateway-timeout-1/#post-7407224)
 * Please set Use Remote Images to ‘yes’ in the Apple News plugin settings and see
   if that resolves this for you.
 *  Thread Starter [pguarnieri](https://wordpress.org/support/users/pguarnieri/)
 * (@pguarnieri)
 * [10 years ago](https://wordpress.org/support/topic/error-504-gateway-timeout-1/#post-7407226)
 * I have just tried, and I got same error. Is there anything else I can try?
    Thank
   you.
 *  Plugin Author [Bradford Campeau-Laurion](https://wordpress.org/support/users/potatomaster/)
 * (@potatomaster)
 * [10 years ago](https://wordpress.org/support/topic/error-504-gateway-timeout-1/#post-7407229)
 * You’ll need to reach out to your hosting provider unfortunately. They may be 
   blocking the service.
 *  Thread Starter [pguarnieri](https://wordpress.org/support/users/pguarnieri/)
 * (@pguarnieri)
 * [10 years ago](https://wordpress.org/support/topic/error-504-gateway-timeout-1/#post-7407231)
 * OK, I will try to contact them. I thought it could be something else since it
   managed to post the shorter article. Thank you.
 *  Thread Starter [pguarnieri](https://wordpress.org/support/users/pguarnieri/)
 * (@pguarnieri)
 * [10 years ago](https://wordpress.org/support/topic/error-504-gateway-timeout-1/#post-7407272)
 * Hello again, I managed to contact my hosting provider. They said that in fact
   they were limiting the process time. They managed to extend that time for this
   particular case, but I now seem to get two different errors. This time not a 
   server one, but they seem related to the plug-in / Apple News APIs and they appear
   on the Apple News section of WordPress on top of the list of my posts. The errors
   are:
 * “The following components are unsupported by Apple News and were removed: meta,
   meta, meta, meta, … img, a, div, …” (This is a much longer string with many meta
   img a or div elements)
 * “There has been an error with the API. Please make sure your API settings are
   correct and try again: There has been an error with your request: Operation timed
   out after 30959 milliseconds with 0 out of -1 bytes received”
 * If I try multiple times, the first former error above only varies in length, 
   whereas the latter stay the same (except the milliseconds count which varies 
   a little).
    Is that indeed an issue with the plugin or Apple News, or would you
   think that it still is the hosting provider? Many thanks again.
 *  Plugin Author [Bradford Campeau-Laurion](https://wordpress.org/support/users/potatomaster/)
 * (@potatomaster)
 * [10 years ago](https://wordpress.org/support/topic/error-504-gateway-timeout-1/#post-7407275)
 * If you have enabled remote images, you should not be getting a timeout error.
   However, that would be caused by your hosting provider.
 * With regards to the first issue, it sounds like your HTML is producing invalid
   Apple News format. Can you please post the list of plugins you have enabled and
   a link to the post in question?
 *  Thread Starter [pguarnieri](https://wordpress.org/support/users/pguarnieri/)
 * (@pguarnieri)
 * [10 years ago](https://wordpress.org/support/topic/error-504-gateway-timeout-1/#post-7407278)
 * I am now keeping the remote images option enabled.
 * The plugins enabled are only yours for Apple News and Jetpack. The post is: [http://pguarnieri.me/2015/05/19/the-end-of-the-world-argentina-south-georgia-antarctica/](http://pguarnieri.me/2015/05/19/the-end-of-the-world-argentina-south-georgia-antarctica/)
 * I didn’t add any particular html piece, could anything else be the reason?
 * If I manage to solve this first issue about html, I can try to ask the provider
   to extend the timeout time a bit more for this specific case.
 * Thank you.
 *  Plugin Author [Bradford Campeau-Laurion](https://wordpress.org/support/users/potatomaster/)
 * (@potatomaster)
 * [10 years ago](https://wordpress.org/support/topic/error-504-gateway-timeout-1/#post-7407281)
 * The error is coming from the Jetpack gallery. It adds microdata (like meta itemprops)
   that isn’t yet supported by the plugin. I’ve added a ticket for this here to 
   be addressed in a future version:
 * [https://github.com/alleyinteractive/apple-news/issues/174](https://github.com/alleyinteractive/apple-news/issues/174)
 *  Thread Starter [pguarnieri](https://wordpress.org/support/users/pguarnieri/)
 * (@pguarnieri)
 * [10 years ago](https://wordpress.org/support/topic/error-504-gateway-timeout-1/#post-7407283)
 * Thank you, deactivating Jetpack indeed only leaves the second error. Hopefully
   the Apple News publishing will be smoother soon. Thanks again for the support.
 *  Plugin Author [Bradford Campeau-Laurion](https://wordpress.org/support/users/potatomaster/)
 * (@potatomaster)
 * [10 years ago](https://wordpress.org/support/topic/error-504-gateway-timeout-1/#post-7407288)
 * It’s actually smooth for thousands of users. Unfortunately, we can’t guarantee
   compatibility with every WordPress plugin. Jetpack is a common one, of course,
   so we will certainly add support as time permits.
 *  Plugin Author [Bradford Campeau-Laurion](https://wordpress.org/support/users/potatomaster/)
 * (@potatomaster)
 * [10 years ago](https://wordpress.org/support/topic/error-504-gateway-timeout-1/#post-7407534)
 * Closing since there has been no further follow up on this issue.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Error: 504 Gateway Timeout’ is closed to new replies.

 * ![](https://ps.w.org/publish-to-apple-news/assets/icon-256x256.png?rev=3017580)
 * [Publish To Apple News](https://wordpress.org/plugins/publish-to-apple-news/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/publish-to-apple-news/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/publish-to-apple-news/)
 * [Active Topics](https://wordpress.org/support/plugin/publish-to-apple-news/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/publish-to-apple-news/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/publish-to-apple-news/reviews/)

## Tags

 * [gateway timeout](https://wordpress.org/support/topic-tag/gateway-timeout/)
 * [long post](https://wordpress.org/support/topic-tag/long-post/)

 * 11 replies
 * 2 participants
 * Last reply from: [Bradford Campeau-Laurion](https://wordpress.org/support/users/potatomaster/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/error-504-gateway-timeout-1/#post-7407534)
 * Status: resolved