cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1521
Views
0
Helpful
7
Replies

HTTP Bosh Bind Error 400 - Non gadget in IE

Daniel Inbaraj
Beginner
Beginner

Hi,

I am facing Bad Request 400 Error in http-bind/ on Non-gadget. I could not connect to finesse xmpp bosh in IE which greater than version 8. But it works in IE8, Chrome, Safari, Firefox. Because of this, I am not receiving the change events in Non gadget.

Below is the snap shot which is working in IE8,

ie8.jpg

Below is the snap shot which is not working in IE greater than 8,

ie9.jpg

Tested with NonGadgetSample10 which is downloaded from cisco devnet.

Can anyone please give us the solution on how to make this work with all IE's.

Thanks,

Daniel Inbaraj J.

7 Replies 7

Geevarghese Cheria
Cisco Employee
Cisco Employee

Hi Daniel,

  

Request to check the Browser settings for Internet Explorer also refer Cannot connect to BOSH on the Finesse Server for related information.

Thanks and regards,

Geevarghese

Hi,

The above replies does not help for me. Can we have BOSH httpbinding without proxy setup which is similar to Jabber sdk.?

var demoConfig = {

                domain: "xxx.xxxxxxxx.xxx", //the domain specified for your CUP server

                httpBindingURL: "http://xxx.xx.xx.xxx/httpbinding", //the BOSH url for your server

                unsecureAllowed: true //unsecureAllowed should be true if plaintext authentication is allowed over unencrypted or unsecured HTTP channels

            };

            jabberwerx._config.unsecureAllowed = demoConfig.unsecureAllowed;

Thanks,

Dany

Hi Daniel,

   IE8/9 have more restiriction in CORS which requires same protocol through out. http->http, or https->https

Reference - CUPS BOSH with CAXL and CORS

Thanks and Regards,

Geevarghese

bavly
Beginner
Beginner

Hi

dekwan

Could you please help me with that error
I know That correct url to use for a BOSH connection for Finesse is -

http://<host>:7071/http-bind/

that what I read from the server
<?xml version="1.0"?>
-<iq id="agsXMPP_1" type="error" to="finesse1.dcloud.cisco.com/1e2ee691"
from="dcloud.cisco.com" xmlns="jabber:client">
-<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind">
<resource>cisco</resource>
</bind>
-<error type="modify" code="400">
<bad-request xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
</error>
</iq>

But i always get 400 bad request did anyone know how to solve this problem
Is there some configuration i need to make on the server like proxy or something like that ?

Thanks,

Bavly

dekwan
Cisco Employee
Cisco Employee

Hi Bavly,

Yes, you need a proxy for it to work. Are you using the NonGadgetSample? https://github.com/CiscoDevNet/finesse-sample-code/tree/master/NonGadgetSample

In the zip, there is a readme that has instructions on how to configure your proxy.

Thanx,

Denise

bavly
Beginner
Beginner

Hi  @Denise_Kwan

please help me , I am trying to test answer call api for finesse with the following request

https://finesse1.dcloud.cisco.com/finesse/api/Dialog/18639336

<Dialog>

   <targetMediaAddress>1071</targetMediaAddress>

   <requestedAction>ANSWER</requestedAction>

</Dialog>

i got this response

<ApiErrors>

<ApiError>

<ErrorType>Not Found</ErrorType>

<ErrorData>finesse.api.not_found</ErrorData>

<ErrorMessage>Invalid dialogId specified for dialog</ErrorMessage>

</ApiError>

</ApiErrors>

dekwan
Cisco Employee
Cisco Employee

Hi,

Like the error message states, that dialog id is not valid. It is most likely that the call has dropped due to rona and therefore the id is no longer valid. Make sure the call still exists when you use that API.

Thanx,

Denise

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers