• Resolved pguarnieri

    (@pguarnieri)


    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: https://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://www.ads-software.com/plugins/publish-to-apple-news/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    Please set Use Remote Images to ‘yes’ in the Apple News plugin settings and see if that resolves this for you.

    Thread Starter pguarnieri

    (@pguarnieri)

    I have just tried, and I got same error. Is there anything else I can try?
    Thank you.

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    You’ll need to reach out to your hosting provider unfortunately. They may be blocking the service.

    Thread Starter pguarnieri

    (@pguarnieri)

    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

    (@pguarnieri)

    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

    (@potatomaster)

    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

    (@pguarnieri)

    I am now keeping the remote images option enabled.

    The plugins enabled are only yours for Apple News and Jetpack. The post is: https://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

    (@potatomaster)

    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

    Thread Starter pguarnieri

    (@pguarnieri)

    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

    (@potatomaster)

    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

    (@potatomaster)

    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.