【发布时间】:2019-04-04 08:09:45
【问题描述】:
我已经在 WS 上配置了 kurento。它的 Spring Boot 应用程序在 https://localhost:8443 (tomcat) 上运行。
日志:
s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8443 (https)
DEBUG 4730 --- [apterApp.main()] o.s.w.c.s.StandardServletEnvironment : Adding [server.ports] PropertySource with highest search precedence
INFO 4730 --- [apterApp.main()] com.io.AdapterApp : Started AdapterApp in 14.041 seconds (JVM running for 29.346)
使用以下命令启动启动应用程序:
sudo mvn compile exec:java Dkms.url=ws://io-storage:8888/kurento
Websocket 在 8888 端口上运行。 (不安全的 WS)。
创建房间时,请求是 ws://io-storage:8888/call
但是当请求发送到 kurento 服务器时出现以下错误
2018-10-31 13:12:23,252181 2009 [0x00007fe37ce5b700] error KurentoWebSocketTransport WebSocketTransport.cpp:455 openHandler() Invalid path "/call", closing connection
【问题讨论】:
标签: reactjs maven spring-boot websocket kurento