SignalK / n2k-signalk

NMEA 2000 to Signal K transformer
Apache License 2.0
26 stars 29 forks source link

Call Sign String TypeError #277

Closed JDaviso1 closed 2 days ago

JDaviso1 commented 2 months ago

There appears to be an issue with the Call Sign string. The error repeats in the log every six minutes.

TypeError: Cannot create property 'meta' on string 'WDN2119' at /usr/local/lib/node_modules/signalk-server/node_modules/@signalk/signalk-schema/dist/fullsignalk.js:224:35 at Array.reduce () at addValue (/usr/local/lib/node_modules/signalk-server/node_modules/@signalk/signalk-schema/dist/fullsignalk.js:216:27) at addValues (/usr/local/lib/node_modules/signalk-server/node_modules/@signalk/signalk-schema/dist/fullsignalk.js:188:5) at FullSignalK.addUpdate (/usr/local/lib/node_modules/signalk-server/node_modules/@signalk/signalk-schema/dist/fullsignalk.js:110:5) at FullSignalK.addUpdates (/usr/local/lib/node_modules/signalk-server/node_modules/@signalk/signalk-schema/dist/fullsignalk.js:97:10) at FullSignalK.addDelta (/usr/local/lib/node_modules/signalk-server/node_modules/@signalk/signalk-schema/dist/fullsignalk.js:54:8) at DeltaChain.doProcess (/usr/local/lib/node_modules/signalk-server/lib/deltachain.js:15:18) at DeltaChain.process (/usr/local/lib/node_modules/signalk-server/lib/deltachain.js:11:21) at Server.app.handleMessage (/usr/local/lib/node_modules/signalk-server/lib/index.js:233:38) at Simple. (/usr/local/lib/node_modules/signalk-server/lib/pipedproviders.js:83:17) at Simple.emit (node:events:529:35) at Simple.emit (node:domain:489:12) at addChunk (node:internal/streams/readable:368:12) at readableAddChunk (node:internal/streams/readable:341:9) at Readable.push (node:internal/streams/readable:278:10)

gregsyoung commented 2 weeks ago

same here ... every 6 minutes.

tkurki commented 2 weeks ago

I tried to recreate this, but failed. Could somebody please share a connection data log file when this happens? Can be shared in private.

gregsyoung commented 2 weeks ago

yes, but will need some guidance on how to capture? a “connection data log”

tkurki commented 2 weeks ago

Have a look at https://github.com/SignalK/signalk-server/pull/1827/files

sbender9 commented 4 days ago

I think we are setting callSignVhf incorrectly in the defaults, right?

image