Presence-plugin Problems

Hello

Updated to latest nightly build. (04-08-2005)

I have problems with the presence Plugin and/or Jive Messenger.

Even i told jive to accept presence-requests by anyone, it leads me back to the admin-login page everytime i click the prepared link.

Some other plugins don’'t work too.

Now i dont know what to do for fixing it, nor if it is a plugin problem or a problem in JM.

regards

Hey Jonathan,

My guess is that you are using an old version of the presence plugin. The last modification we made to the plugin and JM 2.2 was to skip the login window. So make sure to be using JM 2.2 or newest and the latest presence plugin.

Regards,

– Gato

I have JM 2.2 and the latest version (1.1, AFAIK) of presence-plugin and the same thing is happening to me.

If I request a url like

http://example.com/plugins/presence/status

or

http://example.com/plugins/presence/status?jid=bwinkler@example.com//example.com/plugins/presence/status?jid=bwinkler@example.com

I get redirected to the login screen.

If I’'m logged into the admin console at the same time, I just get an empty response.

try this:

http://example.com:9090/plugins/presence/status?jid=bwinkler@example.com9090/plugins/presence/status?jid=bwinkler@example.com

you must specify the port number

Exactly the same i tried yesterday without any success.

Now it works.

I am very confused …

Maybe someone can help out with the other plugins too?

regards

The port number’‘s not the problem. Although it wasn’‘t in the url that I cut and pasted from the documentation, it was in the url that I was submitting to the server. If I didn’‘t have it in there I wouldn’'t have gotten any response at all.

Here’‘s the HTTP request from my browser to the jive server and it’'s response::

GET /plugins/presence/status?jid=bwinkler@pls-net.org&type=xml HTTP/1.1

Host: jive:9090

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050727 Firefox/1.0.4

Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8 ,image/png,/;q=0.5

Accept-Language: en-us,en;q=0.5

Accept-Encoding: gzip,deflate

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

Keep-Alive: 300

Connection: keep-alive

HTTP/1.1 302 Moved Temporarily

Date: Mon, 08 Aug 2005 15:00:20 GMT

Server: Jetty/5.1.x (Linux/2.4.26-gentoo-r9 i386 java/1.5.0_04

Location: http://jive:9090/login.jsp?url=%2Fplugins%2Fpresence%2Fstatus%3Fjid%3Dbwinkler%4 0pls-net.org%26type%3Dxml

Content-Length: 0

Please read the following fact I experienced:

I tried to access a user presence by writing the URL in browser. It is OK in Mozilla, but not in MSIE nor telnet to port 9090. I think that additional CRLF in response cause this.

In telnet case, I have to ENTER 3 times, and I got the response. Normally, it only takes 2 ENTERs.

Thx for attention.

in my case, it works for type=image, not works for type=xml according to previous post.