Comments (4)
This is likely due to mixed secure/insecure content. If the client is browsing your site over HTTPS, then the websocket connection needs to be secure (WSS) as well, or it won't work with most browsers.
I believe that Rick has WSS proxies available: http://proxy.ftelnet.ca/
If you're using the websocket service that comes with Synchronet, you can put it behind an HTTPS reverse proxy such as nginx; this is what I do.
from ftelnet.
i try to use this settings on nginx with no succes , change the ftelnet websockert proxy port to 1124 (1123 is the original synchronet websocket) and can connect, any idea?.
server { listen 1124 ssl; server_name bbs.docksud.com.ar ssl on; location / { # prevents 502 bad gateway error proxy_buffers 8 32k; proxy_buffer_size 64k; # redirect all HTTP traffic to localhost:8088; proxy_pass http://127.0.0.1:1123; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; #proxy_set_header X-NginX-Proxy true; # enables WS support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_read_timeout 999999999; } }
ftelnet part:
var host = "bbs.docksud.com.ar"; fTelnet.Hostname = host; fTelnet.Port = 23; fTelnet.ProxyHostname = host; //fTelnet.ProxyPort = 1123; fTelnet.ProxyPort = 1124; fTelnet.Init();
from ftelnet.
Those settings look similar to what I have.
Something strange is happening on your site though; when I try to use fTelnet, it attempts to connect to:
wss://bbs.docksud.com.ar:11235/bbs.docksud.com.ar/23
On my site, I don't use the fTelnet.ProxyHostname or fTelnet.ProxyPort settings. Maybe try commenting those out, and setting fTelnet.Port to 1124 or even 1123 and see if it helps.
from ftelnet.
Sorry, no experience with proxying with nginx like that so can't help.
echicken is right though: ProxyHostname and ProxyPort shouldn't be used, unless you're connecting through one of my public proxies. If you comment those out you may have better luck.
from ftelnet.
Related Issues (19)
- MessyCodes HOT 4
- ANSI Music Data Error HOT 1
- CSI+2K does not work.
- Request: Make OnFontChange redraw of screen in new codepage optional HOT 4
- Proxy servers down
- app.js
- ACSII > 127 not working + ALT (OptionKey) in MacOS also not working HOT 1
- Ymodem-G issues HOT 21
- Accessibility of FTelnet and canvas HOT 18
- Feature request: translate input HOT 3
- Given larger than max values GotoXY should goto max width / height. HOT 3
- andorid app HOT 1
- Recording the correct IP Address HOT 5
- Run without a proxy? HOT 1
- C64 emulation not working HOT 2
- unknown SOCKS version? HOT 1
- installation instruction HOT 1
- Should ymodem transfers be working? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ftelnet.