Skip to content

Generic error while opening channel #254

@hons82

Description

@hons82

I have an Apache MINA client that tries to open a TCPForwardChannel, but on the server I see the following error

{"time":"2025-12-03T13:17:19.280423473Z","level":"INFO","msg":"ssh: rejected: unknown reason 0 (IOException while opening channel: Generic error while opening channel: 30)"}

Is there a way to find out what Channelhandler I should register to answer this case?

That's the MINA logs if it helps

2025-12-03 14:23:46.059 LoggingChannelListener channelInitialized DEBUG:
Remote port forward channel initialized: type=TcpipServerChannel, tcpipType=Forwarded, originator=null, tunnelEntrance=null
2025-12-03 14:23:48.111 LoggingChannelListener channelOpenFailure WARNING:
Remote port forward channel failed to open: type=TcpipServerChannel, tcpipType=Forwarded, originator=10.244.1.8:34464, tunnelExit=localhost:9091, reason=java.io.IOException: The remote computer refused the network connection
2025-12-03 14:23:48.113 LoggingChannelListener channelClosed DEBUG:
Channel closed: type=TcpipServerChannel, reason=null

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions