# IPFS PubSub not working properly

**URL:** <https://discuss.ipfs.tech/t/ipfs-pubsub-not-working-properly/1560>\
**Category:** Help\
**Tags:** js-ipfs\
**Created:** [December 4, 2017, 10:06pm UTC](https://discuss.ipfs.tech/t/ipfs-pubsub-not-working-properly/1560 "2017-12-04T22:06:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rmnoff](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/rmnoff/32/415_2.png) [@rmnoff](https://discuss.ipfs.tech/u/rmnoff)\
**Post date:** [December 4, 2017, 10:06pm UTC](https://discuss.ipfs.tech/t/ipfs-pubsub-not-working-properly/1560/1 "2017-12-04T22:06:26Z")

</div>

Hello, folks!  
Right now I am working on PubSub chat for my application and as I go further it starts to break…  
Actually, today I borrowed my friend’s mac for testing and I saw, that when I use:

````auto
jsipfs sub foo
jsipfs pub foo "Hello"```

it doesn't show up in my friends IPFS even when we were having same wi-fi network connection.

```jsipfs swarm peers```

shows lot of peers around, so I don't think that it could be caused by router or something else.
I am using js-ipfs 0.26.0 and js-pubsub-room also.
````

---

<div class="post-metadata">

**Author:** ![rmnoff](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/rmnoff/32/415_2.png) [@rmnoff](https://discuss.ipfs.tech/u/rmnoff)\
**Post date:** [December 5, 2017, 12:05pm UTC](https://discuss.ipfs.tech/t/ipfs-pubsub-not-working-properly/1560/2 "2017-12-05T12:05:06Z")

</div>

It is still actual for me, because I am using same structure as in screencasts and is not working properly

---

<div class="post-metadata">

**Author:** ![rmnoff](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/rmnoff/32/415_2.png) [@rmnoff](https://discuss.ipfs.tech/u/rmnoff)\
**Post date:** [December 5, 2017, 1:58pm UTC](https://discuss.ipfs.tech/t/ipfs-pubsub-not-working-properly/1560/3 "2017-12-05T13:58:40Z")

</div>

After doing some research I found out, that the problem is in js-ipfs. Seems like it is not working proper way. I want to update it to version 0.27.0, but I don’t know if the issue is solved.

---

<div class="post-metadata">

**Author:** ![rmnoff](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/rmnoff/32/415_2.png) [@rmnoff](https://discuss.ipfs.tech/u/rmnoff)\
**Post date:** [December 6, 2017, 2:46pm UTC](https://discuss.ipfs.tech/t/ipfs-pubsub-not-working-properly/1560/4 "2017-12-06T14:46:40Z")

</div>

Successfully updated to js-ipfs 0.27.0, but nothing changed. Looks like there is an issue due to pubsub at all. I am subbing to the same channel from two laptops, which are both connected to the same network and they are unable to see each other and even more interesting is that laptops get different list of peers, when using  
`ipfs pubsub peers`

---

<div class="post-metadata">

**Author:** ![cbluth](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/cbluth/32/151_2.png) [@cbluth](https://discuss.ipfs.tech/u/cbluth)\
**Post date:** [December 8, 2017, 2:36am UTC](https://discuss.ipfs.tech/t/ipfs-pubsub-not-working-properly/1560/5 "2017-12-08T02:36:56Z")

</div>

Try the ipfs-go binary, that’s what most people are using for the most recent features like pubsub.
