Open pittbull opened 1 year ago
I've checked my configuration and haven´t been able to find anything different, your config seems to be ok 🤔
In my case, I'm executing both the mud server and the proxy in the same machine, without using containers, I'm assuming your are using one container for the mud server and another for the proxy, could the problem be related to this? Maybe the proxy is not able to connect to a different container through the docker network?, even if you could telnet from one to the other. (I updated this code from an already existing project, don't know the inner workings in deep to be sure).
I'm having the same trouble - the client connects to the proxy, the proxy announces there's a new connection, but then black screen on the client and no further output for the proxy. No containers or anything are involved, the proxy and the MOO are processes running "bare-metal" on the same (vm) host.
Pertinent config:
wsproxy.js
/* default telnet host */
tn_host: 'hayseed.net',
/* default telnet/target port */
tn_port: 7777,
config.js
host: param('host') || 'hayseed.net',
port: param('port') || '7777',
<snip>
proxy: 'wss://hayseed.net:6200/',
socket.js
var proxy = 'wss://hayseed.net:6200/';
The rest is unchanged from default. Doing a telnet hayseed.net 7777
from the host connects to the MOO just fine, so the hostname is resolving to itself correctly.
Any thoughts? Not sure how to go about debugging this further. Thanks in advance.
I stumbled upon your proxy and client and wanted to test it out for a mini mud project I'm running.
Got it all set up and the files configured, but I am unable to get the proxy to connect to the mud. Here's the config files:
wsproxy.js
src/config.js
socket.js
var proxy = 'wss://dikumud.<myhost>:6200/';
I see the connection being established in the proxy console:
But my website is just blank:
I am able to telnet to the mud from the container running the web-proxy-client.
Any insights?