A small correction: It seems that the cookie will be correctly sent to the server if I use any other hostname than localhost. Right now I am running into the problem that the server is responding with a HTTP400 (originating from csrf.py).
All help is appreciated! Peter On Wed, May 11, 2011 at 10:14 AM, Peter Neumark <[email protected]>wrote: > Hi! > > I'd like to use TiddlySpace in a corporate setting, so I need to host > it myself. I followed all the steps in: > > http://cdent.tiddlyspace.com/bags/cdent_public/tiddlers/Hosting%20your%20own%20tiddlyspace > At first it seemed like everything works, but I can't register or log > in. > > Registration *does* create a record in the user mysql table, but I > also get an error message (the HTTP PUT seems to fails). > Then, when I try to log in, I see the following: > > 1. HTTP GET to > http://localhost/challenge/tiddlywebplugins.tiddlyspace.cookie > 2. The server responds with a 303 redirect /status and issues a > set_cookie for 'tiddlyweb_user' in the header > 3. When the client does an HTTP GET for /status, it does not send the > tiddlyweb_user cookie in the request. > > I have tried logging in from both Firefox and Chrome under linux (from > the same virtual machine). I edited cookie_form.py so the path is not > set, added a valid 'expires' value far in the future, but nothing has > changed! > > When I log in to my tiddlyspace.com account, I can see that in step 3, > the client (correctly sends the tiddlyweb_user cookie in the request > headers). I also noticed that tiddlyspace.com uses a cscf_token > cookie, which my local installation does not. Could this be the > problem? If so, how can I fix it. > > I would really appreciate some answers, because we are on a very tight > deadline for this project. > Thank you in advance, > Peter Neumark > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/tiddlywiki?hl=en. > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

