Closed clehner closed 8 years ago
The session key in your client.json file is incorrect. It looks like you put in a password rather than a session key. You need to log in via a browser (with the username and password) and then get the session key that was set as a cookie.
For example, via the Firefox inspector I see: Cookie: s=1:c06aa5e105daafcb305bfbb4017ff2c0
So my client.json would be:
{
"repos": {
"main": {
"url": "http://localhost:8000/",
"session": "1:c06aa5e105daafcb305bfbb4017ff2c0"
}
}
}
The assertion failure is a bug. I will look into it. Thanks for reporting, and sorry for the trouble!
The assertion failure should be fixed in 3e5daadafd222f5bc028847857f852fa733da3e8. Let me know how the session key goes.
Got it, thanks. I wasn't sure what to put in session
- I assumed it was a shared secret (I didn't read the readme closely enough). After putting in session from the cookie, sln-pipe looks like it is working.
Great, thanks for trying it out! Curious to hear your thoughts.
starting the server:
syncing:
the server has crashed:
my
~/.config/stronglink/client.json
: