kalmicka

Q: WebDav Error when connecting [error] (61)

Hey everyone,

 

I managed to get afp,smb and webdav to work. However, webdav only works for me if I setup the user with a home directory, otherwise it won't connect at all and give me this error in /var/log/apache2/error_log: "[error] (61)Connection refused: proxy: HTTP: attempt to connect to [fe80::1]:59780 (*) failed" Now I did setup everyone with a home directory and still one user is now experiencing the same problem again. Smb and afp work fine, just webdav is giving me a headache. Does anyone know what the problem is or what I can try?

 

Thanks for the help

MacBook Pro, Mac OS X (10.7)

Posted on Aug 25, 2011 10:02 AM

Close

Q: WebDav Error when connecting [error] (61)

  • All replies
  • Helpful answers

  • by ousbigkpls,Helpful

    ousbigkpls ousbigkpls Mar 7, 2012 9:05 AM in response to kalmicka
    Level 1 (19 points)
    Mar 7, 2012 9:05 AM in response to kalmicka

    I was able to resolve this by looking at the /var/logs/system.log and finding that the file that was autogenerated by the webdav process had a syntax error in it.

     

    In my case, the rewrite string was missing the quotes and as a result, webdav failed to start because it didn't load the file. In my experience, the WebDAV sharing file only gets rewritten when File Sharing is stopped and started.

     

    Do the following:

    1. Check /var/logs/system.log for any errors being thrown by org.apache.webdavsharing.<a username on your system>
    2. Backup the file /etc/apache2/httpd_webdavsharing_sharepoints.conf
    3. Open the file in emacs or some text editor that can verify that quotes, XML delimiters and the like have been successfully closed
    4. Save the file - if you made changes
    5. Try logging back into the server using webdav (it shouldn't make any difference if this is performed from an iOS device or from a computer.)

     

    If that fails - bounce the File Sharing service to make it regenerate the /etc/apache2/httpd_webdavsharing_sharepoints.conf file again and go back to step 1.

  • by iBlink,Solvedanswer

    iBlink iBlink Jan 28, 2013 9:09 PM in response to ousbigkpls
    Level 2 (180 points)
    Jan 28, 2013 9:09 PM in response to ousbigkpls

    Fixed my issue, but what if the web service keeps changing the file back (without quotes) when file sharing is turned off and then on?

  • by kalmicka,

    kalmicka kalmicka Jan 29, 2013 12:03 AM in response to iBlink
    Level 1 (0 points)
    Jan 29, 2013 12:03 AM in response to iBlink

    Ups,

     

    pushed the wrong button. Sorry about that. Can't seem to uncheck the answer as the correct one. I don't seem to have this error anymore on the new version of mac os x server, but maybe it was because of a new installation. This error kept making me crazy...

  • by ffg80,

    ffg80 ffg80 Aug 1, 2013 5:52 PM in response to kalmicka
    Level 1 (0 points)
    Aug 1, 2013 5:52 PM in response to kalmicka

    Hi Kalmicka:

     

    When you say that you don't get this error anymore with the new version of OSX, you mean fresh install or the latest version of the server. I just got into the situation of dealing with this problem. Same issue with my WebDAV file (""). Also changes back to how it was in the beginning (missing ""), although in my case it seems to change back after a while, even without restarting the file sharing service.

     

    Appreciate the help

  • by iBlink,

    iBlink iBlink Aug 1, 2013 8:30 PM in response to ffg80
    Level 2 (180 points)
    Aug 1, 2013 8:30 PM in response to ffg80

    For me, a clean install of the same version made things right.

  • by ffg80,

    ffg80 ffg80 Aug 2, 2013 8:02 PM in response to iBlink
    Level 1 (0 points)
    Aug 2, 2013 8:02 PM in response to iBlink

    Thanks iBlink

     

    So you are saying that your experience is that the webdav config file doesn't change back to having syntax errors (missing "") after doing a fresh install of the server; even when you restart the file sharing service?

  • by iBlink,

    iBlink iBlink Aug 2, 2013 10:20 PM in response to ffg80
    Level 2 (180 points)
    Aug 2, 2013 10:20 PM in response to ffg80

    That is correct.  I am assuming something was corrupt and not working as it should.  Ever since the clean install, we have not had any issues using webdav.