Please login or register to access secure site features.

Note: By continuing to use DevConnect Program Services you agree to our latest Registered Member Terms.

Sign in using DevConnect ID

Forgot password?

Trouble logging in?

Submit a ticket for Registration Support.

I have an SSO ID

?
sign in

Don't have a DevConnect or SSO ID ?

Create a DevConnect account or join the program.

register now
^
Forum Index » Avaya Breeze » Presence REST API - Long Poll   XML
 
Author Message
HuppiFluppi


[Avatar]

Joined: 29/04/2015 05:16:49
Messages: 11
Offline

Hi all,
I'm new in using the REST API of Presence. I'm able to set a manual presence state and also a personal note using the REST API.
Now I want to receive Presence and Notes changes from Breeze/Presence.

When I access the URL for Long Poll I get the following error in return:

Error 503: CECommonSpace space is unreachable.


Can anybody help me with this? What am I missing or what do I need to do?
HuppiFluppi


[Avatar]

Joined: 29/04/2015 05:16:49
Messages: 11
Offline

One update: After rebooting the Breeze Server, I get now "Error 400: Bad Request" when accessing the long-poll URL

:(
wbahr



Joined: 26/02/2020 11:14:25
Messages: 3
Offline

Hi,

I have requested the Presence developers to help you with this issue. Their response may be delayed due to the Diwali holiday.

Thanks,
Bill
IshwarAvaya



Joined: 19/11/2020 00:33:46
Messages: 2
Offline

Can you please provide the request content(URL and other details) and the PS logs so that we can analyze?
HuppiFluppi


[Avatar]

Joined: 29/04/2015 05:16:49
Messages: 11
Offline

IshwarAvaya wrote:Can you please provide the request content(URL and other details) and the PS logs so that we can analyze?


The first request, to receive the Service URLs, is working. This is the answer (json converted into php array):

Array
(
    [presenceImResources] => Array
        (
            [bsid] => f7e8f479-9aab-438d-9cd9-27e0cd5e3767
            [clientId] => 57865786
            [resources] => Array
                (
                    [notificationService] => Array
                        (
                            [longPolling] => Array
                                (
                                    [method] => GET
                                    [href] => https://ava-edp-sm100.remotecolt.local/services/EventDelivery/event-delivery/channels/long-polling/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/clients/57865786
                                )

                        )

                    [session] => Array
                        (
                            [method] => DELETE
                            [href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/clients/57865786/sessions/1605771725012
                        )

                    [sessionManagement] => Array
                        (
                            [delete] => Array
                                (
                                    [method] => DELETE
                                    [href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/clients/57865786/sessions/1605771725012
                                )

                            [refresh] => Array
                                (
                                    [method] => GET
                                    [href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/clients/57865786/sessions/1605771725012
                                )

                            [ping] => Array
                                (
                                    [method] => OPTIONS
                                    [href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/clients/57865786/sessions/1605771725012
                                )

                        )

                    [serviceCapabilities] => Array
                        (
                            [get] => Array
                                (
                                    [method] => GET
                                    [href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/service-capabilities
                                )

                        )

                    [pubSubContainers] => Array
                        (
                            [create] => Array
                                (
                                    [method] => POST
                                    [href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/clients/57865786/containers
                                )

                        )

                    [presence] => Array
                        (
                            [manualPresenceState] => Array
                                (
                                    [set] => Array
                                        (
                                            [method] => PUT
                                            [href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/manual-presence-publications/state
                                        )

                                    [delete] => Array
                                        (
                                            [method] => DELETE
                                            [href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/manual-presence-publications/state
                                        )

                                )

                            [manualNote] => Array
                                (
                                    [set] => Array
                                        (
                                            [method] => PUT
                                            [href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/manual-presence-publications/note
                                        )

                                    [delete] => Array
                                        (
                                            [method] => DELETE
                                            [href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/manual-presence-publications/note
                                        )

                                )

                            [manualMode] => Array
                                (
                                    [set] => Array
                                        (
                                            [method] => PUT
                                            [href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/manual-presence-publications/mode
                                        )

                                    [delete] => Array
                                        (
                                            [method] => DELETE
                                            [href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/manual-presence-publications/mode
                                        )

                                )

                            [presenceAdhocRequest] => Array
                                (
                                    [submit] => Array
                                        (
                                            [method] => POST
                                            [href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/clients/57865786/presence-adhoc-requests
                                        )

                                )

                            [aclRules] => Array
                                (
                                    [get] => Array
                                        (
                                            [method] => GET
                                            [href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/acl-rules
                                        )

                                    [create] => Array
                                        (
                                            [method] => POST
                                            [href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/acl-rules
                                        )

                                )

                        )

                    [im] => Array
                        (
                            [send] => Array
                                (
                                    [method] => POST
                                    [href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/clients/57865786/sent-ims
                                )

                        )

                )

        )

)


Then I try to access the Long-Poll URL (https://ava-edp-sm100.remotecolt.local/services/EventDelivery/event-delivery/channels/long-polling/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/clients/57865786) with a GET-Request and the Answer is:

Error 400: Bad Request 


In the Log of the EventDelivery Snap-In I can just see this:

2020-11-19 08:42:05,092 [WebContainer : 3] EventDelivery ERROR - EventDelivery-8.1.3.0.7 - validateRequestAndGetRestPathParameters() sending error response indicating that the request was bad


What more Logs do you need?

This message was edited 1 time. Last update was at 19/11/2020 01:48:02

IshwarAvaya



Joined: 19/11/2020 00:33:46
Messages: 2
Offline

We have identified as a issue and created a jira and assigned for the development team. Will keep you posted about the progress.
HuppiFluppi


[Avatar]

Joined: 29/04/2015 05:16:49
Messages: 11
Offline

IshwarAvaya wrote:We have identified as a issue and created a jira and assigned for the development team. Will keep you posted about the progress.


Any updates on this?
 
 
Go to: