This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ownCloud

I'm trying to get ownCloud running. The client sync works over my lan.
Over the internet, via astaro 8.306, it won't.
I've set up a real and virtual webserver. No firewall profile (or blank).

In the log is the next line:
mod_url_hardening_request_filter(): Unexpected error: String unparsed_uri 'owncloud.~~~.nl/.../testfile.txt' doesn't start with a slash


Does this points at url hardening? I don't have url hardening selected.


This thread was automatically locked due to age.
  • update:

    If the client requests a file, a GET request with a absolute URI is used e.g.:
    GET http://owncloud.domain.com/owncloud/remote.php/webdav/clientsync/test.txt

    In this case the client receives a server error for the request, because reverse proxy cannot handle the absolute URI correctly.
    The browser based client does not use absolute URI’s therefore the download works properly. Usually only http proxy requests from clients do contain the complete URL.

    Astaro dev will look into this.
  • update:
    Astaro support logged in to my ASG220 to analyse. Then moved my ticked to 2nd level support. Another tech person had al look at the ASG, and moved the ticket to development support team.
    We just have to be patient until they find the bug.


    Thanks for the update!
  • update:
    Astaro support logged in to my ASG220 to analyse. Then moved my ticked to 2nd level support. Another tech person had al look at the ASG, and moved the ticket to development support team.
    We just have to be patient until they find the bug.
  • @Barry
    The server and two clients are in the office. These clients work fine.
    It's my client at home that doesn't sync. This one has to pass the Astaro WAF.
    I also have an Android client which works, this has to pass the Astaro as well.

    I opened a service ticket on this.

    Mark


    Please let us know of any updates you receive on the issue.
  • @Barry
    The server and two clients are in the office. These clients work fine.
    It's my client at home that doesn't sync. This one has to pass the Astaro WAF.
    I also have an Android client which works, this has to pass the Astaro as well.

    I opened a service ticket on this.

    Mark
  • Just tried what you suggested, zfrank, but unfortunately it doesn't seem to have worked:

    2012:10:27-13:41:36 UFS-PN-UTM01 reverseproxy: [Sat Oct 27 13:41:36 2012] [error] [client 192.168.1.109] mod_url_hardening_request_filter(): Unexpected error: String unparsed_uri 'https://cloud.unitedfederationofservers.com/remote.php/webdav/Words/xeNsx.jpg' doesn't start with a slash
    2012:10:27-13:41:36 UFS-PN-UTM01 reverseproxy: srcip="192.168.1.109" localip="107.9.31.4" size="344" user="-" host="192.168.1.109" method="GET" statuscode="500" reason="-" extra="-" time="678" url="/remote.php/webdav/Words/xeNsx.jpg" server="cloud.unitedfederationofservers.com" referer="-" cookie="PHPSESSID=78pf2dd6erin4iet0nq88iu8r6" set-cookie="-"
  • Try this on owncloud Server:

    I
    Add this in .htaccess from data folder:

    RewriteEngine on
    RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

    then enable rewrite:
    a2enmod rewrite

    restart apache
  • Hi, the webserver and the ownCloud client are both at your house, or ?

    Barry
  • Yes, guess I should have clarified that. This is with the ownCloud client, web interface works perfectly. When the client attempts to grab files from the server, it is blocked by the URL Hardening filter (even though it isn't enabled for this virtual server...).

    I'm on Firmware version: 9.003-16 / Pattern version: 37951
  • This is also with ownCloud?
    I run ownCloud (in a box) as a VMware appliance based on Suse linux.
    WAF on Astaro ASG220 V8.306.
    Via the webinterface there's no problem, it's the client.