| Summary: | Accessing sftp remote file system sometimes causes "Internal Error" | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] kio-extras | Reporter: | Nowa Ammerlaan <nowa> |
| Component: | SFTP | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | nate, sitter |
| Priority: | NOR | ||
| Version First Reported In: | 22.08.2 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
debug log
sshd config sshd debug log |
||
|
Description
Nowa Ammerlaan
2022-10-21 14:32:41 UTC
Created attachment 153193 [details] debug log (In reply to Harald Sitter from comment #1) > https://community.kde.org/Guidelines_and_HOWTOs/Debugging/Debugging_IOSlaves/ > Debugging_kio_sftp Thanks! These environment variables helped me get a proper log, which I attached. kf.kio.workers.sftp: [ ssh_socket_pollcallback ] ( 4 ) ssh_socket_pollcallback: Poll callback on socket 15 (POLLIN POLLOUT POLLERR), out buffer 72 kf.kio.workers.sftp: [ ssh_socket_exception_callback ] ( 1 ) ssh_socket_exception_callback: Socket exception callback: 1 (0) kf.kio.workers.sftp: [ ssh_socket_exception_callback ] ( 1 ) ssh_socket_exception_callback: Socket error: disconnected kf.kio.workers.sftp: ssh_channel_poll failed: Socket error: disconnected Sounds a bit like the server just closed the connection at some point. Any interesting configuration there? Created attachment 153194 [details] sshd config (In reply to Harald Sitter from comment #3) > Sounds a bit like the server just closed the connection at some point. Any > interesting configuration there? It does, though I don't really understand why. The configuration is not particularly interesting, it is more or less a standard configuration allowing only user key-based login (no passwords, no root login). Some forwarding and some ClientAlive options are enabled. Some env vars are accepted. Nothing very unusual I think, I've never had similar problems with other applications. Created attachment 153213 [details]
sshd debug log
So I also checked the server side debug log, but it doesn't show any obvious failure message.
What I did notice is that kio-sftp seems to be opening a bunch of new connections regularly, on different ports. Is it supposed to do that? Can it not just use a single connection? Perhaps it runs out of ports to use and then fails to make a new connection?
|