I was searching for solution to use xmpp library on flutter to connect with ejabberd server for chatting app. Anyone's suggestion will be very help for me.
XMPP connection made with flutter by using the xmpp_stone library. My Github repository is here. The main problem is, it connects without tls connection. In your ejabberd configuration yaml file line starttls: true, starttls_required: true should be commented.
If you have a better solution please suggest me. Thanks in advance!!!
I founded one way to connecting ejabberd server flutter given Strophe library enter link description here Strophe.js is an XMPP library for JavaScript. Its primary purpose is to enable web-based, real-time XMPP applications that run in any browser.
Related
I been trying for 3 days to connect to XMPP server through web sockets on flutter web.
Tried the xmpp_stone package which uses dart.io so can't use it for web and tried the web_support version of that again connection kept getting failed.
I tried xmpp_dart package, strophe, and dart:html WebSocket no luck.
it would be helpful if I get some suggestions or some solution to this
For one of my application, I have implemented Web socket using socket.io and hosted in IIS. Currently socket connection helping to provide two way connection between client (React) and server (node.js).
As I mentioned, I have hosted my application in IIS. I have few doubts regarding Turn Windows features on or off -> Internet Information services -> World wide Web Services -> Application Development Features -> WebSocket Protocol. I have tested my application without enabling this feature, its working fine, but I would like to confirm below stuffs.
WebSocket Protocol
Do I really need to enable WebSocket protocol feature to make websocket work in my application? If so, how now it is working fine without enabling (I haven't do performance and stress testing, I may face issue on this).
What if I not enabling this feature? in short what is the actual use of this feature?
It would be helpful if anyone answer the above questions. Thanks in advance.
WebSocket as part of the HTTP stack requires a bunch of things to be ready on Windows (across multiple components), so hope this answer helps a little.
HTTP.sys, a driver deep down in Windows OS, is upgraded to support the necessary packet communication required by the protocol.
The IIS WebSocket module, an IIS extension which many other Microsoft frameworks (like SignalR) depend on.
So WebSocket support is by default on in HTTP.sys, and you don't need the IIS module if your framework (socket.io) has no dependency there.
Note that the "Summary" section provides several useful links,
https://learn.microsoft.com/en-us/iis/get-started/whats-new-in-iis-8/iis-80-websocket-protocol-support#summary
and the same article also reveals that IIS WebSocket module has
conflicts with socket.io.
We are working on a project that uses Open fire(Xmpp) protocol. I have to capture that traffic(xmpp). suggest me tool and process.?
does wireshark work for xmpp traffic.?
Another suggestion only relevant if you happen to be using Smack:
If you are just trying to debug the traffic for a particular client while developing it and you happen to be using Smack as your client side library (just a guess since we are talking about openfire), then you can also make use of the Smack debug console. Adding the Java system property -Dsmack.debugEnabled=true will cause a debug console window to open each time an XMPP connection is established. IT shows traffic in/out and other useful information.
Yes, Wireshark works for XMPP traffic, as long as it is unencrypted.
If the connection is encrypted, you may be able to decrypt it by following the instructions at https://wiki.wireshark.org/SSL .
For monitors conversations and statistics of the openfire server,you can use Monitoring Service plugin in openfire.
For install
Go to server web amdin panel
Go to plugin menu
click on available plugin
find and install Monitoring Service plugin.
Hi I am developing an XMPP chat application. The chat is working properly and I have a problem with Stream Management. I have added the following settings in my server
In this I enabled stream_management. But I am not able to get sm xmlns='urn:xmpp:sm:3’ while connecting. Is there any other setting required for this? Please help me to solve this issues.
I expect that you are using an old ejabberd version (like for example ejabberd 2.1.11. ejabberd 2.1.11 does not support stream management, so what you see is the expected behaviour.
If you want to use stream management, you need at least ejabberd 14.07, but preferably the most recent version is better.
Is there a XMPP library for iPhone development with BOSH support? I checkout xmppframework but that does not seem to have bosh support.
Have you tried this: https://github.com/directi/xmppframework/
Please also check this: https://github.com/robbiehanson/XMPPFramework
I don't see that this project was forked from : https://github.com/directi/xmppframework/ though