Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Unable to see the demo of how sse connection is created #14

Open
lokesh-osian opened this issue Aug 2, 2019 · 3 comments
Open

Unable to see the demo of how sse connection is created #14

lokesh-osian opened this issue Aug 2, 2019 · 3 comments

Comments

@lokesh-osian
Copy link

As per the details given in documentation, I tried to see the example of SSE in openfire but when I visit http://{{server_name}}:7070/apps/sse/index.html . I am getting a 503 error. And unable to see how the SSE Works. I have attached a screenshot of the issue.
Can you Please help me to fix the issue or can you at least provide some information on how can I fix this.

Screenshot from 2019-08-02 18-27-43

@meidikawardana
Copy link

@lokesh-osian wow you can open https://localhost:7070/apps/sse/index.html ? I cant open it. I've got ERR_SSL_PROTOCOL_ERROR like this: sse error

how to open apps/sse/index.html ?

@deleolajide
Copy link
Member

You need to provide basic authenticate headers and already login with the Openfire Chat REST API. Otherwise, there is no data to send you over the SSE connection.

See https://discourse.igniterealtime.org/t/openfire-chat-api/68792/62

@alexkozler
Copy link

I feel like I'm missing something here...

I do a /chat/login just fine to the server, then I try and issue a GET to
http://xmpp.mysite.com:7070/rest/api/event/source

and all I get are 404s. I pass basic authorization headers with my username and password and still get nothing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants