Loading

Paste #pjiec7p7h

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