Hello,
We are using Servoy 5.2.16 and recently encountered a scenario when using the Smart Client where FileServerPlugin throws an error.
This happens when a Smart Client network connection has been interrupted for a period of time and reconnects once network connectivity is restored. The application does seem to reconnect OK and does appear to work as normal with the exception of now not being able to stream files. The end user does not notice any difference until they attempt to upload/download a file.
When this is attempted, the following Java console log error is shown and the file streaming dialogue hangs:
ERROR - Debug - Throwable
java.lang.SecurityException: Rejected unauthenticated access
at com.servoy.extensions.plugins.file.FileServerPlugin.securityCheck(Unknown Source)
Closing down the Smart Client & logging back in restores full functionality. Note that this only seems to occur after losing the connection for a few minutes. If the connection is lost momentarily or for a short period, then it all seems to work as expected.
It seems that internally, the reconnected client authentication check that this plugin performs with the application server fails. Is there an internal timeout that occurs causing a previously authenticated client to lose its authenticated status?
Does anybody have any ideas about this issue?
Best regards,
Mark