com.webratio.struts.exceptions.WRSecurityException: Invalid request target host

07 Apr '20, 10:05 PM
51,261 Views
No Forum Badges

I have received this error trying to access to my app from a public IP, I have redireted the traffic from the public IP

 

s.TrustedRequestInfo.validateTargetHost(TrustedRequestInfo.java:153)
        at com.webratio.struts.TrustedRequestInfo.<init>(TrustedRequestInfo.java:50)
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
        at com.webratio.struts.Requests.getHost(Requests.java:136)
Session stoppedwebratio.struts.Requests.newUriBuilder(Requests.java:618)
    - Press <return> to exit tabctions.AbstractWRAction.computeLastURL(AbstractWRAction.java:461)
    - Press R to restart sessionctions.PageAction.doExecute(PageAction.java:419)
    - Press S to save terminal output to filetion.execute(PageAction.java:77)
        at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
Network error: Software caused connection aborttractExecuteAction.execute(AbstractExecuteAction.java:67)
        at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
        at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
        at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
        at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
        at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
        at com.webratio.struts.servlets.WRActionServlet.process(WRActionServlet.java:155)
        at com.webratio.struts.servlets.WRActionServlet.doGet(WRActionServlet.java:109)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
        at com.webratio.struts.filters.StaticResourceFilter.doFilter(StaticResourceFilter.java:78)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
        at com.webratio.struts.filters.SecurityFilter.doFilter(SecurityFilter.java:57)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
        at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
        at java.lang.Thread.run(Thread.java:748)

 
x 0
Follow
Answer Answer at this question and get points!
Forum Hero - Level 9

Hi Adrian,

This behavior should due to the security fix introduced in WebRatio. For more details refer to latest Release Notes (WR7 and WR8).

https://my.webratio.com/learn/learningobject/webratio-72-release-notes
https://my.webratio.com/learn/learningobject/webratio-mobile-platform-810-release-notes-v-80


For example for WebRatio 7 you can refer to the "MOVING FROM 7.2.16" section of related Release Notes reported above.

 
x 0
Answer at this question and get points!

Related questions

404 on generated app page 500 error with WebRatio BPM 502 proxy error-generate and run Admin area disabled aggiornamento fallito a causa di un errore interno Ajax and FCK Editor (WebRatio 5.x) AJAX events problem to external JavaScript Ajax onchange and jQuery 2.x (with migrate plugin) incompatible Any sample deployment API documentation? AWS Elastic Beanstalk y Webratio Browser integration in enterprise project Can I deploy an application to the cloud using RightScale and/or Scalr? Cannot invoke method putAll() on null object Cannot invoke method selectSingleNode() on null object Can't generate and run database or start tomcat server! Can't run any aplication ckeditor - change directory for the browser Code is exceeding the 65535 bytes limit error on JBOSS Compare with the current time Component computation Connection refused. Database connection, Host and Port number Data flow from a page which is not visible anymore DB in Data Service Project Debug configuration Default error pages Dependencies installation error error activating student account Error deploying WAR against to JBOSS Error updating metadata process Error when updating to WR 7.2.3 Filtros Caracteres Especiales Find Model Problemas Format currency From BPM to WebProject - BUILD FAILED Generation errors on ajax enabled page with many components, ajax links and selective refresh "Generation Error" with Generate and Run Generation options problem Getting the absolute path of a RTXBLOBData Groovy script numer after an error Guardar Saltos de LINEA HelloWorld Unit sample code Help with math unit. Debug mode says error as result code Hide a form if condition if true Hierarchy component how to delete this error? How to get a wr:AjaxURL tag working How to use GoogleGeocoding Add-on i can't install mobile version on windows I can't install Webratio on my Desktop (Ubuntu 13.04 x64) I can't run any application with WebRatio (Table/View 'APP.POST' does not exist) Installation with java 1.8 Installazione Macosx invio mail fallito java.lang.NullPointerException java virtual machine error Job not start correctly JSP/DO issues on Tomcat 5.5 (Ubuntu) Login Error mandatory control code parameter is missing Mensaje: the selection cannot be launched and there are no recent launches Missing plugin emulation support error Missing units when importing project Multi Selects didn't work in update page Next Activity Note property - Error synchronizing with web project No access to protected site view with Login No Apache Derby driver found No cloud accounts available No database on my cloud account Page Home - First time the Project Web begins Problema al generar y ejecutar proyecto problema con la apertura del navegador Problema generando la logica de un proyecto Problema generazione codice Problema Grafo da una lista gerarchica Problema ¨HTTP Status 404" Problemas con el Operations View Delete Problem: Compile Failed problemi installazione su Mac sistema operativo OSX El Capitan problem on first deploy with webratio Problems to connect Sql Server DB from Webratio Problem syncing reports Problem to run an Application Problem with application runnung Problem with encoding Problem with execution of webratio Problem with fields with accents used in attribute condition Problem with ireport Problem with the deletion of more than 50.000 records in a table Project cannot be opened with WebRatio Community Platform Regla de negocio para que no permita repetirse un campo Sample web application Showing items that have a relation with an entity Solve "Generation Error" with Generate and Run option Student reserved area, download error Sync DataService Project with Mobile Project Table 'freeapp43.profesion' doesn't exist Tomcat buttons Tomcat external session store and WebRatio webapp. "Unable to close sub-context ..." Unable to compute the controller URL(s) for applicationUnable to compute the controller URL(s) for application having status PROVISIONING Unable to connect to Internet Unable to execute the script java.lang.NullPointerException Unable to find Cloud free function Unable to get ExpenseReport example work in WebRation Personl 7.2.2 Unable to instantiate a new application instance Unable to update the web project Unspecified BPM Engine Database Updating attributes of an entity Urgent: Google Chrome download error, Unsure User Login Timestamp Vista de diferentes Site Views Webratio Add-ons no permite login Web Ratio Add-ons shop not working WebRatio Browser Integration (Mozilla) Not Supported WEBRATIO LINUX AT EXECUTION TIME Web Ratio Mobile plateform Macos Sierra Web Ratio Mobile - Remote data mapping problem When execute my web application I have this error: returned a null bean Where can i find ifml sample with webratio? which of these three models is closer to webratio/ifml way of creating web applications XPCOM Error