Malformed server configuration


I am running nextcloud in a freenas jail. All my stuff is in a folder which is both SMB and webdav share. I use the SMB to access it from windows machines as a network drive and the webdav is for nextcloud to access it as a external storage(with the plugin). I have no problem writing to the folder from windows. I can also make a new folder from the web or mobile app, however I cannot write files. From the mobile app it gives me “malformed server configuration”, from the browser:

Client error: PUT resulted in a 401 Unauthorized response: <!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”> <html><head> <title>401 Unauthorized</title> </head><body> <h1>Unauth (truncated…)

Any help is appreciated!

Have a look at