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

React.JS / Next.JS application keeps getting 502 error which does NOT happen in our local developement environment #3032

Closed
khteh opened this issue Feb 7, 2023 · 4 comments
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@khteh
Copy link

khteh commented Feb 7, 2023

Describe the bug
Latest version of ALB. Don't spot any of the HTTPCode_ELB_502_Count, HTTPCode_Target_5XX_Count, elb_status_code and target_status_code in the logs. I am using SPDY and HTTP/2 backend protocol with default 60-second idle timeout. I have configured the following:

  server.on("connection", function(socket) {
    // Set the socket's idle timeout in milliseconds. 2 minutes is the default
    // for Node's HTTPS server. We are currently using SPDY:
    // https://nodejs.org/api/https.html#https_server_settimeout_msecs_callback
    socket.setTimeout(70000)
    socket.setKeepAlive(70000)

    // Wait for the timeout event. The socket will emit it when the idle timeout
    // elapses.
    socket.on("timeout", function() {
      // Call destroy again.
      socket.destroy();
    });
  });

Steps to reproduce

Expected outcome
A concise description of what you expected to happen.

Environment

  • AWS Load Balancer controller version 2.4.6
  • Kubernetes version v1.24.8-eks-ffeb93d
  • Using EKS (yes/no), if so version? Yes v1.24.8-eks-ffeb93d

Additional Context:

@kishorj
Copy link
Collaborator

kishorj commented Feb 8, 2023

@khteh, could you verify if the target group targets are healthy?

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 9, 2023
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jun 8, 2023
@oliviassss
Copy link
Collaborator

@khteh, I'm closing this issue as for now, please feel free to reach out or reopen if you have any questions. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

5 participants