[Zope] Confused about ZSyncer setup
John Ziniti
jziniti@speakeasy.org
Mon, 04 Mar 2002 20:46:37 -0500
> I have set up a ZSyncer instance on my dev box with a destination of
> https://www.mydomain.com/site/ZSyncer. There is a ZSyncer product
> here on my production box, and the proxy seems to delegate properly,
> although the index page is brought up when referencing this ZSyncer
> object (is this normal????)
The index page for your web site is brought up when referencing the
ZSyncer object?
This doesn't sound right to me. You should be able to manage both the
dev and
production ZSyncer throught the ZMI. Maybe I misunderstood you
>
> Firstly, I am confused as to why one needs a ZSyncer instance on the
> target (the documentation intimates this is necessary). Surely the
> source version specifies the items to be synchronised, and the
> user/pwd combo provide enough authentication.
ZSyncer uses xmlrpc to achieve its functionality, so you need the remote
instance
to handle the delegated methods.
> Secondly, when I try to 'sync' from dev, I get an 'There was a problem
> with that comparison.' error, and tips to verify my url, user/pwd
> combo etc. It fails to connect. Not only that, it does not write any
> log info to the specified log file either. I am highly suspicious
> that it is even attempting to connect.
I *think* I recall having problems with ZSyncer and https when I first
installed it. From ZSyncer.py (line 377)
def _check_http(self, v):
# so people can get away with leaving http:// off :)
if v[:7] != 'http://' and v[:8] != 'https://':
v = 'http://%s' % v
return v
I think I added the and v[:8] != 'https://' part. Check if you have it.
Hope that solves your problems
Ziniti