TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: RAGNAROK
from: RAGNAROK
date: 2020-06-25 00:09:00
subject: Re: websocket error Bad c

El 24/6/20 a las 23:39, Ragnarok escribió:
> i try to use ftelnet with my bbs
> 
> i run nginx as webserver with letscrypt cert (using acme.sh as client)
> and
> 
fixed!

i create a proxy url to the sbbs service at nginx:

    location /wstelnet {


        proxy_pass https://localhost:11235;


        # this magic is needed for WebSocket


        proxy_http_version  1.1;


        proxy_set_header    Upgrade $http_upgrade;


        proxy_set_header    Connection "upgrade";


        proxy_set_header    Host $http_host;


        proxy_set_header    X-Real-IP $remote_addr;


    }

then set the path to ftelnet:


 var Options = new fTelnetOptions();
 Options.Hostname = "bbs.docksud.com.ar";
 Options.Port = 443;
 Options.ForceWss = true;
 Options.WebSocketUrlPath = '/wstelnet';
 Options.Font = 'CP850';
 var Client = new fTelnetClient('fTelnetContainer', Options);

and voilá!!!

---
 ■ Synchronet ■ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.