-
Notifications
You must be signed in to change notification settings - Fork 124
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
error in channel connection #485
Comments
Please use one of the loggers to show the output of the logs. My first guess is that you use ssh-rsa which is deactivated by default in the fork. |
I'm sorry |
The fork includes a few built-in loggers for various frameworks, see JplLogger, JulLogger, Log4j2Logger & Slf4jLogger. |
Ok I've added JplLogger and my test logs are as follows: Jan 20, 2024 5:00:12 PM com.jcraft.jsch.JplLogger log thanks |
let me know if you need any other log or any other information for analyzing my problem |
are you sure, that the issue comes from switching the library? When looking at google results, it seems, it's a popular issue which is caused by timeout and server workload. does it occur always or just sometimes? |
yes you're right |
I'm working with the original Jsch library (com.jcraft.jsch v. 0.1.55)
to send and receive files to an sftp server
I switched to the library (com.github.mwiede.jsch, v. 0.2.16) but I've an error in channel connection
This is my code
Can anyone give me a suggestion?
The text was updated successfully, but these errors were encountered: