Whenever I want to sync or push from a local repository to the 'main' repository, I get this answer and fossil bails out. I checked the users on the local and remote repositories and they are the same. Tried to look for this in the documentation and tickets but could not find anything.
How can I resolve this ?

Thx,
Wim

I found out by browsing the database where my problem was. Although you update your user info (specifically passwords), the last-sync-url does not get updated. Updating this variable with the reset password settles the problem. Is there a way to update the last-sync-url from the command line ?

The last-sync-url is updated automatically when you do a push, pull, or sync
that specifies an explicit url.  Example:

    fossil pull

The command above will store the
in the last-sync-url variable.  Note also that the USER:PASSWORD, is stored
but never displayed.