• Resolved bjpbkk

    (@bjpbkk)


    Hi

    Sorry for my very bad english.

    Easy Digital Downloads is not working for me. Even if try a free dowload, I have an error 403 and with paiement page, I haves theses errors :

    Error with Permissions-Policy header: Origin trial controlled feature not enabled: ‘interest-cohort’

    Error with Permissions-Policy header: Unrecognized feature: ‘ch-ua-form-factor’.

    If anyone can help.

    Merci

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Andrea Ferro

    (@unicorn03)

    Hi @bjpbkk, thank you for downloading the plugin and for your open topic.

    I am Andrea and I will help you in your issue found.

    I will get back to you as soon as possible after analyzing the issue, I can also be reached at support@tentacleplugins[dot]com

    Thread Starter bjpbkk

    (@bjpbkk)

    Good morning
    
    I installed the plugin on my main site. EDD seems to work. However, I have errors:
    
    Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
    
    Error with Permissions-Policy header: Unrecognized feature: 'ch-ua-form-factor'.
    
    GET https://www.googleadservices.com/pagead/ar-adview/?nrh={%22debug_key%22:%2215653763757796445031%22,%22debug_reporting%22:true,%22destination%22:%22https://etsglobal. org%22,%22event_report_window%22:%22259200%22,%22expiry%22:%222592000%22,%22filter_data%22:{%222%22:[%22961899722%22],%224%22:[%2207 -09%22],%226%22:[%22true%22]},%22priority%22:%22500%22,%22source_event_id%22:%2213135409733739308865%22}&andc=true net::ERR_CONNECTION_CLOSED
    
    The second problem is with HSTS:
    
    Status: xxx.fr is not preloaded.
    
    Eligibility: In order for xxx.fr to be eligible for preloading, the errors below must be resolved:
    
    I had this Snippet and it's OK
    function add_security_headers() {
    header('Strict-Transport-Security: max-age=63072000; includeSubdomains; preload');
    }
    add_action('send_headers', 'add_security_headers');
    
    The Permissions-Policy does not work.
    
    I think these problems can be explained by maybe wp-supercache and also the functioning of my host:
    
    The headers defined in a .htaccess file are only valid for non-PHP content (therefore static).
    
    We use php-fpm which receives the different headers via apache fast_cgi. In the cgi_www RFC the "Strict-Transport-Security" header is not part of the headers passed via CGI and the apache doc httpd.apache.org/docs/2.2/howto/cgi.html confirms it. Read also https://www.ietf.org/rfc/rfc3875
    
    Thank you for this very good plugin. Maybe you will have somme solutions.
    
    Merci
    Thread Starter bjpbkk

    (@bjpbkk)

    In fact the Permissions-Policy is not working because wp-supercache. I don’t know why and what to do. If I find a solution, I will post it.

    To solve the problem with Strict-Transport-Security, I has this snippet :

    function subdomain_add_security_headers() {
    header(‘Strict-Transport-Security: max-age=63072000; includeSubdomains; preload’);
    }
    add_action(‘send_headers’, ‘subdomain_add_security_headers’);

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Easy Digital Downloads is not working’ is closed to new replies.