Currently I have integrating strophe in my chat application.Its working fine until user is online But, when i try to switch the another wifi connection in my system, strophe sends the DISCONNECTED I don't have any idea to make it to reconnect automatically in such situation. Please help me to fix this issue.
Could Not Connect strophe js connection after DISCONNECTED status
420 views Asked by kumaran At
1
There are 1 answers
Related Questions in JAVASCRIPT
- Using Puppeteer to scrape a public API only when the data changes
- inline SVG text (js)
- An array of images and a for loop display the buttons. How to assign each button to open its own block by name?
- Storing the preferred font-size in localStorage
- Simple movie API request not showing up in the console log
- Authenticate Flask rest API
- Deploying sveltekit app with gunjs on vercel throws cannot find module './lib/text-encoding'
- How to request administrator rights?
- mp4 embedded videos within github pages website not loading
- Scrimba tutorial was working, suddenly stopped even trying the default
- In Datatables, start value resets to 0, when column sorting
- How do I link two models in mongoose?
- parameter values only being sent to certain columns in google sheet?
- Run main several times of wasm in browser
- Variable inside a Variable, not updating
Related Questions in XMPP
- How to Implement Chatbot at Scale
- How to connect Openfire with Kotlin
- Having trouble with node.js client joining a XMPP Prosody room
- Connecting to Openfire server from browser using xmpp.js
- Flutter xmpp_plugin - App crashes when open the app again
- XMPP - Openfire Subgroup
- Does the XMPP receipy still work in Franz
- Unable to retrieving chat history using Strophe.js and Ejabberd with XEP-0313: Message Archive Management (MAM)
- Integrate XMPP Openfire STUN server with client side js web application
- How to define a shaper in ejabberd for websocket connections?
- Accessing Content in XMPP PubSub Event Using pubsub:published Event (StanzaJS)
- Can xmpp server admin influence usage of omemo?
- is there anyone help me about this p2 ejabberd error?
- ejbberd : How to make IQ Handler parallel?
- Setup Ejabbered on a VPS
Related Questions in CHAT
- Undefined function getAdminPanelUrlPrefix()'error in Laravel SaaS project after installing chatmessenger
- I want to develop an iOS application that displays Open Street Map offline
- Unseen text bubbles MessageKit
- Creating a chat table in database from 2 separated tables
- Should we auto-scroll on sending/receiving a new message in a chat based interface?
- Spring AI's auto-configuration for multiple models of the same AI chat provider
- Code to chat between a Telegram Admin bot and a Telegram user bot does not work
- Can I publish my Google Chat status on my website?
- Google Chat: how to post with picture file using mostly javascript in Google Apps Script?
- Preserve chat history of Assistants API using Flutter?
- can't i just use a standard query to fetch the message in the database to whichever user i want instead of using sockets, what is the issue with that
- Node.js Broadcasting Image In Real-time
- Deployment success but can't send pictures
- Input Keyboard is not showing up when click on otp input in Mobile, Android Studio
- play_audio function crash python chat
Related Questions in STROPHE
- Unable to retrieving chat history using Strophe.js and Ejabberd with XEP-0313: Message Archive Management (MAM)
- Unable to connect to ejabberd server using strophe js while using a async
- How can I get the chat room online members without reload the page in converse js
- How can I get the online users list using converse Strophe environment in react js
- How to install strophe for use with a browser
- Integrating Strophe with React JS
- Connection with ejabberd server from Strophe.JS (through Webscokets) saying "connection...failed"
- Using strophejs how to implement message seen feature
- Strophe.js on-message handler doesn't trigger
- Use javascript lib from typescript (with inherited javascript dependencies)
- Could Not Connect strophe js connection after DISCONNECTED status
- How to call strophejs-plugin-chatstates from service?
- How to integrate StropheJs with Angular 8
- I'm developing an Angular6 app, i am trying to send message from web using Strophe
- Strophe JS cannot connect to xmmp MongooseIm server in ionic4/Angular 8 hybrid app
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
If you are using BOSH to connect to your server then you can add keepalive to your connection string
If you are using Web Sockets to connect then you need to write a setInterval after the initial connection success.
This should solve your problem.