question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

In bosh mode, after the connection is abnormal, the loop is reconnected

See original GitHub issue

Describe the bug <body xmlns='http://jabber.org/protocol/httpbind' type='terminate' condition='item-not-found'/>

2022-05-09T05:28:25.114Z WARNING: Could not restore session for jid: test@xxx/conversejs_20220509045247_8534 Error message: _restore: no restoreable session.

Environment (please complete the following information):

  • Desktop
  • Browser : Chrome
  • Converse.js version : 9.1.1

Additional context server ejabbered

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
udanielicommented, Jun 14, 2022

I did not investigate further this issue, sorry. I gave up with BOSH and pre-binding: I switched to websocket with ejabberd external authentication, using the credentials_url option.

  • My web backend generates a token and passes it into the response of credentials_url;
  • conversejs authenticates to ejabberd using this token;
  • ejabberd asks my backend if the token is good via an external script.

You could skip the external authentication step using the ejabberd JWT authentication method, but the documentation says that mod_offline will be unavailable.

With this setup reconnections/expired sessions are not an issue.

1reaction
shijiumeicommented, Jun 14, 2022

image

maybe

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting Camera Connectivity & Bosch Remote Portal
For troubleshooting perform the following steps: 1. Please check if the camera is connected to the Internet and can reach the Cloud Connector....
Read more >
VRM Video Recording Manager
This is where information about the connected BVIP devices (Bosch Video over IP) and storage systems, as well as about the recordings, is...
Read more >
Guide to Troubleshooting Servo Motor & Drive
Common Issues and Possible Causes: Servo Motor Troubleshooting · Overheating · Servo Motor Won't Turn · Servo Making Abnormal Noises · Servo Motor...
Read more >
Diagnosing an abnormal startup: what that screen means
This means that your Mac has been unable to start up in Remote Recovery mode, and may be because it hasn't been able...
Read more >
Bosch Dishwasher won't cycle or spray water. Any ideas? - iFixit
Hi everyone, first time posting here. My Bosch shu43c05uc/17 dishwasher isn't spraying water or cycling through. The spray arms are clean ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found