twproxy icon indicating copy to clipboard operation
twproxy copied to clipboard

403 and 404 on index page

Open kamer opened this issue 3 years ago • 1 comments

Hello! I have a tiddlywiki instance. Here are the commands I run:

tiddlywiki wiki --listen port=8081

twproxy -s -u kamer -P <hashed_password> -d http://localhost:8081/ -p 8082

It does not show any error but I see a corrupted page with Sync error while processing save of '$:/StoryList': XMLHttpRequest error code: 403 message. (https://imgur.com/8cziMjL)

Also, when I go to my tiddly instance (https://subdomain.domain.com/), OPTIONS request returns 404 with Sinatra doesn’t know this ditty. message.

twproxy logs are also here:

127.0.0.1 - - [13/Dec/2020:20:33:35 UTC] "GET / HTTP/1.0" 200 2164596
- -> /
127.0.0.1 - - [13/Dec/2020:20:33:36 UTC] "OPTIONS / HTTP/1.0" 404 500
https://subdomain.domain.com/ -> /
/var/lib/gems/2.7.0/gems/twproxy-0.1.1/lib/twproxy/proxy.rb:73: warning: URI.unescape is obsolete
/var/lib/gems/2.7.0/gems/twproxy-0.1.1/lib/twproxy/proxy.rb:79: warning: URI.escape is obsolete

Can you help with this problem?

kamer avatar Dec 13 '20 20:12 kamer