Viewing 15 replies - 1 through 15 (of 19 total)
  • @demiromer thanks for the topic. It appears there might be a security measure preventing access to the AMP version, but not consistently. I encountered the issue intermittently on the homepage: https://mokapota.com/?amp

    In some cases I am able to visit it and others the 503 error appears with reference to Security by Cachewall. Are you familiar with this service?

    Thread Starter demiromer

    (@demiromer)

    Actually I receive the same error Security by Cachewall More than half and besides I also see Connection lost error

    Is there somerhing needs to be done on server side?

    @demiromer are you able to contact your hosting provider to inquire about the service and this behavior? It sounds like something specific to your environment and its settings.

    Thread Starter demiromer

    (@demiromer)

    Hi Renee,
    at the first step, I have contacted them, and they fwd me to ask for the plugin support ??

    But I do have an opinion about it.
    It is strange that today I did not have the issue.
    I think it is related to google indexing. Google hosts amp landing pages on its own.
    Due to indexing is ongoing, most probably, google was not able to find the clicked link on itself and return this 503 error (I believe this might be a temporary issue which takes 3-5 days) I’ll keep watching.

    Rolling back..
    I have it again :((

    • This reply was modified 4 years, 10 months ago by demiromer.
    Thread Starter demiromer

    (@demiromer)

    I again contact with my host (fastcomet). We tried both enable and disable cachewall, different browsers or networks but the problem still ongoing.
    I found this article which might help you to identify not sure
    https://serverpilot.io/docs/fix-error-503-service-unavailable/

    @demiromer thanks for the follow up! It appears you are using the Newspaper theme by TagDiv and their mobile theme? This theme has a custom implementation of AMP . While we cannot support their theme (see TagDiv forums for help), are you able to switch to a default theme to see if the issue persists?

    Thread Starter demiromer

    (@demiromer)

    Hi Renee,
    I have disabled the tagdiv mobile theme and test again,
    unfortunately, the problem still persists ??

    @demiromer thanks for the update! Are you also able to test without the Newspaper theme altogether? Like with a default WordPress theme such as Twenty Nineteen?

    Thread Starter demiromer

    (@demiromer)

    Sorry for the delay, due to the site is high traffic site I had to wait for 4 am here to test it.
    So Yes I have tested now. I have changed the main theme to WordPress 2019.
    While the normal pages are working, and amp pages are working on the desktop.
    On mobile, I received “a critical error occurred” error…
    :((
    I think there is an issue with amp plugin and mobile phones, cachewall etc.

    @demiromer thanks so much for your report back. There is a feature since 1.4.0 called AMP-to-AMP linking which maintains the navigation on AMP pages in Transitional mode. While we haven’t had reports of your particular issue, could you disable this feature using the following filter:

    add_filter( 'amp_to_amp_linking_enabled', '__return_false' );

    You can add this to your active theme’s functions.php file or custom plugin. Could you try this to see if the errors subside for you?

    (you may need to clear your browser cache before testing)

    Thread Starter demiromer

    (@demiromer)

    Hi renee,
    that did not work either.
    I have also tried on 2 more browsers besides safari
    :((

    @demiromer it looks like the AMP-to-AMP linking is still active on the site. If you placed the filter in functions.php file, it may be due to the mobile theme of Newspaper. Could you disable the mobile theme or better yet place the filter in a custom plugin? It seems to disable AMP-to-AMP properly in my testing.

    Thread Starter demiromer

    (@demiromer)

    Hi Renee,
    I have tested and seen there is no improvement and I removed the code.
    Now I have again enabled the code in snippets.
    I’ll bee pleased if you take a look
    Cheers

    Thanks @demiromer ! Yes, I see it is enabled and the error persists. I’ll see if I can find any further information about this and follow up. Thanks so much for testing and providing feedback.

    Thread Starter demiromer

    (@demiromer)

    Hi, @reneesoffice I have disabled the script for now.
    If you need any help to fix or test the issue please ping me
    I am waiting for a solution
    thanks

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘503 Error’ is closed to new replies.