Skip to content

VHFinfo causes network problems when no GPS signal #16

@Fietsenwiel

Description

@Fietsenwiel

When there are no GPS coordinates vhfinfo causes networkproblems.
I use AvNav with o-charts, because of the networkproblems the o-charts don't work after a while.

I see a lot of error messages:
info is missing (navigation.position)
Nov 17 00:02:41 Relexed signalk-server[28812]: 2024-11-16T23:02:41.364Z vhfinfo searchPolygon is null
Nov 17 00:02:46 Relexed signalk-server[28812]: 2024-11-16T23:02:46.365Z vhfinfo createSearchPolygon: coordinates info is missing (navigation.position)
Nov 17 00:02:46 Relexed signalk-server[28812]: 2024-11-16T23:02:46.366Z vhfinfo searchPolygon is null
Nov 17 00:02:51 Relexed signalk-server[28812]: 2024-11-16T23:02:51.366Z vhfinfo createSearchPolygon: coordinates info is missing (navigation.position)

I have no idea how everything works but in the o-charts-log of AvNav it leads tot this:

2024/11/14-15:57:05.084-0x7f4fffec00-INFO-CacheFiller CS_home_pi_avnav_data_ocharts_charts_oeuSENC-BE_NL_UK-2022-2-0-base-sgl001DF950: prefilled for zoom=13: 405
2024/11/14-15:57:05.086-0x7f4fffec00-INFO-CacheFiller CS_home_pi_avnav_data_ocharts_charts_oeuSENC-BE_NL_UK-2022-2-0-base-sgl001DF950: prefilled for zoom=12: 257
2024/11/14-15:57:05.086-0x7f4fffec00-INFO-Cache filler CS_home_pi_avnav_data_ocharts_charts_oeuSENC-BE_NL_UK-2022-2-0-base-sgl001DF950 prefilled 70296 tiles
2024/11/14-15:57:05.086-0x7f4fffec00-INFO-Cache filler finished
2024/11/16-07:01:52.055-0x7f7311fc00-ERROR-read(fd=12): SYSERROR: 104=Connection reset by peer
2024/11/16-07:01:52.058-0x7f7311fc00-ERROR-write(fd=12): SYSERROR: 32=Broken pipe
2024/11/16-07:01:52.058-0x7f7311fc00-ERROR-write(fd=12): SYSERROR: 0=Success
2024/11/16-07:01:52.058-0x7f7311fc00-ERROR-write(fd=12): SYSERROR: 32=Broken pipe
2024/11/16-07:01:52.059-0x7f7311fc00-ERROR-write(fd=12): SYSERROR: 0=Success
2024/11/16-07:01:52.061-0x7f7311fc00-ERROR-write(fd=12): SYSERROR: 32=Broken pipe
2024/11/16-07:01:52.061-0x7f7311fc00-ERROR-write(fd=12): SYSERROR: 0=Success
2024/11/16-07:01:52.062-0x7f7311fc00-ERROR-write(fd=12): SYSERROR: 32=Broken pipe
2024/11/16-07:01:52.062-0x7f7311fc00-ERROR-write(fd=12): SYSERROR: 0=Success
2024/11/16-07:01:52.064-0x7f7311fc00-ERROR-write(fd=12): SYSERROR: 32=Broken pipe
2024/11/16-07:01:52.064-0x7f7311fc00-ERROR-write(fd=12): SYSERROR: 0=Success
2024/11/16-07:01:52.065-0x7f7311fc00-ERROR-write(fd=12): SYSERROR: 32=Broken pipe
2024/11/16-07:01:52.065-0x7f7311fc00-ERROR-write(fd=12): SYSERROR: 0=Success
2024/11/16-07:01:52.067-0x7f7311fc00-ERROR-write(fd=12): SYSERROR: 32=Broken pipe
2024/11/16-07:01:52.067-0x7f7311fc00-ERROR-write(fd=12): SYSERROR: 0=Success
2024/11/16-07:01:52.067-0x7f7311fc00-ERROR-write(fd=12): SYSERROR: 32=Broken pipe
2024/11/16-07:01:52.068-0x7f7311fc00-ERROR-write(fd=12): SYSERROR: 0=Success
2024/11/16-07:01:52.077-0x7f7311fc00-ERROR-GetLocalAddress(fd=12): SYSERROR: 107=Transport endpoint is not connected
2024/11/16-07:01:52.080-0x7f7311fc00-ERROR-write(fd=17): SYSERROR: 32=Broken pipe
2024/11/16-07:01:52.080-0x7f7311fc00-ERROR-write(fd=17): SYSERROR: 0=Success
2024/11/16-07:01:52.081-0x7f7311fc00-ERROR-write(fd=17): SYSERROR: 32=Broken pipe
2024/11/16-07:01:52.081-0x7f7311fc00-ERROR-write(fd=17): SYSERROR: 0=Success

So o-charts stops working after a while and then you have to restart AvNav te get them workinh again (only for a while).

Disabling the VHFInfo plugin in Signalk solves the problem for the o-charts in AvNav

I also notice that when VHFInfo (without GPS signal) is disabled zooming in en out of the charts is much faster!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions