By default TURN uses UDP Here is an example on how to turn on TCP mode https://markmail.org/message/fkutdpc3ne4imw4v (please NOTE `TURN_URL=external_nat_ip?transport=tcp` )
On Sun, 16 Aug 2020 at 16:29, kaffeesurrogat <[email protected]> wrote: > Hej Maxim, > > a small sketch to examplify my setup > > > ---------------------------- > --------------------- > OM | | Workplace > | > Admin: kaffeesurrogat | ------> INTERNET -------> | > FIREWALL | ---------> my pC > VPS | | ADMIN: IT-Service > | > external net | | > | > ---------------------------- > --------------------- > > I guess i should ask for the port range > > #min-port=49152 > #max-port=65535 > > is that right ? both udp and tcp ? I don't want to ask too many stupid > questions to my IT people. They are busy. I guess as you are ..... > > Have fun and many thanks, > > kaffeesurrogat > > > On 15/08/2020 04:17, Maxim Solodovnik wrote: > > Ordinary user without special rights can't set-up OM ... ;) > > > > Can you consult with your org. admin regarding ports? > > I'll try to figure out how to set-up 'sort-of' one-port-config > > > > most probably will try to consult @Konstantin Kuzov (he did mention > > such Nginx config) > > > > On Fri, 14 Aug 2020 at 22:45, kaffeesurrogat <[email protected] > > <mailto:[email protected]>> wrote: > > > > This might be the case. I don't know and I really don't know how to > > figure that out. I'm not the admin ;-) > > > > My University rented a BBB instance which has problems with > connecting > > mic/cam to the server, too. Since both do use coturn/kurento you > might > > be right. > > > > I guess an ordinary user with no special rights can't figure out if > > those ports are open, right? > > > > > > On 14/08/2020 14:46, Maxim Solodovnik wrote: > > > Is it possible you have more restrictive network at your work? > > > i.e. necessary ports are closed? > > > > > > On Tue, 11 Aug 2020 at 22:50, kaffeesurrogat > > <[email protected] <mailto:[email protected]> > > > <mailto:[email protected] > > <mailto:[email protected]>>> wrote: > > > > > > a bit more information ..... > > > > > > > > > i've tried with https://om.alteametasoft.com:8443/next .... > > > > > > error message is > > > > > > Media Server Connection for user Kaffee Trinke is failed, > > will try to > > > reconnect > > > > > > and it takes a minute or so and the message vanishes ... the > > > webcam connection is up and running .... this is weird. > > > > > > > > > many thanks .... > > > > > > > > > > > > On 11/08/2020 15:44, kaffeesurrogat wrote: > > > > error does not vanish. > > > > > > > > systemctl restart coturn > > > > > > > > on my second-test-pc with my test user i don't receivce a cam > > > picture, > > > > just the funny man with the question mark. Resizing of > > CamWindow is > > > > undone after the error message appears .... > > > > > > > > > > > > > > > > On 11/08/2020 15:14, Alvaro wrote: > > > >> ...try restart Coturn in your VPS with > > > >> restart command, no stop and after start. > > > >> > > > >> > > > >> > > > >> ............. > > > >> > > > >> > > > >> El mar, 11-08-2020 a las 14:50 +0200, kaffeesurrogat > > escribió: > > > >>> No, the OM installation is running on my VPS. The version > is > > > listed > > > >>> at > > > >>> the end of the mail. > > > >>> > > > >>> There are two scenerios ... > > > >>> > > > >>> > > > >>> 1) Me working at home or even in berlin .... doing a > > > conference using > > > >>> my > > > >>> installiion on my VPS: > > > >>> > > > >>> Works perfetcly > > > >>> > > > >>> 2) Me working at my workplace using the same VPS doesn't > > work. > > > >>> > > > >>> The VPS is rented and belongs to strato not to my workplace > > > >>> > > > >>> > > > >>> Hope this explains it a bit better, > > > >>> > > > >>> kaffeesurrogat > > > >>> > > > >>> > > > >>> > > > >>> On 11/08/2020 13:08, kaffeesurrogat wrote: > > > >>>> Dear List, > > > >>>> > > > >>>> i switched my location and i'm working from my workplace > > > right now. > > > >>>> I do > > > >>>> have some troubles with OM. > > > >>>> At home I do not have any problems. I did set up coturn, > > > >>>> kurento-media-server and om .... > > > >>>> > > > >>>> Right now every 10s or so I get the message: > > > >>>> > > > >>>> ----------------------------- > > > >>>> Media Server Connection for user .... is failed, will > > try to > > > >>>> reconnect > > > >>>> ----------------------------- > > > >>>> > > > >>>> > > > >>>> My meeting guest can't here me. I've testet the mic and > > the cam. > > > >>>> Both > > > >>>> are working. > > > >>>> > > > >>>> catalina.out shows a lot of errors like > > > >>>> > > > >>>> > > > >>>> ERROR 08-11 12:11:39.270 o.a.o.w.c.OmWebSocketPanel:144 > > > >>>> [nio-5443-exec-6] - Error while processing incoming > message > > > >>>> > > org.kurento.client.internal.server.KurentoServerException: Error > > > >>>> adding > > > >>>> candidate (Code:40401, Type:null, Data: > > > >>>> {"type":"ICE_ADD_CANDIDATE_ERROR"}) > > > >>>> at > > > >>>> > > > > > org.kurento.client.internal.transport.jsonrpc.RomClientJsonRpcClien > > > >>>> t.sendRequest(RomClientJsonRpcClient.java:264) > > > >>>> at > > > >>>> > > > > > org.kurento.client.internal.transport.jsonrpc.RomClientJsonRpcClien > > > >>>> t.invoke(RomClientJsonRpcClient.java:117) > > > >>>> at > > > >>>> > > > > > org.kurento.client.internal.transport.jsonrpc.RomClientJsonRpcClien > > > >>>> t.invoke(RomClientJsonRpcClient.java:99) > > > >>>> at > > > >>>> > > > > > org.kurento.client.internal.client.RomManager.invoke(RomManager.jav > > > >>>> a:162) > > > >>>> at > > > >>>> > > > > > org.kurento.client.internal.client.RemoteObject.invoke(RemoteObject > > > >>>> .java:186) > > > >>>> at > > > >>>> > > > > > org.kurento.client.internal.client.RemoteObjectInvocationHandler.in > > < > http://org.kurento.client.internal.client.RemoteObjectInvocationHandler.in > > > > > > > < > http://org.kurento.client.internal.client.RemoteObjectInvocationHandler.in > > > > > >>>> voke(RemoteObjectInvocationHandler.java:182) > > > >>>> at > > > >>>> > > > > > org.kurento.client.internal.client.RemoteObjectInvocationHandler.in > > < > http://org.kurento.client.internal.client.RemoteObjectInvocationHandler.in > > > > > > > < > http://org.kurento.client.internal.client.RemoteObjectInvocationHandler.in > > > > > >>>> ternalInvoke(RemoteObjectInvocationHandler.java:142) > > > >>>> at > > > >>>> > > > > > org.kurento.client.internal.client.DefaultInvocationHandler.invoke( > > > >>>> DefaultInvocationHandler.java:39) > > > >>>> at com.sun.proxy.$Proxy141.addIceCandidate(Unknown > > > Source) > > > >>>> at > > > >>>> > > > > > org.apache.openmeetings.core.remote.KStream.addCandidate(KStream.ja > > > >>>> va:398) > > > >>>> at > > > >>>> > > > > > org.apache.openmeetings.core.remote.StreamProcessor.onMessage(Strea > > > >>>> mProcessor.java:122) > > > >>>> at > > > >>>> > > > > > org.apache.openmeetings.core.remote.KurentoHandler.onMessage(Kurent > > > >>>> oHandler.java:233) > > > >>>> at > > > >>>> > > > > > org.apache.openmeetings.core.remote.Wicket_Proxy_KurentoHandler$$Fa > > > >>>> stClassByCGLIB$$756e116d.invoke(<generated>) > > > >>>> at > > > >>>> > net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) > > > >>>> at > > > >>>> > > > > > org.apache.wicket.proxy.LazyInitProxyFactory$AbstractCGLibIntercept > > > >>>> or.intercept(LazyInitProxyFactory.java:364) > > > >>>> at > > > >>>> > > > > > org.apache.openmeetings.core.remote.Wicket_Proxy_KurentoHandler$$En > > > >>>> hancerByCGLIB$$17b3b2c5.onMessage(<generated>) > > > >>>> at > > > >>>> > > > > > org.apache.openmeetings.web.common.OmWebSocketPanel$2.onMessage(OmW > > > >>>> ebSocketPanel.java:125) > > > >>>> at > > > >>>> org.apache.wicket.protocol.ws > > <http://org.apache.wicket.protocol.ws> > > > > > <http://org.apache.wicket.protocol.ws > >.api.WebSocketBehavior.onEvent(WebSock > > > >>>> etBehavior.java:64) > > > >>>> at > > > >>>> > > > > > org.apache.wicket.settings.FrameworkSettings.dispatchEvent(Framewor > > > >>>> kSettings.java:147) > > > >>>> at > > > >>>> > > > > > org.apache.wicket.ComponentEventSender.dispatchToComponent(Componen > > > >>>> tEventSender.java:292) > > > >>>> at > > > >>>> > > > > > org.apache.wicket.ComponentEventSender$ComponentEventVisitor.compon > > > >>>> ent(ComponentEventSender.java:329) > > > >>>> at > > > >>>> > > > > > org.apache.wicket.ComponentEventSender$ComponentEventVisitor.compon > > > >>>> ent(ComponentEventSender.java:306) > > > >>>> at > > > >>>> > > > > > org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:144) > > > >>>> at > > > >>>> > > > > > org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:162) > > > >>>> at > > > >>>> > > > > > org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:162) > > > >>>> at > > > >>>> > > > > > org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:123) > > > >>>> at > > > >>>> > > > > > org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:192) > > > >>>> at > > > >>>> > > > > > org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.jav > > > >>>> a:988) > > > >>>> at > > > >>>> > > > > > org.apache.wicket.ComponentEventSender.breadth(ComponentEventSender > > > >>>> .java:160) > > > >>>> at > > > >>>> > > > > > org.apache.wicket.ComponentEventSender.send(ComponentEventSender.ja > > > >>>> va:68) > > > >>>> at > > org.apache.wicket.Component.send(Component.java:4418) > > > >>>> at > > > >>>> org.apache.wicket.protocol.ws > > <http://org.apache.wicket.protocol.ws> > > > > > <http://org.apache.wicket.protocol.ws > >.api.WebSocketMessageBroadcastHandler$ > > > >>>> 1.run(WebSocketMessageBroadcastHandler.java:74) > > > >>>> at > > > >>>> org.apache.wicket.protocol.ws > > <http://org.apache.wicket.protocol.ws> > > > > > <http://org.apache.wicket.protocol.ws > >.WebSocketSettings$SameThreadExecutor. > > > >>>> run(WebSocketSettings.java:406) > > > >>>> at > > > >>>> org.apache.wicket.protocol.ws > > <http://org.apache.wicket.protocol.ws> > > > > > <http://org.apache.wicket.protocol.ws > >.api.WebSocketMessageBroadcastHandler. > > > >>>> respond(WebSocketMessageBroadcastHandler.java:97) > > > >>>> at > > > >>>> > > > > > org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respon > > > >>>> d(RequestCycle.java:917) > > > >>>> at > > > >>>> > > > > > org.apache.wicket.request.RequestHandlerExecutor.execute(RequestHan > > > >>>> dlerExecutor.java:63) > > > >>>> at > > > >>>> > > > > > org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.j > > > >>>> ava:283) > > > >>>> at > > > >>>> > > > > > org.apache.wicket.request.cycle.RequestCycle.processRequest(Request > > > >>>> Cycle.java:254) > > > >>>> at > > > >>>> > > > > > org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetac > > > >>>> h(RequestCycle.java:222) > > > >>>> at > > > >>>> org.apache.wicket.protocol.ws > > <http://org.apache.wicket.protocol.ws> > > > > > <http://org.apache.wicket.protocol.ws > >.api.AbstractWebSocketProcessor.broadc > > > >>>> astMessage(AbstractWebSocketProcessor.java:272) > > > >>>> at > > > >>>> org.apache.wicket.protocol.ws > > <http://org.apache.wicket.protocol.ws> > > > > > <http://org.apache.wicket.protocol.ws > >.api.AbstractWebSocketProcessor.onMess > > > >>>> age(AbstractWebSocketProcessor.java:151) > > > >>>> at > > > >>>> org.apache.wicket.protocol.ws > > <http://org.apache.wicket.protocol.ws> > > > > > <http://org.apache.wicket.protocol.ws > >.javax.JavaxWebSocketProcessor$StringM > > > >>>> essageHandler.onMessage(JavaxWebSocketProcessor.java:65) > > > >>>> at > > > >>>> org.apache.wicket.protocol.ws > > <http://org.apache.wicket.protocol.ws> > > > > > <http://org.apache.wicket.protocol.ws > >.javax.JavaxWebSocketProcessor$StringM > > > >>>> essageHandler.onMessage(JavaxWebSocketProcessor.java:60) > > > >>>> at > > > >>>> > > > > > org.apache.tomcat.websocket.WsFrameBase.sendMessageText(WsFrameBase > > > >>>> .java:395) > > > >>>> at > > > >>>> > > > > > org.apache.tomcat.websocket.server.WsFrameServer.sendMessageText(Ws > > > >>>> FrameServer.java:119) > > > >>>> at > > > >>>> > > > > > org.apache.tomcat.websocket.WsFrameBase.processDataText(WsFrameBase > > > >>>> .java:495) > > > >>>> at > > > >>>> > > > > > org.apache.tomcat.websocket.WsFrameBase.processData(WsFrameBase.jav > > > >>>> a:294) > > > >>>> at > > > >>>> > > > > > org.apache.tomcat.websocket.WsFrameBase.processInputBuffer(WsFrameB > > > >>>> ase.java:133) > > > >>>> at > > > >>>> > > > > > org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(Ws > > > >>>> FrameServer.java:82) > > > >>>> at > > > >>>> > > > > > org.apache.tomcat.websocket.server.WsFrameServer.doOnDataAvailable( > > > >>>> WsFrameServer.java:171) > > > >>>> at > > > >>>> > > > > > org.apache.tomcat.websocket.server.WsFrameServer.notifyDataAvailabl > > > >>>> e(WsFrameServer.java:151) > > > >>>> at > > > >>>> > > > > > org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDisp > > > >>>> atch(WsHttpUpgradeHandler.java:148) > > > >>>> at > > > >>>> > > > > > org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch( > > > >>>> UpgradeProcessorInternal.java:54) > > > >>>> at > > > >>>> > > > > > org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorL > > > >>>> ight.java:59) > > > >>>> at > > > >>>> > > > > > org.apache.coyote.AbstractProtocol$ConnectionHandler.process(Abstra > > > >>>> ctProtocol.java:868) > > > >>>> at > > > >>>> org.apache.tomcat.util.net > > <http://org.apache.tomcat.util.net> > > > > > <http://org.apache.tomcat.util.net > >.NioEndpoint$SocketProcessor.doRun(NioEnd > > > >>>> point.java:1590) > > > >>>> at > > > >>>> org.apache.tomcat.util.net > > <http://org.apache.tomcat.util.net> > > > > > <http://org.apache.tomcat.util.net > >.SocketProcessorBase.run(SocketProcessorB > > > >>>> ase.java:49) > > > >>>> at > > > >>>> > > > > > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadP > > > >>>> oolExecutor.java:1128) > > > >>>> at > > > >>>> > > > > > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Thread > > > >>>> PoolExecutor.java:628) > > > >>>> at > > > >>>> > > > > > org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(Task > > > >>>> Thread.java:61) > > > >>>> at java.base/java.lang.Thread.run(Thread.java:834) > > > >>>> DEBUG 08-11 12:11:39.278 o.a.o.c.r.StreamProcessor:91 > > [nio-5443- > > > >>>> exec-6] > > > >>>> - Incoming message from user with ID '7': > > > >>>> > > > > > {"type":"kurento","id":"onIceCandidate","candidate":{"candidate":"c > > > >>>> andidate:0 > > > >>>> 1 UDP 2122252543 > > ef38b809-7c2d-49a8-99f3-c8f51b5068e6.local 60187 > > > >>>> typ > > > >>>> > > > > > host","sdpMid":"1","sdpMLineIndex":1,"usernameFragment":"e11ada84"} > > > >>>> > > ,"uid":"d2b3b7c9-a2d6-47c6-a67f-c0cfba6b4486","luid":"17409455- > > > >>>> bd7c-433b-a9e8-ec5fff77820b"} > > > >>>> > > > >>>> > > ----------------------------------------------------------------- > > > >>>> ----------------------------- > > > >>>> > > > >>>> kurento-media-server logs answers with: > > > >>>> > > > >>>> > > > >>>> 2020-08-11T13:03:42,380723 7938 0x00007fb33b216700 error > > > >>>> kmswebrtcsession kmswebrtcsession.c:451 > > > >>>> kms_webrtc_session_agent_add_ice_candidate() > > > <kmswebrtcsession366> > > > >>>> Adding remote candidate to libnice agent: Parsing failed, > > > >>>> stream_id: '1' > > > >>>> 2020-08-11T13:03:42,388207 7938 0x00007fb33d21a700 info > > > >>>> webrtcendpoint kmswebrtcendpoint.c:451 > > > >>>> kms_webrtc_endpoint_add_ice_candidate() > > > <kmswebrtcendpoint366> Add > > > >>>> remote candidate 'candidate:3 2 TCP 2105524478 > > > >>>> 89e8ccd8-f96c-4f0c-a3b2-d45d5e30cb6c.local 9 typ host > > tcptype > > > >>>> active' > > > >>>> for session 'kmswebrtcendpoint366-sess0' > > > >>>> 2020-08-11T13:03:42,388400 7938 0x00007fb33d21a700 warning > > > >>>> kmsiceniceagent kmsiceniceagent.c:464 > > > >>>> kms_ice_nice_agent_add_ice_candidate() < > > > >>>> KmsIceNiceAgent@0x7fb3240354a0> > > > >>>> [AddIceCandidate] libnice error, remote: 'candidate:3 2 > TCP > > > >>>> 2105524478 > > > >>>> 89e8ccd8-f96c-4f0c-a3b2-d45d5e30cb6c.local 9 typ host > > tcptype > > > >>>> active' > > > >>>> 2020-08-11T13:03:42,388453 7938 0x00007fb33d21a700 error > > > >>>> kmswebrtcsession kmswebrtcsession.c:451 > > > >>>> kms_webrtc_session_agent_add_ice_candidate() > > > <kmswebrtcsession366> > > > >>>> Adding remote candidate to libnice agent: Parsing failed, > > > >>>> stream_id: '1' > > > >>>> > > > >>>> > > > >>>> > > > >>>> > > > >>>> infos about openmeetings: > > > >>>> > > > >>>> Name > > > >>>> Meet,OpenMeetings > > > >>>> Version > > > >>>> 5.0.0-M5-SNAPSHOT > > > >>>> Revision > > > >>>> c5c0381 > > > >>>> Build date > > > >>>> 2020-05-30T05:54:17Z > > > >>>> > > > >>>> > > > >>>> > > > >>>> > > > >>>> Any clues ? > > > >>>> > > > >>>> kaffeesurrogat > > > >>>> > > > >>>> > > > > > > > > > > > > -- > > > Best regards, > > > Maxim > > > > > > > > -- > > Best regards, > > Maxim > > -- Best regards, Maxim
