StanzaJS Discussion - 2020-12-07


  1. gutuning Using custom server I get transport-disconnected
  2. gutuning Any idea?
  3. Berry @gutuning What do you mean ? are you having trouble in connection ?
  4. Berry I had an Issue with the connection while using websocket, it keeps disconnecting after a while, I've switched to BOSH
  5. gutuning Ok now I switched to bosh but I am getting the following error oauth not autorized
  6. Berry Seems you have an authentication issue
  7. gutuning The thing is I am sure the password is correct. And I think the error is related to oauth2
  8. gutuning It says not authorized invalid token
  9. Berry What are you using as messaging server ?
  10. gutuning I have a custom server from my company
  11. Berry Could you validate the login with any other XMPP client ?
  12. gutuning Yes I could. Although I got a warning about mismatching server certificate which I am not quite sure what it is
  13. gutuning https://xmpp.jix.im/upload/ec34c468cdf165e606d9fc96a0406f35ba2b169b/ynHIigp0kyWMamLZddom0K4BaRcvcOs7L1kbniNG/IMPWSF4KQnamj2hpvSSWRA.jpg
  14. gutuning This is the error
  15. gutuning Also this only works if If set a bosh transport to my domain. If I don't put transport it won't work and just says transport disconnected. Which doesn happen with other services I tried
  16. gutuning I believe this is related to oauth2. Does anyone know how to make stanza not use oauth?
  17. Lance client.sasl.disable('X-OAUTH2')