" /> IRD Restful Webservice using HTTP GET method - Genesys CTI User Forum

Author Topic: IRD Restful Webservice using HTTP GET method  (Read 2545 times)

Offline nomster123

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 0
IRD Restful Webservice using HTTP GET method
« on: June 23, 2016, 11:50:15 AM »
Advertisement
Hi Guys using version 8.1
I have simply using web service block for HTTP restful request to call a webserver. I have setup the webserver to not respond to the clients request in this case genesys and set the http_conn_idle_timeout in http section of URS to 9 seconds. Naturally it should go into strategy and come out of red port after 9 seconds in which server hasnt responded to the request and the client socket should be closed.

It does come out of the redport but i can see the port of the webserver still to established and not getting closed. Shouldnt it get closed after webserver has not responded to the request. I can see in the URS HTTP logs that socket remains opened

Is there any config option I am missing? Please suggest guys

Offline nomster123

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 0
Re: IRD Restful Webservice using HTTP GET method
« Reply #1 on: June 30, 2016, 10:09:39 AM »
Anyone?

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: IRD Restful Webservice using HTTP GET method
« Reply #2 on: June 30, 2016, 10:39:14 AM »
The connection remains opened without any activity for more than configured timeout? Did you try to make a entwork sniff to check if there is truly inactivity during the period?
« Last Edit: June 30, 2016, 11:40:14 AM by Kubig »

Offline terry

  • Sr. Member
  • ****
  • Posts: 328
  • Karma: 35
Re: IRD Restful Webservice using HTTP GET method
« Reply #3 on: June 30, 2016, 01:20:34 PM »
I don't think this option is related with described case.
It is used AFTER successful connecting with Web server and getting back answer. It control how long to keep connection after that if it is not used. It is not working if there are connection issues or Web server return error.

Offline nomster123

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 0
Re: IRD Restful Webservice using HTTP GET method
« Reply #4 on: July 01, 2016, 01:40:29 PM »
yes Kubig I can see it the tcp view that the connection remain established. SO basically server has rejected the request and it exits via the red port but connection remains there and for everytime it goes into webservice block a new http brridge.exe is created and the previous doesnt go away