OokTech / TW5-Bob

A plugin that makes tiddlywiki a multi-user wiki on node
BSD 3-Clause "New" or "Revised" License
217 stars 28 forks source link

Problems using web proxy #128

Open iilyak opened 4 years ago

iilyak commented 4 years ago

I am running (check any that apply, put an x inside the [ ] to check a box, like this: [x]):

and using

Before posting I read issue guidelines and:

It could be related to #101

I successfully used following configuration.

The configuration settings are:

Today I decided to upgrade to recent versions. I read the documentation and glanced at Bob's code to figure out that I need to provide "proxyprefix": "/wiki" in "ws-server" section. However I couldn't make it work. The wiki loads but there is a red banner saying that it cannot connect to server. Also there are messages in webconsole about not being able to connect to wss socket.

I tried following combinations

I tried patching Bob in the same way and added debugging log statements. As far as I can tell the wss connection string is formed correctly. Nevertheless it doesn't work.

iilyak commented 4 years ago

I successfully rolled back to my previous setup but would like to help out to figure out the problem.

inmysocks commented 4 years ago

I have rewritten how Bob handles proxies so it shouldn't require special configuration in the next release. I have only been able to test it on my custom home network setup so I don't know if it will fix the problems in any other setup.