You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function to publish message via file is not working,
bishbosh_publishFile 0 '/topic/something/0' no 'message' is always throwing an error
Tried different backends, changing read latency, as well as to change file path like './message' '/bish-bosh/message' , './var/run/bish-bosh/lock/servers/...' .'/var/lib/bish-bosh/client/servers/...'
Its almost always the same error :
./bish-bosh: 12: read: arg count
Also tried to change bash to /bin/bash and /bin/sh /usr/bin/env sh
The way i run the program is :
./bish-bosh --verbose 3 -- 'publish-sub.test'
publish-sub.test is not important as it comes up that function doesn't work inside any of handlers as i tried it inmost of them.
I have uploaded relevant logs.
root@571ecc8a8599:/bish-bosh# ./bish-bosh --verbose 3 -- 'publish-sub.test'
bish-bosh: INFO: Using backend 'ncat' (on path '/bin/ncat') with port '3002'
bish-bosh: DEBUG: Passing options to backend 'ncat' using '/bin/ncat' as '-w 30 -v -v URL 3002' (please note spaces ARE handled correctly)
bish-bosh: DEBUG: bishbosh_connection_clientPid is 39981
bish-bosh: INFO: Using stdbuf (stdbuf) with od (od)
bish-bosh: DEBUG: bishbosh_connection_hexConversionPid is 39992
bish-bosh: INFO: Writing CONNECT
bish-bosh: DEBUG: bishbosh_connection_processLoopPid is 39997
Warning: inverse host lookup failed for IP_ADDRESS: No address associated with name
bish-bosh: DEBUG: bishbosh_connection_processingLoopReadInterrupterPid is 40007
bish-bosh: DEBUG: Our Pid is 39649
bish-bosh: NOTICE: Terminate bish-bosh with kill 39649
URL [IP_ADDRESS] 3002 (?) open
bish-bosh: INFO: Received valid CONNACK
./bish-bosh: 12: read: arg count
bish-bosh: FAIL: processLoop failed
root@571ecc8a8599:/bish-bosh# too many output retries : Broken pipe
sent 92, rcvd 4 set-x.log
On the other hand, publishing message as text (bishbosh_PublishText) function is working properly.
Could you please assist or share an example on how to publish message via file.
Hello,
The function to publish message via file is not working,
bishbosh_publishFile 0 '/topic/something/0' no 'message' is always throwing an error
Tried different backends, changing read latency, as well as to change file path like './message' '/bish-bosh/message' , './var/run/bish-bosh/lock/servers/...' .'/var/lib/bish-bosh/client/servers/...'
Its almost always the same error :
./bish-bosh: 12: read: arg count
Also tried to change bash to /bin/bash and /bin/sh /usr/bin/env sh
The way i run the program is :
./bish-bosh --verbose 3 -- 'publish-sub.test'
publish-sub.test is not important as it comes up that function doesn't work inside any of handlers as i tried it inmost of them.
I have uploaded relevant logs.
root@571ecc8a8599:/bish-bosh# ./bish-bosh --verbose 3 -- 'publish-sub.test'
bish-bosh: INFO: Using backend 'ncat' (on path '/bin/ncat') with port '3002'
bish-bosh: DEBUG: Passing options to backend 'ncat' using '/bin/ncat' as '-w 30 -v -v URL 3002' (please note spaces ARE handled correctly)
bish-bosh: DEBUG: bishbosh_connection_clientPid is 39981
bish-bosh: INFO: Using stdbuf (stdbuf) with od (od)
bish-bosh: DEBUG: bishbosh_connection_hexConversionPid is 39992
bish-bosh: INFO: Writing CONNECT
bish-bosh: DEBUG: bishbosh_connection_processLoopPid is 39997
Warning: inverse host lookup failed for IP_ADDRESS: No address associated with name
bish-bosh: DEBUG: bishbosh_connection_processingLoopReadInterrupterPid is 40007
bish-bosh: DEBUG: Our Pid is 39649
bish-bosh: NOTICE: Terminate bish-bosh with kill 39649
URL [IP_ADDRESS] 3002 (?) open
bish-bosh: INFO: Received valid CONNACK
./bish-bosh: 12: read: arg count
bish-bosh: FAIL: processLoop failed
root@571ecc8a8599:/bish-bosh# too many output retries : Broken pipe
sent 92, rcvd 4
set-x.log
On the other hand, publishing message as text (bishbosh_PublishText) function is working properly.
Could you please assist or share an example on how to publish message via file.
Additionaly:
error code returned:
echo $?
2
OS : NAME="Ubuntu"
VERSION="16.04.7 LTS (Xenial Xerus)"
The text was updated successfully, but these errors were encountered: