Converse.js Message Archiving not working - xmpp

I am currently using the ConverseJS library in order to connect to the XMPP server and it is working pitch perfect. The one problem I am facing is that I want the chat history and in XMPP there is a function to fetch the message. I am using the Openfire Server and using the Monitoring plugin's latest version as well.
When I open any chat window then the spinner runs and then no old messages are shown. In the console log it gives the following error:
iq type="error" id="334" to="user1#mydomain.com/458">
<error type="cancel" code="501">
<feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
</error>
</iq>
So can anyone tell me any possible solution regarding this problem.

Finally solved it. In Openfire, there is setting where you can allow to fetch the chat history. Its value was 0 and it was stopping from fetching the history. But as I entered 7, then i started sending the history.
Hope this will help others as well.

Please make sure install plugin Monitoring Service and then server restart.
also make sure open fire version 3.10.* for Monitoring Service 4.6 .
follow this link https://community.igniterealtime.org/thread/57111, it may be work for you.
it is work for me.

Related

I have not the mail option jmeter

I want to read the mail from jmeter to get the code that arrives,
but I do not have the option.
Please can you guide me to enable the option? Please can you help me.
Thank you.
You can use Mail Reader Sampler with defined configurations based on your email protocol to read the email.
Next add any of the Post Processor as child to this sampler for reading the Code from response of mail sampler.
Most probably your JMeter installation got corrupt somewhere somehow, reinstalling latest stable version should fix the issue for you.
It might also be the case you're using Ubuntu OS where jmeter-mail package needs to be installed separately.
In any case you can add/remove any JMeter component or JMeter Plugin using JMeter Plugins Manager

How to capture xmpp traffic by tool

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.

Not receiving emails after latest update "CRM Online 2015 Update 1"

This weekend had Update 1 for my organization on CRM Online 2015 (7.1.1.3149) and since then we are not receiving emails into CRM. We use email router, everything has been checked, version, tested connection, approved emails, .... . We are able to send emails from CRM but we are not getting responses back.
Anyone else going through the same problem? Any ideas to get it solved?
We use Gmail for most of our mailing and POP/SMTP through EmailRouter to get it in and out of CRM.
Already opened a service request, but last response was "an internal investigation was submitted to our Operations Team...." with no estimate for a response time.
Thanks in advance,
I solved a similar issue (crm online, upgrade to 7.1, router no longer working) doing this:
delete all configurations inside email router
update email router to latest version (it wasn't the latest)
re-create all configurations from scratch, ending up with the exact same settings I had before
In this case updating the Email Router was the problem. Looking into windows update noticed EmailRouter was updated (Update 1.1 - 7.1.0001) the day before the problem started. Looking further about this update found this thread.
Uninstalling Update 1.1 resolved the issue.
Also disabled automatic updates for other Microsoft products on windows update settings.

Enabling Stream Management in ejabberd server

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.

How To get Old Messages (Chat History) from XMPP

I am new to XMPP.
and I need to get chat history from Openfire with XMPP.
I did Googling but didn't get satisfactory Answer.
Any link or idea will be great help.
You need to install Monitoring service plugin to enable message archiving. You may have to upgrade your openfire service if this plugin is not appearing in your available plugins section in the admin console.
You will need to log into the admin console and go to:
Server --> Archiving --> Archiving Settings to enable message archiving.
Hope this helps you. Feel free to comment in case of any queries/doubts.
You need to enable archiving on the server.
Follow http://xmpp.org/extensions/xep-0136.html to get the messages.