Scott Bender - I am looking for testers of canboatjs 3.0
I am looking for testers of canboat 3.0
16 Replies
I'll try and get to this, this weekend.
We could create a server PR with docker build enabled to make testing a oneliner for people using docker
I can help as well if necessary
I have released server version 2.15.0-beta.2, this includes canboatjs 3.0
To install:
sudo npm install -g signalk-server@2.15.0-beta.3
To revert: sudo npm install -g signalk-server
SignalK 2.15.0-beta.2 with canboatjs 3.0.2 is up and running on the boat.
Now I'm waiting for the wind to go sailing, and I don't think it has anything to do with the server version...
You may be onto something, @Christian MOTELET. Installed 2.15.0-beta.2 and now it's dead calm and gray skies in Southern California.
@Scott Bender so far so good BTW with canboatjs 3. I can still bring down the CAN connection by running rpi-monitor @ 5 second intervals but otherwise it's looking solid.
Anything special I should test for?
Changes are mostly under the hood, so just make sure you are seeing all the data you normally see, n2k output is normal and any n2k related plugins are working as usual.
@Christian MOTELET what n2k interface are you using?
MCP2515 (inside AIRMAR SmartBoat). Auto-pilot with P70 everything works correctly
if anyone gets a change please update via
sudo npm install -g signalk-server@2.15.0-beta.3
This will updated to the latest canboat (3.1), which has some pretty majors changes
Thanks!!
I released signalk-server@2.15.0-beta.3Loaded beta 3 (upgrading from beta 2). Got an error on startup:
Error: Module did not self-register: '/usr/lib/node_modules/signalk-server/node_modules/socketcan/build/Release/can.node'.
at Module._extensions..node (node:internal/modules/cjs/loader:1586:18)
at Module.load (node:internal/modules/cjs/loader:1288:32)
at Module._load (node:internal/modules/cjs/loader:1104:12)
at Module.require (node:internal/modules/cjs/loader:1311:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (/usr/lib/node_modules/signalk-server/node_modules/socketcan/src/socketcan.ts:27:1)
at Module._compile (node:internal/modules/cjs/loader:1469:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
at Module.load (node:internal/modules/cjs/loader:1288:32)
at Module._load (node:internal/modules/cjs/loader:1104:12)
at Module.require (node:internal/modules/cjs/loader:1311:19)
at require (node:internal/modules/helpers:179:18)
at new CanbusStream (/usr/lib/node_modules/signalk-server/node_modules/@canboat/canboatjs/lib/canbus.js:73:22)
at CanbusStream (/usr/lib/node_modules/signalk-server/node_modules/@canboat/canboatjs/lib/canbus.js:46:12)
at Object.nmea2000input [as NMEA2000] (/usr/lib/node_modules/signalk-server/node_modules/@signalk/streams/simple.js:259:30)
at new Simple (/usr/lib/node_modules/signalk-server/node_modules/@signalk/streams/simple.js:92:34)
at createPipeElement (/usr/lib/node_modules/signalk-server/src/pipedproviders.ts:147:12)
at <anonymous> (/usr/lib/node_modules/signalk-server/src/pipedproviders.ts💯15)
at Array.reduce (<anonymous>)
at createPipedProvider (/usr/lib/node_modules/signalk-server/src/pipedproviders.ts:96:49)
at <anonymous> (/usr/lib/node_modules/signalk-server/src/pipedproviders.ts:160:25)
at Array.reduce (<anonymous>) {
code: 'ERR_DLOPEN_FAILED'
}
Could be a problem with nvm (using it to switch among node versions) compile can.node for one node version, running in another. I'll investigate.
Yeah it's just nvm mismatch issue. Ignore for now. Loading in node 18 FWIW.
1) installing and running under nvm is a nightmare. gave up and unloaded nvm to run 22 and install SK. any suggestions?
2) Possibly unrelated to canboat but do you have any idea where messages like:
Jul 02 12:06:15 z81sIUbcSSq78Zuw5b_vw outgoing buffer > max:2097343
Jul 02 12:06:45 Send buffer overflow, terminating connection z81sIUbcSSq78Zuw5b_vw
are coming from?
FYI latest beta appears to be running fine in node 22 and 18 for that matter.
And no errors running candumpthat comes from something that has a websocket connection open to the server, but is either not read from it, or not reading fast enough. Please start a new thread if you want to discuss that more.
So long as it's not a memory leak, it's harmless as far as I can see.
Apart from the occasional and evidently harmless
signalk:streams:canboatjs [warning] 0 no conversion found for pgn {"canId":4,"prio":0,"src":4,"pgn":0,"dst":0}
I haven't seen or experienced any issues with CanBoat 3.1I just updated to beta.3 on the boat. Everything seems ok.
@Scott Bender how are we on canboatjs3? There's been a flurry of activity, should we get a release out soonish and do we want canboatjs3 in it?
I am pretty close to feeling like it is stable
later this week, I think we should bite the bullet
not getting enough testers here
Beta 4 has been published. I expect this to be last beta before release.
I will only be able to test it on the boat next Saturday.