Failed to collect files: Could not determine the type of file. (Timeout expired)
After upgrading to 2021.1, my Pycharm always fails to upload files to a remote server. Re-open it can always solve the problem temporally. However, it fails again after 2-3 hours and I have to re-open it again, which is annoying. I upload my log here and the id is : 2021_04_22_Wbh3CN4yMTEFzgGz (file: idea.log). Please help me to resolve this problem.
Please sign in to leave a comment.
Hello,
It worth trying to increase the connection timeout.
Please open "Help > Edit Custom VM Options" and add the following line:
-Dcom.jetbrains.plugins.webDeployment.sftp.timeout=30000
Afterward, the IDE should be restarted in order for new settings to be applied.
If it does not help, please add the following lines to **Help | Debug Log Settings…**:
#com.intellij.ssh
#com.jetbrains.plugins.webDeployment
reconnect and provide me with logs folder zipped from ***Help | Collect logs and Diagnostic Data*** .