tomaswolf commented on issue #587:
URL: https://github.com/apache/mina-sshd/issues/587#issuecomment-2317235700

   What is listening on 10.0.0.1:3333? And given that the server seems to be an 
Apache MINA sshd server, why is JSch being used to create this second tunnel? I 
also don't see what the first remote forward has to do with this failure in the 
second tunnel. The two tunnels seem to be unrelated.
   
   It should be possible to mock your setup all on one machine and package it 
as some Java code.
   
   I need to be able to reproduce the problem; otherwise any changes we might 
make would be shots in the dark. 
   
   We could just code around this NullPointerException, but without knowing why 
exactly it occurs in the first place and no regression tests we won't really 
have solved anything. The interesting question here is "why is the context 
null?". Probably the answer is "because the channel is already closed", and 
then the next interesting question is "why is the channel closed?". Once we 
know that, we can decide how to fix this. If the channel is rightly closed, 
then just coding around the NullPointerException might be a valid solution. If 
the channel should not be closed at all, then there is some other problem that 
needs to fixed.
   
   To answer these questions I need to have a reproducible case.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to