get it where it's manageable. I get the folowing error message all the time. Is there a way to fix this, or is a live with condition.
Tue Feb 22 13:49:57 2022 master/a8a6ca229
srvc 0000 MRC-Connector Invalid MRC line: Biden green-lit it)?~
Re: MRC Module
By: DesotoFireflite to echicken on Tue Feb 22 2022 14:10:58
get it where it's manageable. I get the folowing error message all
the time. Is there a way to fix this, or is a live with condition.
Tue Feb 22 13:49:57 2022 master/a8a6ca229
srvc 0000 MRC-Connector Invalid MRC line: Biden green-lit it)?~
Something is sending lines that don't follow the MRC format. IIRC each line is meant to contain the user name, the BBS name, the channel, the message, and some other stuff, with each of these fields being separated by a ~.
Would you guess that these lines are originating from your BBS, or that they're coming in from somewhere else? (Is anyone on your BBS and using MRC when this happens? Are they typing the messages about Biden and the Ukraine or whatever turns up in the log?)
It's possible that the protocol has changed since I wrote the client, or I'm not handling multi-line messages properly, or somebody wrote a broken
Re: MRC Module
By: DesotoFireflite to echicken on Tue Feb 22 2022 14:10:58
get it where it's manageable. I get the folowing error message all the time. Is there a way to fix this, or is a live with condition.
Tue Feb 22 13:49:57 2022 master/a8a6ca229
srvc 0000 MRC-Connector Invalid MRC line: Biden green-lit it)?~
Something is sending lines that don't follow the MRC format. IIRC each line is meant to contain the user name, the BBS name, the channel, the message, and some other stuff, with each of these fields being separated by a ~.
Would you guess that these lines are originating from your BBS, or that they're coming in from somewhere else? (Is anyone on your BBS and using MRC when this happens? Are they typing the messages about Biden and the Ukraine or whatever turns up in the log?)
It's possible that the protocol has changed since I wrote the client, or I'm not handling multi-line messages properly, or somebody wrote a broken MRC client/bot/whatever that's generating bad messages. Hard to say.
No, it's coming from outside of my system, I checked, and no one has been
I tried changing the line in mrc-connector.js:
from
log(LOG_ERR, 'Invalid MRC line: ' + line):
to
log(LOG_INFO, 'Invalid MRC line: ' + line):
but it didn't like it, and gave me another error, which I can't remember.
Hope this info helps. Where is the actual log file kept, and what is it's name for the info and debug info.
Hope this info helps. Where is the actual log file kept, and what is it's name for the info and debug info.
That depends a lot on how your system is set up. These log messages are going wherever the logs for your other JS services go (like the NNTP server, or JSON-DB, or anything from services.ini), if that helps.
Does it barf if a user sends a message containing a '~' character maybe?
Re: MRC Module
By: DesotoFireflite to echicken on Tue Feb 22 2022 17:28:00
No, it's coming from outside of my system, I checked, and no one has
been
Okay. That helps and means I probably have similar errors in my own log. I'll see if that's the case; if so, it'll help me narrow things down.
No promises though. I have limited patience with MRC.
I tried changing the line in mrc-connector.js:
from
log(LOG_ERR, 'Invalid MRC line: ' + line):
to
log(LOG_INFO, 'Invalid MRC line: ' + line):
but it didn't like it, and gave me another error, which I can't
remember.
I can't imagine why that would be, but you might have been better off changing that to LOG_DEBUG.
Re: MRC Module
By: echicken to DesotoFireflite on Wed Feb 23 2022 03:21 am
Hope this info helps. Where is the actual log file kept, and what
is it's name for the info and debug info.
That depends a lot on how your system is set up. These log messages
are going wherever the logs for your other JS services go (like the
NNTP server, or JSON-DB, or anything from services.ini), if that
helps.
Also check data/error.log. Any messages logged with an "Error" severity (or worse) should also be logged in that file.
That's where I'm seeing the errors, but I can't find the other logged activity for it.
Re: MRC Module
By: echicken to DesotoFireflite on Tue Feb 22 2022 08:48 pm
Something is sending lines that don't follow the MRC format. IIRC
each line is meant to contain the user name, the BBS name, the
channel, the message, and some other stuff, with each of these
fields being separated by a ~.
Re: MRC Module
By: DesotoFireflite to Digital Man on Wed Feb 23 2022 08:06:44
I had a look at my logs and I'm seeing the same thing. Actually all of these problematic MRC messages are originating from "The Delta Quadrant". I'm not sure whose BBS that is, but perhaps they can shed some light.
My suspicion that these are multi-line messages seems to be confirmed though. I'm not sure if *I'm* supposed to be handling them differently, or if this other system really is sending them incorrectly.
This is the latest. It actually looks like it's coming from another
Re: MRC Module
By: DesotoFireflite to echicken on Wed Feb 23 2022 08:40:52
This is the latest. It actually looks like it's coming from another
Yep, I've got the same log output here. Actually, most anybody using the Synchronet MRC module will have this in their log.
Some hints in the text tell me that this latest message (and possibly the rest) came from an MRC-to-IRC gateway. I know who was working on such a thing recently, so I'll see if they can share some details.
Re: MRC Module
By: Digital Man to echicken on Tue Feb 22 2022 07:56 pm
Re: MRC Module
By: echicken to DesotoFireflite on Wed Feb 23 2022 03:21 am
Hope this info helps. Where is the actual log file kept, and what De>> is it's name for the info and debug info.
That depends a lot on how your system is set up. These log messages
are going wherever the logs for your other JS services go (like the
NNTP server, or JSON-DB, or anything from services.ini), if that
helps.
Also check data/error.log. Any messages logged with an "Error" severity (or worse) should also be logged in that file.
That's where I'm seeing the errors, but I can't find the other logged activity for it.
Sysop: | Chris Anderson |
---|---|
Location: | Murfreesboro, TN |
Users: | 2 |
Nodes: | 4 (0 / 4) |
Uptime: | 39:03:50 |
Calls: | 58 |
Files: | 3 |
Messages: | 20,289 |