Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello, OpenStudio 7.2.1 (TOS_DI-win-x86_64.exe) during startup remains stucked for about 20 minutes. The problem happens in all Win10-Desktop-PC of our Company, but we have no problems using ours Win10-PC at home. I've done some traces with Wireshark , comparing the startup phase between Company PC and Home PC, and I've found that the issue happens when Open Studio try to connect to localhost websocket GET /websocket/v1/bus, during the Loading SDK components step. As you can see in the photo the last connection in Company-PC is to /api/v1/environment, instead it should be exists also a connection to /websocket/v1/bus. So the client wait 20 minutes of timeout before to go to next steps.
This is the extract from log file:
!ENTRY org.eclipse.core.resources 2 10035 2019-09-25 09:54:37.571
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
!ENTRY org.talend.platform.logging 1 0 2019-09-25 09:54:45.670
!MESSAGE 2019-09-25 09:54:45,670 INFO org.talend.repository.ui.login.LoginProjectPage - validate updatesite...
!ENTRY org.talend.platform.logging 2 0 2019-09-25 09:55:00.315
!MESSAGE 2019-09-25 09:55:00,313 WARN org.talend.sdk.component.studio.logging.JULToOsgiHandler - [org.talend.sdk.component.server.service.ComponentManagerService.init] No system property 'jdk.serialFilter', ensure it is intended
!ENTRY org.talend.platform.logging 4 0 2019-09-25 10:15:03.020
!MESSAGE 2019-09-25 10:15:03,005 ERROR org.talend.commons.exception.CommonExceptionHandler - javax.websocket.DeploymentException: The HTTP request to initiate the WebSocket connection failed
!STACK 0
java.lang.IllegalStateException: javax.websocket.DeploymentException: The HTTP request to initiate the WebSocket connection failed
at org.talend.sdk.component.studio.websocket.WebSocketClient.doConnect(WebSocketClient.java:189)
at org.talend.sdk.component.studio.websocket.WebSocketClient.getOrCreateSession(WebSocketClient.java:158)
at org.talend.sdk.component.studio.websocket.WebSocketClient.sendAndWait(WebSocketClient.java:112)
at org.talend.sdk.component.studio.websocket.WebSocketClient.access$0(WebSocketClient.java:111)
at org.talend.sdk.component.studio.websocket.WebSocketClient$V1ConfigurationType.getRepositoryModel(WebSocketClient.java:249)
at org.talend.sdk.component.studio.metadata.TaCoKitCache.getConfigTypeNodes(TaCoKitCache.java:148)
at org.talend.sdk.component.studio.metadata.TaCoKitCache.getConfigTypeNodeMap(TaCoKitCache.java:155)
at org.talend.sdk.component.studio.util.TaCoKitUtil.registAllTaCoKitRepositoryTypes(TaCoKitUtil.java:288)
at org.talend.sdk.component.studio.service.TaCoKitService.start(TaCoKitService.java:41)
at org.talend.core.repository.model.ProxyRepositoryFactory.logOnProject(ProxyRepositoryFactory.java:2067)
at org.talend.repository.ui.login.LoginHelper$1.run(LoginHelper.java:531)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: javax.websocket.DeploymentException: The HTTP request to initiate the WebSocket connection failed
at org.apache.tomcat.websocket.WsWebSocketContainer.connectToServerRecursive(WsWebSocketContainer.java:488)
at org.apache.tomcat.websocket.WsWebSocketContainer.connectToServer(WsWebSocketContainer.java:197)
at org.talend.sdk.component.studio.websocket.WebSocketClient.doConnect(WebSocketClient.java:168)
... 11 more
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Tentativo di operazione su un elemento diverso dal socket
at sun.nio.ch.PendingFuture.get(Unknown Source)
at org.apache.tomcat.websocket.WsWebSocketContainer.connectToServerRecursive(WsWebSocketContainer.java:343)
... 13 more
Caused by: java.io.IOException: Tentativo di operazione su un elemento diverso dal socket
at sun.nio.ch.WindowsAsynchronousSocketChannelImpl.connect0(Native Method)
at sun.nio.ch.WindowsAsynchronousSocketChannelImpl.access$200(Unknown Source)
at sun.nio.ch.WindowsAsynchronousSocketChannelImpl$ConnectTask.run(Unknown Source)
at sun.nio.ch.WindowsAsynchronousSocketChannelImpl.implConnect(Unknown Source)
at sun.nio.ch.AsynchronousSocketChannelImpl.connect(Unknown Source)
at org.apache.tomcat.websocket.WsWebSocketContainer.connectToServerRecursive(WsWebSocketContainer.java:305)
... 13 more
So, how we could fix the issue or is it possible to lower the timeout period?
Thanks
Hello, we've solved the problems. There was a compatibility issue with Forefront Firewall, that prevented Talend to do websocket connections. We need to remove the Forefront client, because switching it off doesn't give any result.
Hello, we've solved the problems. There was a compatibility issue with Forefront Firewall, that prevented Talend to do websocket connections. We need to remove the Forefront client, because switching it off doesn't give any result.
Hello,
Great you solved your problem by yourself and thanks for sharing your solution with us.
Best regards
Sabrina