$ ipfs version --all
go-ipfs version: 0.4.10-
Repo version: 5
System version: amd64/windows
Golang version: go1.8.3
Terminal number 2 should dump message "test". No message is shown, until I shutdown the daemon through Ctrl-C.
It might be just a problem with flushing the stdout. Could you try listening using js-ipfs-api or manually using HTTP?
Just used manually HTTP and I still get nothing:
mkara@DELLMK MINGW64 /d/crates/repos
$ curl "http://localhost:5001/api/v0/pubsub/sub?arg=mariosk&discover=true"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:23 --:--:-- 0
Despite the fact I send messages over this topic:
$ curl "http://localhost:5001/api/v0/pubsub/pub?arg=mariosk&arg=test123"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
The same commands in linux work fine.
Could this have been solved with https://github.com/ipfs/go-ipfs-api/pull/63#issuecomment-345971096 ?
Any updates on this issue?
@wehriam
I've heard reports of this from a few users for a while now but have never been able to reproduce it on any of my machines or VMs under any combination (for example even non-local non-windows published messages show up for me on a Windows host, and vice-versa).
This will require some investigation.
This is an old screenshot of mine but I'm sure pubsub was working for me prior to this revision as well.

Here is one from my current build

Let me know if there鈥檚 any way I can assist.
I suppose what we need, is to find some common ground between machines that are experiencing this problem. Without a reproducible test case, this is hard to diagnose.
So far I've had success on Windows 7 and Windows 10, both on real hardware and virtual (VMware). Under different consoles (Win32, mintty, and ConEmu) as well as under different shells (cmd.exe, Powershell, MSYS bash).
@mariosk, @wehriam
Can you tell me a little more about the environments you're having trouble with? Any details that may be particular to your setups, or special tools that are used that may be related (like a different console program, shell, etc.).
Dear @djdv I've just tried again with ipfs v0.4.14 on my win10 using a cmd console and everything worked fine.
Most helpful comment
Just used manually HTTP and I still get nothing:
mkara@DELLMK MINGW64 /d/crates/repos
$ curl "http://localhost:5001/api/v0/pubsub/sub?arg=mariosk&discover=true"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:23 --:--:-- 0
Despite the fact I send messages over this topic:
$ curl "http://localhost:5001/api/v0/pubsub/pub?arg=mariosk&arg=test123"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
The same commands in linux work fine.