-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible bug in canbus.js? #263
Comments
The log message that you included is not an error, but output from some extra logging that I accidentally included in the latest. It should not affect the way things work in any way. Does your connection report status in the Dashboard? Anything else noteworthy further down in the server log? |
In the dashboard, the connection appears completely idle. No deltas at all. I'm not sure if it's worth mentioning, but this are the firsts lines after a server restart:
Also, I tried reinstalling SignalK (after making a proper backup) and test without any other plugin installed. The result is the same. I think is worth mentioning that as explained in this openmarine thread, wiring issues are discarded: https://forum.openmarine.net/showthread.php?tid=5226&pid=29085#pid29085 |
I noticed all this in the logs, but the n2k devices dont receive anything
|
Can you please trying the following:
Do you get anything? If you want to take canboatjs out of the picture, try |
I will try tomorrow and report back. |
That install won't effect Signal K, but trying candumpjs may give us some insight into the issue... |
I tried installing and running candumpjs and this is the result, which seems totally fine :S
candump also seems to work fine:
This makes me even more lost :S On SignalK's dashboard, there's still no activity on can0 connection, but on the MacArthur HAT I can see the can leds blinking properly. |
I tried disabling ALL other SignalK plugins except for signalk-to-nmea200, and now I can see this error:
|
I also found this error: |
What is your Node version? |
My node versión is 20.11.1 |
No need for downgrade, I am barking up the wrong tree, the "not found" error is unrelated. That is probably triggered by a device on your network that is trying to make an access request. |
I don't think is related, but also found this error in SignalK's server log: |
I really appreaciate your time helping me and I'm sorry for the time lost. After all it seems the problem is related to the NMEA2000 network wiring. Nothing to do with SignalK or the plugin. |
Hello,
I'm not sure if this is the correct place to post the issue, but i'm facing this error when starting SignalK:
Mar 07 13:02:16 Trace at new CanbusStream (/usr/lib/node_modules/signalk-server/node_modules/@canboat/canboatjs/lib/canbus.js:57:12) 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/lib/pipedproviders.js:103:16) at /usr/lib/node_modules/signalk-server/lib/pipedproviders.js:72:30 at Array.reduce () at createPipedProvider (/usr/lib/node_modules/signalk-server/lib/pipedproviders.js:70:55) at /usr/lib/node_modules/signalk-server/lib/pipedproviders.js:110:37 at Array.reduce () at Object.startProviders [as start] (/usr/lib/node_modules/signalk-server/lib/pipedproviders.js:107:62) at Server. (/usr/lib/node_modules/signalk-server/lib/index.js:321:75) at Generator.next () at fulfilled (/usr/lib/node_modules/signalk-server/lib/index.js:23:58) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
After this error, there's no N2K input or output.
Also, I'm not sure if this is a problem with this library, the plugin itself, or signalk
The text was updated successfully, but these errors were encountered: