New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The example cookbook 'rivr-cookbook-simple-speech-interaction' always throws Session not found error. #7
Comments
Could you please provide the rest of the log for the call? You mentioned that this error occurs when the browser fetches the root document at |
The same error is occurring under Tomcat 8.5.37 & Avaya Experience Portal 7.0.1. SEVERE [https-jsse-nio-9443-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [Dialogue] in context with path [/MyApp] threw exception [Cannot find session.] with root cause |
Can you provide the logs from Avaya? Are you using a load balancer? If yes, make sure stickiness is enabled. This message typically indicates that either the session has timed out or that the request has been sent to a server which has not initiated the session. |
Load balancing was disabled to re-produce the problem. Log files from Avaya are attached. Thank you. |
According to logs, two different sessions are using the same URL (i.e. with the same Rivr session ID) for the VoiceXML root document, which is not possible under Rivr. It looks like an HTTP caching issue. All VoiceXML documents generated by Rivr are dynamic and cannot be cached by the browser. Possibly, the caching issue is due to EXPPORTAL727. See issue description on Avaya DevConnect, Experience Portal 7.1 Release Notes. |
Closing issue without feedback for 2 years. |
Using Avaya experience portal in a tomcat 8.5 servlet container running on windows.
I can't run this example, the error always occurs.
When reaching out to:
/rivr-cookbook/dialogue/root/4e4e7586-4c7a-4288-b572-bd20afa99986
[apache-tomcat-8.5.23]: Dec 17, 2018 6:50:15 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet [Dialogue] in context with path [/rivr-cookbook] threw exception [Cannot find session.] with root cause com.nuecho.rivr.core.servlet.session.SessionNotFoundException: Unable to find session [4e4e7586-4c7a-4288-b572-bd20afa99986] at com.nuecho.rivr.core.servlet.DialogueServlet.getExistingSession(DialogueServlet.java:512) at com.nuecho.rivr.core.servlet.DialogueServlet.getSession(DialogueServlet.java:495) at com.nuecho.rivr.core.servlet.DialogueServlet.process(DialogueServlet.java:376) at com.nuecho.rivr.core.servlet.DialogueServlet.doPost(DialogueServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:661) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Unknown Source)
The text was updated successfully, but these errors were encountered: