You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having trouble using the Translation Manager with a specific combination of files. I have a *.g.xlf file and a *.de-DE.xlf file. When I only open the Translation Manager with the *.g.xlf file in the folder it works, same if only the *.de-DE.xlf file exists (even though I cannot work on the translations then, because the source is empty). But if both files are in the folder I always get this error "WebSocket closed with status code: 1009 ()"
When I try to refresh afterwards if just shows "Cannot send data if the connection is not in the "Connected" State"
I'll attach you VS Codes Dev Tools output, hopefully this helps
[Extension Host] [2023-06-09T15:10:08.689Z] Debug: Starting HubConnection.
console.ts:137 [Extension Host] [2023-06-09T15:10:08.690Z] Debug: Starting connection with transfer format 'Text'.
console.ts:137 [Extension Host] [2023-06-09T15:10:08.690Z] Debug: Sending negotiation request: http://localhost:30000/alstudio/negotiate?negotiateVersion=1.
console.ts:137 [Extension Host] No script files found.
console.ts:137 [Extension Host] Start watching workspace for new script files.
console.ts:137 [Extension Host] [2023-06-09T15:10:09.163Z] Debug: Selecting transport 'WebSockets'.
console.ts:137 [Extension Host] [2023-06-09T15:10:09.255Z] Information: WebSocket connected to ws://localhost:30000/alstudio?id=SsT9bXUapJU41JOkoe--Vw.
console.ts:137 [Extension Host] [2023-06-09T15:10:09.255Z] Debug: The HttpConnection connected successfully.
console.ts:137 [Extension Host] [2023-06-09T15:10:09.255Z] Debug: Sending handshake request.
console.ts:137 [Extension Host] [2023-06-09T15:10:09.257Z] Information: Using HubProtocol 'json'.
console.ts:137 [Extension Host] [2023-06-09T15:10:09.308Z] Debug: Server handshake complete.
console.ts:137 [Extension Host] [2023-06-09T15:10:09.309Z] Debug: HubConnection connected successfully.
console.ts:137 [Extension Host] [AL Studio][2023-06-09T15:10:09.465Z][Info]: Extension "dynasist.al-studio" is now activated.
console.ts:137 [Extension Host] [AL Studio][2023-06-09T15:14:34.618Z][Info]: Workspace processed in 5693ms
bundle.js:270
e {vscode: {…}}
{start: 'translation-manager', options: {…}, settings: {…}}
console.ts:137 [Extension Host] [2023-06-09T15:14:41.749Z] Debug: HttpConnection.stopConnection(Error: WebSocket closed with status code: 1009 ().) called while in state Connected.
log.ts:441 ERR [Extension Host] [2023-06-09T15:14:41.749Z] Error: Connection disconnected with error 'Error: WebSocket closed with status code: 1009 ().'.
console.ts:137 [Extension Host] [2023-06-09T15:14:41.749Z] Error: Connection disconnected with error 'Error: WebSocket closed with status code: 1009 ().'.
console.ts:137 [Extension Host] [2023-06-09T15:14:41.749Z] Debug: HubConnection.connectionClosed(Error: WebSocket closed with status code: 1009 ().) called while in state Connected.
console.ts:137 [Extension Host] [2023-06-09T15:14:41.749Z] Information: Connection reconnecting because of error 'Error: WebSocket closed with status code: 1009 ().'.
console.ts:137 [Extension Host] [AL Studio][2023-06-09T15:14:41.750Z][Warning]: Backend connection lost due to error "Error: WebSocket closed with status code: 1009 ().". Reconnecting.
console.ts:137 [Extension Host] [2023-06-09T15:14:41.750Z] Information: Reconnect attempt number 1 will start in 3000 ms.
notificationsAlerts.ts:42 WebSocket closed with status code: 1009 ().
log.ts:441 ERR [Extension Host] [AL Studio][2023-06-09T15:14:41.750Z][Error]: Failed to execute command: LoadTranslations Error: WebSocket closed with status code: 1009 ().
at t.close (c:\Users\simonofhh\.vscode\extensions\dynasist.al-studio-0.9.934\out\node_modules\@microsoft\signalr.js:1:43412)
at s.onclose (c:\Users\simonofhh\.vscode\extensions\dynasist.al-studio-0.9.934\out\node_modules\@microsoft\signalr.js:1:42511)
at S.i (c:\Users\simonofhh\.vscode\extensions\dynasist.al-studio-0.9.934\out\node_modules\ws.js:1:28980)
at S.emit (node:events:526:28)
at S.emitClose (c:\Users\simonofhh\.vscode\extensions\dynasist.al-studio-0.9.934\out\node_modules\ws.js:1:13554)
at Socket.M (c:\Users\simonofhh\.vscode\extensions\dynasist.al-studio-0.9.934\out\node_modules\ws.js:1:16721)
at Socket.emit (node:events:526:28)
at TCP.<anonymous> (node:net:687:12)
console.ts:137 [Extension Host] [AL Studio][2023-06-09T15:14:41.750Z][Error]: Failed to execute command: LoadTranslations Error: WebSocket closed with status code: 1009 ().
at t.close (c:\Users\simonofhh\.vscode\extensions\dynasist.al-studio-0.9.934\out\node_modules\@microsoft\signalr.js:1:43412)
at s.onclose (c:\Users\simonofhh\.vscode\extensions\dynasist.al-studio-0.9.934\out\node_modules\@microsoft\signalr.js:1:42511)
at S.i (c:\Users\simonofhh\.vscode\extensions\dynasist.al-studio-0.9.934\out\node_modules\ws.js:1:28980)
at S.emit (node:events:526:28)
at S.emitClose (c:\Users\simonofhh\.vscode\extensions\dynasist.al-studio-0.9.934\out\node_modules\ws.js:1:13554)
at Socket.M (c:\Users\simonofhh\.vscode\extensions\dynasist.al-studio-0.9.934\out\node_modules\ws.js:1:16721)
at Socket.emit (node:events:526:28)
at TCP.<anonymous> (node:net:687:12)
[Extension Host] [2023-06-09T15:14:44.756Z] Debug: Starting connection with transfer format 'Text'.
console.ts:137 [Extension Host] [2023-06-09T15:14:44.756Z] Debug: Sending negotiation request: http://localhost:30000/alstudio/negotiate?negotiateVersion=1.
console.ts:137 [Extension Host] [2023-06-09T15:14:44.766Z] Debug: Selecting transport 'WebSockets'.
console.ts:137 [Extension Host] [2023-06-09T15:14:44.775Z] Information: WebSocket connected to ws://localhost:30000/alstudio?id=jnu00Q9XYbFm-CISuJru0Q.
console.ts:137 [Extension Host] [2023-06-09T15:14:44.775Z] Debug: The HttpConnection connected successfully.
console.ts:137 [Extension Host] [2023-06-09T15:14:44.775Z] Debug: Sending handshake request.
console.ts:137 [Extension Host] [2023-06-09T15:14:44.776Z] Information: Using HubProtocol 'json'.
console.ts:137 [Extension Host] [2023-06-09T15:14:44.778Z] Debug: Server handshake complete.
console.ts:137 [Extension Host] [2023-06-09T15:14:44.778Z] Information: HubConnection reconnected successfully.
console.ts:137 [Extension Host] [AL Studio][2023-06-09T15:14:44.778Z][Info]: Backend connection has beed restored.
console.ts:137 [Extension Host] [AL Studio][2023-06-09T15:14:46.227Z][Info]: Workspace processed in 1447ms
console.ts:137 [Extension Host] [2023-06-09T15:14:53.900Z] Debug: HttpConnection.stopConnection(Error: WebSocket closed with status code: 1009 ().) called while in state Connected.
log.ts:441 ERR [Extension Host] [2023-06-09T15:14:53.900Z] Error: Connection disconnected with error 'Error: WebSocket closed with status code: 1009 ().'.
console.ts:137 [Extension Host] [2023-06-09T15:14:53.900Z] Error: Connection disconnected with error 'Error: WebSocket closed with status code: 1009 ().'.
console.ts:137 [Extension Host] [2023-06-09T15:14:53.900Z] Debug: HubConnection.connectionClosed(Error: WebSocket closed with status code: 1009 ().) called while in state Connected.
console.ts:137 [Extension Host] [2023-06-09T15:14:53.900Z] Information: Connection reconnecting because of error 'Error: WebSocket closed with status code: 1009 ().'.
console.ts:137 [Extension Host] [AL Studio][2023-06-09T15:14:53.900Z][Warning]: Backend connection lost due to error "Error: WebSocket closed with status code: 1009 ().". Reconnecting.
console.ts:137 [Extension Host] [2023-06-09T15:14:53.901Z] Information: Reconnect attempt number 1 will start in 3000 ms.
console.ts:137 [Extension Host] rejected promise not handled within 1 second: Error: WebSocket closed with status code: 1009 ().
console.ts:137 [Extension Host] stack trace: Error: WebSocket closed with status code: 1009 ().
at t.close (c:\Users\simonofhh\.vscode\extensions\dynasist.al-studio-0.9.934\out\node_modules\@microsoft\signalr.js:1:43412)
at s.onclose (c:\Users\simonofhh\.vscode\extensions\dynasist.al-studio-0.9.934\out\node_modules\@microsoft\signalr.js:1:42511)
at S.i (c:\Users\simonofhh\.vscode\extensions\dynasist.al-studio-0.9.934\out\node_modules\ws.js:1:28980)
at S.emit (node:events:526:28)
at S.emitClose (c:\Users\simonofhh\.vscode\extensions\dynasist.al-studio-0.9.934\out\node_modules\ws.js:1:13554)
at Socket.M (c:\Users\simonofhh\.vscode\extensions\dynasist.al-studio-0.9.934\out\node_modules\ws.js:1:16721)
at Socket.emit (node:events:526:28)
at TCP.<anonymous> (node:net:687:12)
mainThreadExtensionService.ts:80 [[object Object]]WebSocket closed with status code: 1009 ().
mainThreadExtensionService.ts:81 Error: WebSocket closed with status code: 1009 ().
at t.close (c:\Users\simonofhh\.vscode\extensions\dynasist.al-studio-0.9.934\out\node_modules\@microsoft\signalr.js:1:43412)
at s.onclose (c:\Users\simonofhh\.vscode\extensions\dynasist.al-studio-0.9.934\out\node_modules\@microsoft\signalr.js:1:42511)
at S.i (c:\Users\simonofhh\.vscode\extensions\dynasist.al-studio-0.9.934\out\node_modules\ws.js:1:28980)
at S.emit (node:events:526:28)
at S.emitClose (c:\Users\simonofhh\.vscode\extensions\dynasist.al-studio-0.9.934\out\node_modules\ws.js:1:13554)
at Socket.M (c:\Users\simonofhh\.vscode\extensions\dynasist.al-studio-0.9.934\out\node_modules\ws.js:1:16721)
at Socket.emit (node:events:526:28)
This repeats every 3 seconds. Any idea what I can do? I already tried downgrading to the previous version, re-installing completely, rebooting. Nothing changes.
Thanks for your help
The text was updated successfully, but these errors were encountered:
Hi @martonsagi
Used version: v0.9.934
I'm having trouble using the Translation Manager with a specific combination of files. I have a *.g.xlf file and a *.de-DE.xlf file. When I only open the Translation Manager with the *.g.xlf file in the folder it works, same if only the *.de-DE.xlf file exists (even though I cannot work on the translations then, because the source is empty). But if both files are in the folder I always get this error "WebSocket closed with status code: 1009 ()"
When I try to refresh afterwards if just shows "Cannot send data if the connection is not in the "Connected" State"
I'll attach you VS Codes Dev Tools output, hopefully this helps
This repeats every 3 seconds. Any idea what I can do? I already tried downgrading to the previous version, re-installing completely, rebooting. Nothing changes.
Thanks for your help
The text was updated successfully, but these errors were encountered: