# Websocket Input PlugIn TIBCO Mashery Connection::ConnectRefused

**URL:** <https://discuss.elastic.co/t/websocket-input-plugin-tibco-mashery-connection-connectrefused/229043>\
**Category:** Logstash\
**Created:** [April 21, 2020, 1:00pm UTC](https://discuss.elastic.co/t/websocket-input-plugin-tibco-mashery-connection-connectrefused/229043 "2020-04-21T13:00:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Loris](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/loris/32/45281_2.png) [@Loris](https://discuss.elastic.co/u/Loris)\
**Post date:** [April 21, 2020, 1:00pm UTC](https://discuss.elastic.co/t/websocket-input-plugin-tibco-mashery-connection-connectrefused/229043/1 "2020-04-21T13:00:34Z")

</div>

Hi all,  
I wanted to create a Logstash pipeline that uses the websocket input plugin to connects to a TIBCO Mashery websocket.  
I tried with the following, very simple, pipeline configuration:

```auto
input {
	 websocket {
       id => "ws"
       url => "wss://logstream-api.mashery.com/ecls/subscribe/ ***/***?key=***"
       type => "string"
       mode => "client"
   }
}

filter {}

output {
	stdout {}
}

```

When I run Logstash with this pipeline I get the following output:

```auto
[2020-04-21T08:50:36,324][WARN][logstash.inputs.websocket][main] websocket input client threw exception, restarting {:exception=>#<FTW::Connection::ConnectRefused: logstream-api.mashery.com[34.232.148.67]:80>

```

We tried to contact the websocket and got a reply, so it seems the problem is Logstash.  
The version used is 7.6.2.

Thank you  
Loris

---

<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:** [May 19, 2020, 1:00pm UTC](https://discuss.elastic.co/t/websocket-input-plugin-tibco-mashery-connection-connectrefused/229043/2 "2020-05-19T13:00:46Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
