Application info -->
Companion App Version: 1.2.2
Infrastruktur: Citrix VDA Multi User Server Farm
Citrix Version: Citrix 7.15 LTSR CU3
OS: Windows Server 2016 Version 1607
Error sample -->
This happens if nobody has the application open on the host:
info: adc:browser 2020-09-14T08:32:39.685Z direct websocket launched successfully on port: 31459
This happens if someone else already has the application open on the host:
error: adc:browser 2020-09-14T08:31:46.789Z Error: listen EADDRINUSE: address already in use 127.0.0.1:31459
at Server.setupListenHandle [as _listen2] (net.js:1300:14)
at listenInCluster (net.js:1348:12)
at doListen (net.js:1487:7)
at processTicksAndRejections (internal/process/task_queues.js:81:21)
Hi @Stephan Maass ,
Which version of Confluence are you using?
This error is to be expected, Companion runs a local websocket server which is used in Confluence Server 6.11 - 7.2 (and Confluence Cloud). This method of connecting is incompatible with Citrix virtual desktop environments. Since Confluence 7.3, Confluence connects to Companion in a completely different way (using a custom URI handler) which is compatible with Citrix virtual environments. If you are using Confluence 7.3+ then the Companion error can be safely ignored. Companion 1.2.2 is backwards compatible which is why we still attempt to run that local server.
Alex (Developer at Atlassian)
Hi @Stephan Maass ,
At this stage we do not ship a separate Companion version without backwards compatibility. We do not have a configuration option to disable the local websocket server, it is a great idea so I have created a suggestion here.
Please vote on the linked Jira ticket to raise it to team's attention.
Also just noting that although the error message is annoying, it does not have any negative consequences if you are not using older versions of Confluence.
In Companion 1.3.0, you can now disable the launching of the local websocket server by modifying the companionConfig.json file in the install directory and setting
The location of this config file is:
For the .exe:
For the .msi:
C:\Program Files (x86)\Atlassian Companion/resources/companionConfig.json
For the .dmg:
When the versions of Confluence supporting websockets reach End of Life, then we will disable the websocket server by default and eventually remove it entirely.
Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events