Skip to content
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

constant error every second in the log #1848

Open
seamaster101 opened this issue Dec 16, 2024 · 2 comments
Open

constant error every second in the log #1848

seamaster101 opened this issue Dec 16, 2024 · 2 comments

Comments

@seamaster101
Copy link

Hi
I'm getting this in the log. I have no idea how to fix. Can you please help?

Error: Error: position is not valid at CourseApi.<anonymous> (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:687:27) at Generator.next (<anonymous>) at /usr/lib/node_modules/signalk-server/lib/api/course/index.js:8:71 at new Promise (<anonymous>) at __awaiter (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:4:12) at CourseApi.setDestination (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:643:16) at CourseApi.<anonymous> (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:179:43) at Generator.next (<anonymous>) at /usr/lib/node_modules/signalk-server/lib/api/course/index.js:8:71 at new Promise (<anonymous>) at __awaiter (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:4:12) at CourseApi.parseStreamValue (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:172:16) at /usr/lib/node_modules/signalk-server/lib/api/course/index.js:152:34 at Array.forEach (<anonymous>) at /usr/lib/node_modules/signalk-server/lib/api/course/index.js:148:35 at Array.forEach (<anonymous>) Dec 16 09:59:06 Error: Error: position is not valid at CourseApi.<anonymous> (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:687:27) at Generator.next (<anonymous>) at /usr/lib/node_modules/signalk-server/lib/api/course/index.js:8:71 at new Promise (<anonymous>) at __awaiter (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:4:12) at CourseApi.setDestination (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:643:16) at CourseApi.<anonymous> (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:179:43) at Generator.next (<anonymous>) at /usr/lib/node_modules/signalk-server/lib/api/course/index.js:8:71 at new Promise (<anonymous>) at __awaiter (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:4:12) at CourseApi.parseStreamValue (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:172:16) at /usr/lib/node_modules/signalk-server/lib/api/course/index.js:152:34 at Array.forEach (<anonymous>) at /usr/lib/node_modules/signalk-server/lib/api/course/index.js:148:35 at Array.forEach (<anonymous>) Dec 16 09:59:07 Error: Error: position is not valid at CourseApi.<anonymous> (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:687:27) at Generator.next (<anonymous>) at /usr/lib/node_modules/signalk-server/lib/api/course/index.js:8:71 at new Promise (<anonymous>) at __awaiter (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:4:12) at CourseApi.setDestination (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:643:16) at CourseApi.<anonymous> (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:179:43) at Generator.next (<anonymous>) at /usr/lib/node_modules/signalk-server/lib/api/course/index.js:8:71 at new Promise (<anonymous>) at __awaiter (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:4:12) at CourseApi.parseStreamValue (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:172:16) at /usr/lib/node_modules/signalk-server/lib/api/course/index.js:152:34 at Array.forEach (<anonymous>) at /usr/lib/node_modules/signalk-server/lib/api/course/index.js:148:35 at Array.forEach (<anonymous>) Dec 16 09:59:08 Error: Error: position is not valid at CourseApi.<anonymous> (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:687:27) at Generator.next (<anonymous>) at /usr/lib/node_modules/signalk-server/lib/api/course/index.js:8:71 at new Promise (<anonymous>) at __awaiter (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:4:12) at CourseApi.setDestination (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:643:16) at CourseApi.<anonymous> (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:179:43) at Generator.next (<anonymous>) at /usr/lib/node_modules/signalk-server/lib/api/course/index.js:8:71 at new Promise (<anonymous>) at __awaiter (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:4:12) at CourseApi.parseStreamValue (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:172:16) at /usr/lib/node_modules/signalk-server/lib/api/course/index.js:152:34 at Array.forEach (<anonymous>) at /usr/lib/node_modules/signalk-server/lib/api/course/index.js:148:35 at Array.forEach (<anonymous>) Dec 16 09:59:08 Error: Error: position is not valid at CourseApi.<anonymous> (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:687:27) at Generator.next (<anonymous>) at /usr/lib/node_modules/signalk-server/lib/api/course/index.js:8:71 at new Promise (<anonymous>) at __awaiter (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:4:12) at CourseApi.setDestination (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:643:16) at CourseApi.<anonymous> (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:179:43) at Generator.next (<anonymous>) at /usr/lib/node_modules/signalk-server/lib/api/course/index.js:8:71 at new Promise (<anonymous>) at __awaiter (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:4:12) at CourseApi.parseStreamValue (/usr/lib/node_modules/signalk-server/lib/api/course/index.js:172:16) at /usr/lib/node_modules/signalk-server/lib/api/course/index.js:152:34 at Array.forEach (<anonymous>) at /usr/lib/node_modules/signalk-server/lib/api/course/index.js:148:35 at Array.forEach (<anonymous>)

@panaaj
Copy link
Member

panaaj commented Dec 16, 2024

This is due to invalid position information being received. See #1840

@tkurki
Copy link
Member

tkurki commented Dec 17, 2024

A duplicate of #1845 . There's a fix, but it is not published yet.

You can filter out bad values with the Node-RED plugin if you need to get rid of this sooner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants