WombatDialer > WombatDialer Soporte en Español
wombat dialer agent page
Drazyck:
--- Quote from: Loway Espanol on August 21, 2015, 14:21:42 ---Hola nuevamente,
como indicado en la respuesta anterior te pedimos que cambie en la pagina:
Antes:
String[] resLines = AgentsPopupHelper.httpPostToLines(apiReserve, parms);
Cambiar a:
Aquí tenéis los logs:
Mode:reserve withExtSt
API RESERVE:http://83.170.83.216:8080/wombat/api/reserve/
Aug 24, 2015 10:16:34 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [jsp] in context with path [/wombat] threw exception [An exception occurred processing JSP page /agents/rd_pop.jsp at line 55
52: parms.put("op", "reserve");
53: parms.put("agent", agent);
54: System.out.println( "API RESERVE:" + apiReserve);
55: String[] resLines = AgentsPopupHelper.httpPostToLines(apiReserve, parms);
56:
57: String code = resLines[0];
58: if (code.equalsIgnoreCase("OK: OK")) {
Stacktrace:] with root cause
java.net.ConnectException: Connection timed out
at ch.loway.app.wombat.web.agents.AgentsPopupHelper.httpConnector(AgentsPopupHelper.java:106)
at ch.loway.app.wombat.web.agents.AgentsPopupHelper.httpPostToLines(AgentsPopupHelper.java:116)
at org.apache.jsp.agents.rd_005fpop_jsp._jspService(rd_005fpop_jsp.java:112)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
(END)
System.out.println( "API RESERVE:" + apiReserve);
String[] resLines = AgentsPopupHelper.httpPostToLines(apiReserve, parms);
Esto va a mostrar una nueva linea en el stdout (catalina.out) con la URL que está intentando acceder.
Podrías postear la salida aquí ?
Gracias.
--- End quote ---
Drazyck:
any updated please???
QueueMetrics:
How was WombatDialer installed? because it works fine in our RPMs. Maybe you are using Tomcat 8?
QueueMetrics:
I was able to reproduce the issue.
Thanks that helped.
The problem seems to be that Wombat itself tries to connect to itself using the supplied URL, but that does not really work on your box.
What I did was that I edited the file agents/rd_pop.jsp forcing the URL to be 127.0.0.1:
--- Code: ---String localUrl = HttpUtils.getRequestURL(request).toString();
localUrl = "http://127.0.0.1:8080/wombat/agents/rd_pop.jsp";
--- End code ---
Now it appears like it's working.
As a general solution, I wonder whether we should add a parameter so that one can specify a local base URL.
Navigation
[0] Message Index
[*] Previous page
Go to full version