2019-03-22 09:12:44 UTC - Ali Ahmed: not really but some people have looked 
into building a  mqtt gateway for pulsar
<https://github.com/HSLdevcom/pulsar-mqtt-gateway>
----
2019-03-22 16:12:00 UTC - Patrick Johnmeyer: I'm trying to use Pulsar via 
WebSockets, and I'm having an issue after connection is established. I need 
help getting more debug information from Pulsar to figure out what is 
happening. I tried running it like so:

```bash
docker run -it \
  -e "PULSAR_LOG_LEVEL=debug" \
  -p 6650:6650 \
  -p 8080:8080 \
  -v $PWD/data:/pulsar/data \
  apachepulsar/pulsar:2.3.0 \
  bin/pulsar standalone
```

But I still only get the following generic `null` WebSocket error.

```
04:39:29.021 [pulsar-web-55-15] INFO  
org.apache.pulsar.websocket.AbstractWebSocketHandler - [/172.17.0.1:42562] New 
WebSocket session on topic <persistent://public/default/fluent-bit>
04:39:39.006 [pulsar-web-55-13] INFO  
org.apache.pulsar.websocket.AbstractWebSocketHandler - [/172.17.0.1:42562] 
WebSocket error on topic <persistent://public/default/fluent-bit> : null
04:39:39.007 [pulsar-web-55-13] INFO  
org.apache.pulsar.websocket.AbstractWebSocketHandler - [/172.17.0.1:42562] 
Closed WebSocket session on topic <persistent://public/default/fluent-bit>. 
status: 1006 - reason: Disconnected
```
----
2019-03-22 16:19:53 UTC - Grant Wu: @Patrick Johnmeyer Recently began to run 
into a similar issue
----
2019-03-22 16:20:01 UTC - Grant Wu: I believe the fix is to use `PING`
----
2019-03-22 16:20:22 UTC - Grant Wu: Although this might be slightly different
----
2019-03-22 16:20:27 UTC - Grant Wu: Because my issue had reason 1001
----
2019-03-22 16:20:37 UTC - Grant Wu: 
<https://apache-pulsar.slack.com/archives/C5Z4T36F7/p1553183645832800>
----
2019-03-22 16:41:34 UTC - Patrick Johnmeyer: I'll try this, thanks.
----
2019-03-22 16:42:02 UTC - Grant Wu: If this is in node, might be worth moving 
to <#CFTUA9AHK|dev-node>
----
2019-03-22 16:42:05 UTC - Patrick Johnmeyer: Yeah, and my "error on topic" is 
`null` which isn't very helpful. :slightly_smiling_face:
----
2019-03-22 16:42:09 UTC - Grant Wu: Although maybe there should be a 
#dev-websocket ? :thinking_face:
----

Reply via email to