Skip to content

[WRN]: LN: SSH: ssh_socket_exception_callback: Socket exception callback: 1 (0) #589

@madis0911

Description

@madis0911

Hello,
Version Information:
libnetconf - libnetconf2-3.7.1-1.wos1.wf42.x86_64
libssh - libssh-0.11.3-1.wf42.x86_64
netopeer2-server - netopeer2-2.4.1-1.wos1.wf42.x86_64

Problem Description
Experiencing persistent SSH socket exception callbacks when using libnetconf2 for NETCONF session management:
This error occurs consistently during session cleanup, appearing once per session that gets freed

[INF]: NP: Session 1: thread 0 event session terminated.
[INF]: NP: Generated new event (netconf-session-end).
[WRN]: LN: SSH: ssh_socket_exception_callback: Socket exception callback: 1 (0)
[INF]: NP: Session 2: thread 0 event new RPC.
[INF]: NP: Session 2: thread 0 event session terminated.
[INF]: NP: Generated new event (netconf-session-end).
[WRN]: LN: SSH: ssh_socket_exception_callback: Socket exception callback: 1 (0)
[INF]: NP: Session 3: thread 0 event new RPC.
[INF]: NP: Session 3: thread 0 event session terminated.
[INF]: NP: Generated new event (netconf-session-end).
[WRN]: LN: SSH: ssh_socket_exception_callback: Socket exception callback: 1 (0)
[INF]: NP: Session 4: thread 0 event new RPC.
[INF]: NP: Session 4: thread 0 event session terminated.
[INF]: NP: Generated new event (netconf-session-end).
**[[WRN]: LN: SSH: ssh_socket_exception_callback: Socket exception callback: 1 (0)]([url]([url](

attached my stub application which does below steps:

  1. Creates 4 sequential NETCONF sessions
  2. Cleans up each session sequentially
  3. Measures/observes socket exception behavior

ssh_stub (1).cpp

usage:
./ssh_stub

Please check and let me know, why and how this callback exception could be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    is:bugBug description.status:completedFrom the developer perspective, the issue was solved (bug fixed, question answered,...)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions