gnodet commented on code in PR #30709:
URL: https://github.com/apache/camel/pull/30709#discussion_r4681952177
##########
components/camel-mina-sftp/src/main/docs/mina-sftp-component.adoc:
##########
@@ -466,8 +466,12 @@ The component provides clear error messages for common
failure scenarios:
* **Connection timeout**: `Connection timed out after \{timeout\}ms`
==== Authentication Errors
-* **Authentication failure**: `Authentication failed: \{reason\}`
-* **Authentication timeout**: `Authentication timed out after \{timeout\}ms`
+* **Login rejected** (wrong credentials): `Login rejected by {host}:{port}: No
more authentication methods available`
Review Comment:
Fixed — both `{host}:{port}` and `{timeout}` are now escaped as
`\{host\}:\{port\}` / `\{timeout\}`, matching the existing `\{timeout\}`
escaping on the connection-timeout line above. Catalog copy updated in sync.
_Hermès on behalf of gnodet_
##########
components/camel-mina-sftp/src/main/docs/mina-sftp-component.adoc:
##########
@@ -466,8 +466,12 @@ The component provides clear error messages for common
failure scenarios:
* **Connection timeout**: `Connection timed out after \{timeout\}ms`
==== Authentication Errors
-* **Authentication failure**: `Authentication failed: \{reason\}`
-* **Authentication timeout**: `Authentication timed out after \{timeout\}ms`
+* **Login rejected** (wrong credentials): `Login rejected by {host}:{port}: No
more authentication methods available`
++
+When the server definitively rejects the credentials, `mina-sftp` throws
`GenericFileOperationFailedException`
+immediately, without retrying. Transient connection failures (server
unreachable, network error) are still retried up
+to `maximumReconnectAttempts` times.
+* **Authentication timeout**: `Authentication timed out after {timeout}ms`
Review Comment:
Fixed — see above.
_Hermès on behalf of gnodet_
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]