Open Haves1001 opened 9 years ago
Thanks for taking time the time to report a problem. It looks like an undeclared variable. These can be quite hard to debug in shell script. Could you modify your script to have a set -x (eg as the second line of bish-bosh) and publish the resultant stderr output here or as a gist, please?
Hopefully I got it right. Does this gist help you?
Ta. Let me start taking a look. I'm mostly tidied up until Monday, so I may not get back to you until then.
Ok thanks anyway for your effort and your time. That is some great piece of software you developed!
I've made a bug fix and a new release - https://github.com/raphaelcohn/bish-bosh/releases/tag/release_2015.0629.0920-4 . Having problems with network connectivity at the moment, so there may still be issues. Could you test and let me know?
This seems to be working. At least it isn't throwing an error anymore.
Unfortunately I don't receive the messages I sent. As far as I read the logs properly.
sudo ./mqtt/bish-bosh/bish-bosh --verbose 2 -- /tmp/bish-bosh2.example
bish-bosh: INFO: Using backend 'ncat' (on path '/usr/bin/ncat') with port '1883'
bish-bosh: INFO: Using stdbuf (stdbuf) with od (od)
bish-bosh: INFO: Writing CONNECT
Ncat: Version 6.00 ( http://nmap.org/ncat )
bish-bosh: NOTICE: Terminate bish-bosh with kill 21678
Ncat: Connected to 85.119.83.194:1883.
bish-bosh: INFO: Received valid CONNACK
Hmmm... On 29 Jun 2015 13:51, "Henning von See" notifications@github.com wrote:
This seems to be working. At least it isn't throwing an error anymore.
Unfortunately I don't receive the messages I sent. As far as I read the logs properly.
sudo ./mqtt/bish-bosh/bish-bosh --verbose 2 -- /tmp/bish-bosh2.example bish-bosh: INFO: Using backend 'ncat' (on path '/usr/bin/ncat') with port '1883' bish-bosh: INFO: Using stdbuf (stdbuf) with od (od) bish-bosh: INFO: Writing CONNECT Ncat: Version 6.00 ( http://nmap.org/ncat ) bish-bosh: NOTICE: Terminate bish-bosh with kill 21678 Ncat: Connected to 85.119.83.194:1883. bish-bosh: INFO: Received valid CONNACK
— Reply to this email directly or view it on GitHub https://github.com/raphaelcohn/bish-bosh/issues/4#issuecomment-116647029 .
But it seems like they are sent.
bish-bosh: INFO: processLoop terminating because of signal
bish-bosh: INFO: Writing DISCONNECT
Ncat: 2577 bytes sent, 15 bytes received in 20.69 seconds.
Could you send me another set -x gist? On 29 Jun 2015 13:53, "Henning von See" notifications@github.com wrote:
But it seems like they are sent.
bish-bosh: INFO: processLoop terminating because of signal bish-bosh: INFO: Writing DISCONNECT Ncat: 2577 bytes sent, 15 bytes received in 20.69 seconds.
— Reply to this email directly or view it on GitHub https://github.com/raphaelcohn/bish-bosh/issues/4#issuecomment-116647756 .
Sure. I hope this helps:
Ok ill take a look. On 29 Jun 2015 13:59, "Henning von See" notifications@github.com wrote:
Sure. I hope this helps:
https://gist.github.com/henningvs/07e3f3c4a867be24eb4b
— Reply to this email directly or view it on GitHub https://github.com/raphaelcohn/bish-bosh/issues/4#issuecomment-116650183 .
Thanks, let me know if you need more information.
Sorry I haven't been able to look at this yet.
I also have problem with raspbian: https://gist.github.com/CODeRUS/5c768e9eca696f6cc59bf2b7da7f92ad
I tried to execute the following test code on my raspberry pi:
And get the following error. This is caused by
bishbosh_publishText
. Is there a mistake I don't see?