# Websocket output broken in 2.2?

**URL:** <https://discuss.elastic.co/t/websocket-output-broken-in-2-2/42441>\
**Category:** Logstash\
**Created:** [February 23, 2016, 12:20am UTC](https://discuss.elastic.co/t/websocket-output-broken-in-2-2/42441 "2016-02-23T00:20:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![uduncanu](https://avatars.discourse-cdn.com/v4/letter/u/d26b3c/32.png) [@uduncanu](https://discuss.elastic.co/u/uduncanu)\
**Post date:** [February 23, 2016, 12:20am UTC](https://discuss.elastic.co/t/websocket-output-broken-in-2-2/42441/1 "2016-02-23T00:20:49Z")

</div>

I'm getting the error "Errno::EADDRINUSE: Address already in use - bind - Address already in use" when using the websocket output after upgrading from Logstash 2.1 to 2.2. I've also tried it on a clean install of Logstash 2.2.2 with the only additional plugin being logstash-output-websocket, with the same results.

The Logstash config I've been trying to use is:

```
input {
    stdin {}
}
filter {}
output {
    websocket {
        port => 32125
        host => "127.0.0.1"
        workers => 1
    }
}

```

The port is a random one and not being used by anything else - changing it makes no difference to the output. I've set it to 1 worker (tried without it set too) and also tried with -w 1 just in case it was starting multiple workers all trying to bind to the same port, but none of that helped.

I'm guessing this is a bug in Logstash at this point, and I can see there's a bug report about it [here](https://github.com/logstash-plugins/logstash-output-websocket/issues/4) which has had no traction for 2 weeks. Where's the best place to take this, or can anyone think of a fix for this problem?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 5:10am UTC](https://discuss.elastic.co/t/websocket-output-broken-in-2-2/42441/2 "2017-07-06T05:10:12Z")

</div>


