The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniFocus > OmniFocus Syncing > Other WebDAV
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
SOLVED: Bad Gateway (502) Error using Bingodisk Thread Tools Search this Thread Display Modes
Quote:
Originally Posted by Orc View Post
I won't open another thread for this but I get 502 errors at home when trying to sync OmniFocus 1.1 (v.77.7.0.103348) on my MBP to my WebDAV server which is on a 10.4.11 G5/Quad workstation.

I'm using http rather than https (I'm on my own NATed net).
Any suggestions?


(Was I too eager when buying OF for my iPhone, the other day hoping that WebDAV sync would work?)

[FYI: MobileMe, Bingodisk or any other foreign service is an option]
You don't want to use a remote service, as it doesn't support HTTPS ( and sending your password plaintext is an accident waiting to happen).

When I was experimenting with HTTP (local network, not a hotspot obviously), I had to delete the database on the iTouch, then resync, then it worked. Sometimes it'd fail, but if I tried again, it'd work again.
 
Any more info on this?
 
Nope - I abandoned the attempts to get HTTPS working with bingodisk, when I realized that my corporate policy prohibited me from using a third-party provider. I'm waiting for the direct sync version to be released.

I absolutely can't get HTTPS working with a local WebDAV server due to certificate issues.
 
An article at:

http://keelypavan.blogspot.com/2009/...h-502-bad.html

may provide a possible solution for the Omni Devs. It indicates that a relative link may work more easily than specifying the entire URI. Obviously, users have no control over this feature. I am only surmising that they are not currently using a relative location due to the consistent problems with WebDAV MOVE (I am using my own WebDAV server).

Last edited by Colby; 2009-04-10 at 11:36 AM..
 
Pondering the "relative link" issue that I posted about above, I began to wonder if there was anything I could do on my end to avoid the problem.

I experimented with Apple's strange notation for localhost which is formatted thusly:

http://yourusername-emac.local/omnifocus/

where you'd have to substitute for your own info accordingly (I'm using the omnifocus directory to sync with WebDAV). After placing this information in the OmniFocus Syncronization Preferences panel, Advanced tab, Location text box, OmniFocus reports that it is syncing successfully. Now to try with https and the iPhone...
 
Quote:
Originally Posted by Colby View Post
It indicates that a relative link may work more easily than specifying the entire URI. Obviously, users have no control over this feature. I am only surmising that they are not currently using a relative location due to the consistent problems with WebDAV MOVE (I am using my own WebDAV server).
We'd love to use a relative link. Unfortunately, Section 9.3 of the WebDAV standard says that the Destination header must use an absolute URI, not a relative URI. Some WebDAV servers accept relative URIs anyway, but some don't.

Now, as for the configuration of your personal WebDAV server: are you running it on 10.4 (with Apache 1) or 10.5 (Apache 2) or something else? We recently modified our Bonjour server configuration for Apache 1 on 10.4 to use a mod-perl rewrite rule which automatically reformats the Destination header to always match what the server thinks it is, solving the Bad Gateway problem. You could easily grab our mod-perl script (which ships inside OmniFocus.app) and use it in another Apache 1 configuration.

If you're using Apache 2, it's even easier: you can use the "RequestHeader edit" directive to rewrite the Destination header to match your local protocol and hostname, as described in this article.

Hope this helps!
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
SOLVED: Unrecoverable error on startup - HELP ME!!! daev OmniFocus 1 for Mac 3 2010-01-09 04:06 PM
"Bad Gateway" sync prob. on iPod [SOLVED: Restart OF on Mac if network changes] el_jimo Bonjour sync 3 2009-03-17 01:21 PM
Crash using https on BingoDisk success2be OmniFocus for iPhone 0 2008-08-18 10:41 AM
Bingodisk, WebDav, and SSL/HTTPS kingsinger Other WebDAV 1 2008-08-12 06:03 PM
STILL getting the 502 errors with bingodisk lhotka OmniFocus Syncing 5 2008-08-05 05:40 PM


All times are GMT -8. The time now is 11:13 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.