• fedek95

    (@fedek95)


    Hello! We are experiencing a CORS error when generating the PDF with the printmy.blog domain. We are getting a 406 Not Acceptable error, here are the details of the error:

    Access to XMLHttpRequest at 'https://printmy.blog/wp-json/pmb/v1/licenses/1189170/installs/13876491/generate' from origin 'https://naropacatalstg.wpengine.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

    Request URL:
    https://printmy.blog/wp-json/pmb/v1/licenses/1189170/installs/13876491/generate
    Request Method:
    POST
    Status Code:
    406 Not Acceptable
    Referrer Policy:
    strict-origin-when-cross-origin

    -
    Site: naropacatalstg.wpengine.com
    License:
    Plugin: Print My Blog
    Plan: HOBBYIST

    Please we need a solution, the plugin is not working.

    Regards.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Michael Nelson

    (@mnelson4)

    Hi @fedek95, I also received your emails and have sent a few replies but am not sure if you’ve got them.

    The summary is: yes I see the error as well. It seems that printmy.blog is changing the HTTP headers if the request is over a certain threshold. I’ve reached out to my hosting company, as my server logs indicating printmy.blog is *attempting* to send the CORS headers, but we can both see from the error we’re getting that they’re not getting received.

    In the meantime, I emailed you the PDFs I saw that you were trying to generate.

    Thread Starter fedek95

    (@fedek95)

    Thank you very much Michael! To which email did you send the PDF file? Because it didn’t reach us.

    Plugin Author Michael Nelson

    (@mnelson4)

    ugh sorry. I sent them to rkripper at networksthatmatter dot com on Friday august 23rd

    Thread Starter fedek95

    (@fedek95)

    Hi! Could you send it to ( federico at epicdevs dot com )? We didn’t receive it at the email address you mentioned.

    Plugin Author Michael Nelson

    (@mnelson4)

    Ok I just resent the email with attachments to that address. Please let me know if you didn’t receive them.

    Plugin Author Michael Nelson

    (@mnelson4)

    FYI my hosting company got back to me and made some tweaks; I retested but the issue is persisting and I’ve provided them with more debugging info (all the details for a PDF generation that works OK, and one that doesn’t work, the main difference just being the document’s size).

    Sorry this issue hasn’t been resolved yet…

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.