WebDAV Upload problem

Hello,
we installed RaiDrive on few computers to map remote storage (ownCloud) as a drive (using webDAV). There are no problems on some computers, but there are problems with file uploading (i.e. copying to the mapped drive) on some other computers.

Downloading from the mapped drive is without problems, but upload is extremely slow (about 1 kB/s - while working computers have upload 180 MB/s) and larger files end up with “Access denied” error after a while.

Everything works correctly when using a different WebDAV client (tested with WinSCP, TotalCmd WebDAV plugin, Win10 Drive Mapping), only RaiDrive has this problem. OS Win10 x64, RaiDrive 1.8.0. I tried downgrading to version 1.6.2 but there is no difference.

I uploaded service.log here: https://file.io/A6hbFA
Thank you for any advice.

1 Like

Hi, @Tomas_Kohlschutter,

Thanks a lot for your report about ownCloud that we’ve tested. :sweat_smile:
Could you let us know the followings?

  • ownCloud version
  • Operating system & version
  • RaiDrive logs (your link is broken(404))
1 Like

Appreciate for your log and explanation.
It was a very important clue. :+1:
ownCloud works fine in our lab.

It will be fixed in the next version within this month. :smiley:

1 Like

Yes, this is an old problem, still impossible to upload the file that is larger than 2mb to the own/NextCloud behind the reverse proxy, it ends up like this:

2019-09-26 14:02:03.309 [INFO] WebDAV (WebDAV) : Check Change Thread Start
2019-09-26 14:02:37.305 [ERROR] WebDAV API : WebDAV : Upload AddContentFromCache Fail : Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
2019-09-26 14:02:37.320 [ERROR] UPLOADFILE : UploadData Fail : Position 0 Length 8388608 ChunkCount 8 Finished False Exception : {"WinErrorCode":1237,"NotifyErrorCode":204,"RaiException":"Upload AddContentFromCache Fail.","Filename":"/Test file 22mb.pdf","SocketError":"ConnectionReset","InnerException":"An existing connection was forcibly closed by the remote host"}
2019-09-26 14:02:39.102 [ERROR] WebDAV API : WebDAV : Upload AddContentFromCache Fail : Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
2019-09-26 14:02:39.102 [ERROR] UPLOADFILE : UploadData Fail : Position 0 Length 8388608 ChunkCount 8 Finished False Exception : {"WinErrorCode":1237,"NotifyErrorCode":204,"RaiException":"Upload AddContentFromCache Fail.","Filename":"/Test file 22mb.pdf","SocketError":"ConnectionReset","InnerException":"An existing connection was forcibly closed by the remote host"}
2019-09-26 14:02:41.836 [ERROR] WebDAV API : WebDAV : Upload AddContentFromCache Fail : Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
2019-09-26 14:02:41.836 [ERROR] UPLOADFILE : UploadData Fail : Position 0 Length 8388608 ChunkCount 8 Finished False Exception : {"WinErrorCode":1237,"NotifyErrorCode":204,"RaiException":"Upload AddContentFromCache Fail.","Filename":"/Test file 22mb.pdf","SocketError":"ConnectionReset","InnerException":"An existing connection was forcibly closed by the remote host"}
2019-09-26 14:02:46.633 [ERROR] WebDAV API : WebDAV : Upload AddContentFromCache Fail : Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
2019-09-26 14:02:46.633 [ERROR] UPLOADFILE : UploadData Fail : Position 0 Length 8388608 ChunkCount 8 Finished False Exception : {"WinErrorCode":1237,"NotifyErrorCode":204,"RaiException":"Upload AddContentFromCache Fail.","Filename":"/Test file 22mb.pdf","SocketError":"ConnectionReset","InnerException":"An existing connection was forcibly closed by the remote host"}
2019-09-26 14:02:55.492 [ERROR] WebDAV API : WebDAV : Upload AddContentFromCache Fail : Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
2019-09-26 14:02:55.492 [ERROR] UPLOADFILE : UploadData Fail : Position 0 Length 8388608 ChunkCount 8 Finished False Exception : {"WinErrorCode":1237,"NotifyErrorCode":204,"RaiException":"Upload AddContentFromCache Fail.","Filename":"/Test file 22mb.pdf","SocketError":"ConnectionReset","InnerException":"An existing connection was forcibly closed by the remote host"}
2019-09-26 14:03:12.288 [ERROR] WebDAV API : WebDAV : Upload AddContentFromCache Fail : Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
2019-09-26 14:03:12.288 [ERROR] UPLOADFILE : UploadData Fail : Position 0 Length 8388608 ChunkCount 8 Finished False Exception : {"WinErrorCode":1237,"NotifyErrorCode":204,"RaiException":"Upload AddContentFromCache Fail.","Filename":"/Test file 22mb.pdf","SocketError":"ConnectionReset","InnerException":"An existing connection was forcibly closed by the remote host"}
2019-09-26 14:03:45.084 [ERROR] WebDAV API : WebDAV : Upload AddContentFromCache Fail : Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
2019-09-26 14:03:45.099 [ERROR] UPLOADFILE : UploadData Fail : Position 0 Length 8388608 ChunkCount 8 Finished False Exception : {"WinErrorCode":1237,"NotifyErrorCode":204,"RaiException":"Upload AddContentFromCache Fail.","Filename":"/Test file 22mb.pdf","SocketError":"ConnectionReset","InnerException":"An existing connection was forcibly closed by the remote host"}
2019-09-26 14:04:49.844 [ERROR] WebDAV API : WebDAV : Upload AddContentFromCache Fail : Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
2019-09-26 14:04:49.844 [ERROR] UPLOADFILE : UploadData Fail : Position 0 Length 8388608 ChunkCount 8 Finished False Exception : {"WinErrorCode":1237,"NotifyErrorCode":204,"RaiException":"Upload AddContentFromCache Fail.","Filename":"/Test file 22mb.pdf","SocketError":"ConnectionReset","InnerException":"An existing connection was forcibly closed by the remote host"}
2019-09-26 14:04:49.844 [ERROR] UPLOADFILE : Finally UploadData Fail : Position 0 Length 8388608 Finished False
2019-09-26 14:04:49.859 [ERROR] WEBDAVFILE FILE : /Test file 22mb.pdf : WriteFile : Upload and wait : Failed : {"WinErrorCode":1237,"NotifyErrorCode":204,"RaiException":"Upload AddContentFromCache Fail.","Filename":"/Test file 22mb.pdf","SocketError":"ConnectionReset","InnerException":"An existing connection was forcibly closed by the remote host"} : OpenFileInfo : IsDirectory:False, IsReadSequential:False, IsWriteSequential:True, IsReadMode:False, IsWriteMode:True, Attributes:134217760
2019-09-26 14:04:49.859 [ERROR] WebDAV (WebDAV) : Write Fail : /Test file 22mb.pdf : Error : 1237 : {"WinErrorCode":1237,"NotifyErrorCode":204,"RaiException":"{\"WinErrorCode\":1237,\"NotifyErrorCode\":204,\"RaiException\":\"Upload AddContentFromCache Fail.\",\"Filename\":\"/Test file 22mb.pdf\",\"SocketError\":\"ConnectionReset\",\"InnerException\":\"An existing connection was forcibly closed by the remote host\"}","Filename":"/Test file 22mb.pdf"}
2019-09-26 14:04:50.547 [ERROR] WEBDAVFILE FILE : /Test file 22mb.pdf : Final : File is modified but data not filled : Canceled : isClose : True : OpenFileInfo : IsDirectory:False, IsReadSequential:False, IsWriteSequential:False, IsReadMode:False, IsWriteMode:True, Attributes:134217760

Hi~ @osscombat,

This is from handling PUT/HTTP Range option.
It will be fixed in the coming next version ASAP. :running_man:

Unfortunately, upload problem still not fixed on the files bigger than 1Gb in the latest 22.12.2019 version:

2019-12-24 20:56:49.344 [ERROR] UPLOADFILE : UploadData Fail : Position 0 Length 2045771776 ChunkCount 1951 Finished False Exception : {"WinErrorCode":1237,"NotifyErrorCode":204,"RaiException":"UploadData Fail.","Filename":"/Test_2Gb.iso"}

Hi~ @osscombat,

We will let you know after researching why this happens.

Hi~ @osscombat,

We’ve tested on ownCloud 10.3.2 and it resulted in success to upload a file over 3GB.
But when the free space of ownCloud system was under about 5GB, the upload was failed like your report. Could you check the free space?