help with Serial connection conflicts
Hello, could some one point me to how I can debug this problem.
Removing and reinstalling connections doesn't appear to work. The serial connections will work for a while, but I then get the following error in signalk dashboard. The only way to clear is by rebooting pi. Signalk restart does not clear the problem.
What signalk logs should I be looking at?
10 Replies
I have a similar problem 2 x 0183 in and 2 x 0183 out. After 2 hours SignalK hangs and I also have to restart the Pi. We have noticed that the Pi's buffer/RAM gradually fills up and then hangs. Maybe the problems are related. We disconnected the 2 outs and the server runs now without problems.
I wonder what that conflict message means? Did you ask in the openllotter forums?
I don’t know enough about how how openplotter handles serial connections, but I assume it has something to do with that.
not being an OpenPlotter developer nor a user I can't help you with the serial connection conflict error message - as Scott said for OpenPlotter specific help your best bet is https://forum.openmarine.net/
i would first address that problem and then the devices going offline
are your devices connected via a USB HUB?
@blohminator i think your problem is not related
yours sounds like https://github.com/SignalK/signalk-server/issues/1575
GitHub
Serial write overrun kills serial connections & server · Issue #157...
I am using signalk-to-nmea0183 to send gps position to my vhf. The data is coming from n2k and the setup produces data more quickly than the 4800 baud connection can handle, but the guard built int...
i think we are mixing two things here...the usb hub was related to @Antony Slack 's problem, where problems with a usb hub connection would match the symptom of several devices not being available all of a sudden
@Antony Slack when this happens you can further nail it down with command
ls -l /dev/ttyOP*
from the command line. this should list all devices with prefix ttyOP - I suspect that it lists nothing, as the sk server process does not see any of the configured devices. I imagine the devices disappear, probably because of a hardware related problemHello, I'll ask there. The Openplotter FB group directed me here but I'll give that a go
@blohminator you can activate debug key
signalk:streams:serialport
in Server Log. this should give you debug messages Writing:... and then 'Buffer overflow, not writing:, but i am not 100% certain things work the way i thinkHi, thanks for this. I'll check in with the openplotter people. I've swapped out a couple of usb hubs thinking that it might have been hardware related. Removing an nmea 2000 input feed removed the signal k conflicting device error messages, yet still had a crash after some time passed.
yes, i understand. it is sometimes hard to figure out where exactly the problem lies, but as I said earlier OpenPlotter Serial is OP specific, while everything within SK Server is same for all.. confusing...
Thanks Teppo