- [00:28] <Jack> Hello, to connect websockets i need only bind? <bind address="" port="6668" type="clients" hook="websocket">
- [00:40] <~Sadie> Jack: for unencrypted websockets that + load the websocket module, but you should probably use tls
- [00:44] <Jack> Yes, I have loaded the module and am testing it on this website: https://ircdocs.horse/tools/wstester - but it doesn't work
- [00:45] <Jack> "We encountered an error. Try changing to 'EmptyProtocol WS', or see if 'ircdocs.horse' is in the Allowed-Origins on the WebSocket server"
- [01:45] <~Sadie> Jack: oh right you need to specify a <wsorigin> tag too
- [01:45] <~Sadie> [[websocket]]
- [01:45] <+Clarus> websocket — Allows WebSocket clients to connect to the IRC server. — https://docs.inspircd.org/3/modules/websocket
- [01:55] <~Sadie> ... it should error if you don't specify that tho? weird
- [01:59] <Jack> I've been searching and I can't find any errors
- [01:59] <Jack> <module name="websocket"><websocket sendastext="no"><wsorigin allow="https://ircdocs.horse*">
- [02:00] <Jack> <bind address="" port="6668" hook="websocket">
- [02:00] <Jack> I tried many ways in wsorigin
- [02:06] <~Sadie> oh, do you have the sha1 module
- [02:07] <~Sadie> also get rid of the * at the end of ircdocs.horse
- [02:09] <~Sadie> on irdocs.horse you should select EmptyProtocol
- [02:11] <Jack> I have the sha1 module, remove the * and select Empty Protocol. But nothing. Will it be my Inspircd version? 3.3
- [02:12] <~Sadie> 3.3? not 3.13?
- [02:12] <~Sadie> thats ancient and you should upgrade
- [02:13] <Jack> Ok, is there any method to update without taking too long?
- [02:14] <~Sadie> we have packages?
- [02:14] <Jack> The modules for version 3, work in all 3.*?
- [02:14] <Jack> No, source
- [02:14] <~Sadie> all v3 releases are compatible
- [02:16] <Jack> Ok tomorrow I will update v3.13, I will change the folder, kill the old one and start the new one
- [02:16] <~Sadie> make sure to back up conf and data
- [02:16] <Jack> Oh, i forgot, thanks, see you tomorrow
- [02:17] <~Sadie> 3.3! ancient!
- [02:17] <~Sadie> wtf