On Wednesday, October 11, 2017 at 4:08:16 PM UTC-5, Arlen Beiler wrote:
>
> The reason I asked about the terminal output is because the line that
> specifies the put request also specifies the response that the server
> returned, which in this case should be 412.
>
>
Yep, here it is:
Settings file: C:\Wikis\TiddlyServer-2.0.7-nexe\settings.json
Open your browser and type in one of the following:
127.0.0.1:8080
[2017-10-11T16:22:35.406-0500] PUT 127.0.0.1 200 127.0.0.1
/books/testwiki
.html 854.115 ms - -
[2017-10-11T16:22:59.737-0500] PUT 127.0.0.1 200 127.0.0.1
/books/testwiki
.html 146.147 ms - -
[2017-10-11T16:23:02.356-0500] PUT 127.0.0.1 200 127.0.0.1
/books/testwiki
.html 143.149 ms - -
[2017-10-11T16:23:03.996-0500] PUT 127.0.0.1 200 127.0.0.1
/books/testwiki
.html 144.009 ms - -
[2017-10-11T16:23:05.605-0500] PUT 127.0.0.1 200 127.0.0.1
/books/testwiki
.html 146.161 ms - -
[2017-10-11T16:23:06.878-0500] PUT 127.0.0.1 200 127.0.0.1
/books/testwiki
.html 155.558 ms - -
[2017-10-11T16:23:08.573-0500] PUT 127.0.0.1 200 127.0.0.1
/books/testwiki
.html 168.605 ms - -
[2017-10-11T16:23:53.250-0500] PUT 127.0.0.1 200 127.0.0.1
/books/testwiki
.html 144.057 ms - -
[2017-10-11T16:24:00.915-0500] PUT 127.0.0.1 200 127.0.0.1
/books/testwiki
.html 144.234 ms - -
[2017-10-11T16:24:40.083-0500] PUT 127.0.0.1 200 127.0.0.1
/books/testwiki
.html 143.304 ms - -
[2017-10-11T16:25:38.675-0500] PUT 127.0.0.1 412 127.0.0.1
/books/testwiki
.html 1.528 ms - -
[2017-10-11T16:26:05.757-0500] PUT 127.0.0.1 412 127.0.0.1
/books/testwiki
.html 0.654 ms - -
I also got this on the very first attempt. I restarted and didn't see it
again:
[2017-10-11T16:18:20.981-0500] OPTIONS 127.0.0.1 200 127.0.0.1
/books/testwiki
.html 1.254 ms - -
[2017-10-11T16:18:33.329-0500] PUT 127.0.0.1 200 127.0.0.1
/books/testwiki
.html 153.159 ms - -
TypeError: Cannot read property 'length' of undefined
at Function.morgan.token [as local-addr]
(C:\Wikis\TiddlyServer-2.0.7-nexe\d
ist\server.exe:1598:37)
at eval (eval at compile
(C:\Wikis\TiddlyServer-2.0.7-nexe\dist\server.exe:3
181:10), <anonymous>:7:26)
at developmentFormatLine
(C:\Wikis\TiddlyServer-2.0.7-nexe\dist\server.exe:1
632:9)
at Array.logRequest
(C:\Wikis\TiddlyServer-2.0.7-nexe\dist\server.exe:2912:1
8)
at listener (C:\Wikis\TiddlyServer-2.0.7-nexe\dist\server.exe:2688:17)
at onFinish (C:\Wikis\TiddlyServer-2.0.7-nexe\dist\server.exe:2619:7)
at callback (C:\Wikis\TiddlyServer-2.0.7-nexe\dist\server.exe:2475:12)
at Socket.onevent
(C:\Wikis\TiddlyServer-2.0.7-nexe\dist\server.exe:2513:7)
at emitOne (events.js:101:20)
at Socket.emit (events.js:188:7)
at emitErrorNT (net.js:1277:8)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
caught process uncaughtException
closing server
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/be8a3978-a0d7-4b5f-8326-de9efd003d9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.