Internal Server error - 500


Thanks for reading,

I am creating one CHAT application using Openfire 3.10.13 and Javascript MVC.

I am trying to add a user to roster entry of another User. Following stanza is sent to open fire and it throws internal server error.

one more thing to note is below stanza works fine from my POC (Html page and javascript) but when I am using same strophe.js and sending below stanza from MVC application, it throws internal server error. Earlier there was no from attribute in IQ but then it was not working even with POC. once added, it started working with POC.

Not sure, if connection object issue or something for MVC.


<presence from=‘3f6fe22b-f41d-44a2-9a1c-70f17f7b6e64@place0’

to=‘d7a0900b-75e8-4040-adcc-746edf32f0d4@eworkplace0’ type=‘subscribe’ xmlns=‘jabber:client’/>

Logged error is as below

org.jivesoftware.openfire.auth.UnauthorizedException: org.jivesoftware.openfire.user.UserNotFoundException

at org.jivesoftware.openfire.handler.IQRosterHandler.manageRoster(IQRosterHandler. java:234)

at org.jivesoftware.openfire.handler.IQRosterHandler.handleIQ( :122)

at org.jivesoftware.openfire.handler.IQHandler.process(

at org.jivesoftware.openfire.IQRouter.handle(

at org.jivesoftware.openfire.IQRouter.route(

at org.jivesoftware.openfire.spi.PacketRouterImpl.route(

at org.jivesoftware.openfire.SessionPacketRouter.route( 8)

at org.jivesoftware.openfire.SessionPacketRouter.route( )

at org.jivesoftware.openfire.http.HttpSession.sendPendingPackets( 655)

at org.jivesoftware.openfire.http.HttpSession$ a:1279)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$ Source)

at Source)

sorry, server version is 3.10.3