Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4073

Websockets error when reloading browser page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 8.5.2, 8.5.2.1
    • ZK Client Engine
    • Linux Ubuntu 14.04, Java 8, Tomcat 9

      The following error appears in the debug console of the web browser, and the page does nothing.
      This happens when pressing F5 or Ctrl+R to reload the whole page when using websockets.

      I've tried increasing the textBufferSize in Tomcat with no effect at all.

      Uncaught DOMException: Failed to construct 'WebSocket': The URL 'ws://192.168.1.140:8080;jsessionid=6997DE0CC6DE76F7A41EB245B456C4B5/zkwm?dtid=z_4910' is invalid.
      at Object.start (http://192.168.1.140:8080/zkau/web/32d7f52b/js/zk.wpd;jsessionid=6997DE0CC6DE76F7A41EB245B456C4B5:1145:232)
      at eval (eval at <anonymous> (http://192.168.1.140:8080/zkau/web/32d7f52b/js/zk.wpd;jsessionid=6997DE0CC6DE76F7A41EB245B456C4B5:52:35), <anonymous>:1:38)
      at Function.afterLoad (http://192.168.1.140:8080/zkau/web/32d7f52b/js/zk.wpd;jsessionid=6997DE0CC6DE76F7A41EB245B456C4B5:489:35)
      at eval (eval at <anonymous> (http://192.168.1.140:8080/zkau/web/32d7f52b/js/zk.wpd;jsessionid=6997DE0CC6DE76F7A41EB245B456C4B5:52:35), <anonymous>:1:4)
      at eval (<anonymous>)
      at http://192.168.1.140:8080/zkau/web/32d7f52b/js/zk.wpd;jsessionid=6997DE0CC6DE76F7A41EB245B456C4B5:52:35
      at Function.globalEval (http://192.168.1.140:8080/zkau/web/32d7f52b/js/zk.wpd;jsessionid=6997DE0CC6DE76F7A41EB245B456C4B5:52:46)
      at Object.script (http://192.168.1.140:8080/zkau/web/32d7f52b/js/zk.wpd;jsessionid=6997DE0CC6DE76F7A41EB245B456C4B5:552:439)
      at m (http://192.168.1.140:8080/zkau/web/32d7f52b/js/zk.wpd;jsessionid=6997DE0CC6DE76F7A41EB245B456C4B5:530:216)
      at Object.process (http://192.168.1.140:8080/zkau/web/32d7f52b/js/zk.wpd;jsessionid=6997DE0CC6DE76F7A41EB245B456C4B5:538:106)
      start @ zk.wpd;jsessionid=6997DE0CC6DE76F7A41EB245B456C4B5:1145
      (anonymous) @ VM3166:1
      afterLoad @ zk.wpd;jsessionid=6997DE0CC6DE76F7A41EB245B456C4B5:489
      (anonymous) @ VM3166:1
      (anonymous) @ zk.wpd;jsessionid=6997DE0CC6DE76F7A41EB245B456C4B5:52
      globalEval @ zk.wpd;jsessionid=6997DE0CC6DE76F7A41EB245B456C4B5:52
      script @ zk.wpd;jsessionid=6997DE0CC6DE76F7A41EB245B456C4B5:552
      m @ zk.wpd;jsessionid=6997DE0CC6DE76F7A41EB245B456C4B5:530
      process @ zk.wpd;jsessionid=6997DE0CC6DE76F7A41EB245B456C4B5:538
      (anonymous) @ zk.wpd;jsessionid=6997DE0CC6DE76F7A41EB245B456C4B5:495
      (anonymous) @ zk.wpd;jsessionid=6997DE0CC6DE76F7A41EB245B456C4B5:498
      setInterval (async)
      (anonymous) @ zk.wpd;jsessionid=6997DE0CC6DE76F7A41EB245B456C4B5:498
      l @ zk.wpd;jsessionid=6997DE0CC6DE76F7A41EB245B456C4B5:96
      fireWith @ zk.wpd;jsessionid=6997DE0CC6DE76F7A41EB245B456C4B5:97
      ready @ zk.wpd;jsessionid=6997DE0CC6DE76F7A41EB245B456C4B5:48
      K @ zk.wpd;jsessionid=6997DE0CC6DE76F7A41EB245B456C4B5:43

            Unassigned Unassigned
            JoseWalker JoseWalker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: