Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idle Connection Timeout FIx #4482

Merged
merged 1 commit into from
Apr 11, 2023
Merged

Conversation

SunithaGudisagarIBM1
Copy link
Contributor

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Relates OR Closes #0000

Output from acceptance testing:

$ make testacc TEST=./ibm/service/vpc TESTARGS='-run=TestAccIBMISLBListener_connTimeout'

Screenshot 2023-04-04 at 11 09 23 PM

Scenarios 1:

resource "ibm_is_lb_listener" "listener1" {
  lb                    = ibm_is_lb.application_01.id
  port                  = 9087
  protocol              = "http"
  accept_proxy_protocol = true
  /* idle_connection_timeout = 60  */
}

resource "ibm_is_lb_listener" "listener_network" {
  lb                    = ibm_is_lb.testacc_LB.id
  port                  = 8080
  protocol              = "udp"
  // accept_proxy_protocol = true
  //idle_connection_timeout = 60 
} 

Screenshot 2023-04-04 at 9 22 12 PM

resource "ibm_is_lb_listener" "listener1" {
  lb                    = ibm_is_lb.application_01.id
  port                  = 9087
  protocol              = "http"
  accept_proxy_protocol = true
  idle_connection_timeout = 60 
}

Screenshot 2023-04-04 at 9 23 01 PM

Screenshot 2023-04-04 at 9 24 33 PM

resource "ibm_is_lb_listener" "listener_network" {
  lb                    = ibm_is_lb.testacc_LB.id
  port                  = 8080
  protocol              = "udp"
  // accept_proxy_protocol = true
  idle_connection_timeout = 60 
} 

Screenshot 2023-04-04 at 9 27 54 PM

resource "ibm_is_lb_listener" "listener1" {
  lb                    = ibm_is_lb.application_01.id
  port                  = 9087
  protocol              = "http"
  accept_proxy_protocol = true
  idle_connection_timeout = 60 
}

Screenshot 2023-04-04 at 9 55 40 PM

@hkantare hkantare merged commit bd42051 into IBM-Cloud:master Apr 11, 2023
@SunithaGudisagarIBM1 SunithaGudisagarIBM1 deleted the ideal_conn_timeout branch June 20, 2023 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants