Clarity

  • 1.  Jasper Error - cross-site request forgery (CSRF)

    Posted May 06, 2016 03:40 PM

    I have a fresh setup, clarity 14.3 and Jasper 5.1 (5.1.0.2 patch), where Jasper reports are not even loading when click on it. Getting below error in Jasper logs. I have multicaste set and its single server app. Please advise. Thanks.

     

    ERROR CsrfGuard,http-bio-8089-exec-10:44 - potential cross-site request forgery (CSRF) attack thwarted (user:<anonymous>, ip:xx.xx.xx.xx, uri:/reportservice/flow.html, error:required token is missing from the request)



  • 2.  Re: Jasper Error - cross-site request forgery (CSRF)

    Broadcom Employee
    Posted May 08, 2016 03:43 PM

    The problem could be you are accessing CA PPM using the IP address instead of fully qualified domain name, try using the FQDN and also set the reporting URL to FQDN and test.



  • 3.  Re: Jasper Error - cross-site request forgery (CSRF)

    Posted May 09, 2016 07:37 AM

    Thanks for the response Suman. I tried both IP and DNS the error continues.

     

    Also the main issue I am trying to fix and I guess may be related.. When I click on any report for the first time since install it tries to load the report and then say unable to resolve DNS. It works in new tab though.

     

    Wondering whats wrong, if its working in new tab should work when click on report 1st time.



  • 4.  Re: Jasper Error - cross-site request forgery (CSRF)

    Broadcom Employee
    Posted May 09, 2016 08:14 AM

    It could be a DNS issue also, glad it is resolved in new lab



  • 5.  Re: Jasper Error - cross-site request forgery (CSRF)
    Best Answer

    Posted May 10, 2016 01:27 PM

    Thanks. It turned to be DNS side issue. Got the latest dns did reset the URLs in property file and its working.

     

    Thanks for your help..!!



  • 6.  Re: Jasper Error - cross-site request forgery (CSRF)

    Broadcom Employee
    Posted Nov 07, 2017 09:45 AM

    Hi All,

     

    Looks like i am running into same issue. can anyone please suggest on how to reset the DNS URL's ?

    Kind Regards,

    Kiru



  • 7.  Re: Jasper Error - cross-site request forgery (CSRF)

    Posted Jan 08, 2019 01:44 PM

    I was having the same problem, the problem was solved changing the parameters of nsa> Properties> Application> HTTP Entry URL and HTTPS entry url with valid parameters, being the name of the machine where the CA PPM is installed or the ip, depending on the purpose. For production environments make sure the url is valid in the company's dns server. The problem was solved