question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

proxyTimeout not working

See original GitHub issue

I set timeout 60000 ms Here my config:

https:
  port: 8080
  tls:
    "default":
       key: 'config/keys/certs/key.pem'
       cert: 'config/keys/certs/cert.pem'
       ca: []
# admin:
#   port: 9876
#   hostname: localhost
apiEndpoints:
  qpServiceApi:
    host: '*'
    paths: ['/qp/*', '/qp']
  serviceEndpoints:
  qpService:
    url: 'http://127.0.0.1:4118'
  policies:
  # - basic-auth
  # - cors
  # - expression
  # - key-auth
  # - log
  # - oauth2
  - rewrite
  - proxy
  # - rate-limit
  - rs-security
pipelines:
    - name: qpServicePipeline
      apiEndpoints:
        - qpServiceApi
      policies:
        - rewrite:
          -
            condition:
              name: pathmatch
              match: /qp
            action:
              rewrite: /
          -
            condition:
              name: pathmatch
              match: /qp/:route*
            action:
              rewrite: /:route
        - proxy:
            - 
              proxyTimeout: 600000
              action:
                serviceEndpoint: qpService
                changeOrigin: true

But not working!

Getting timeout exception after 2 minutes

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
amanagarwal2189commented, Mar 27, 2019

I guess this needs to be reopened. Either this or the documentation is incorrect. Doesnot really explain where this config should go in. @XVincentX

2reactions
sjahongircommented, Mar 7, 2019

@XVincentX I found solution.

- proxy:
      - action:
            serviceEndpoint: qpService
            changeOrigin: true
            timeout: 600000

I used timeout option instead of proxyTimeout

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is my ProxyTimeout setting not working in my Apache ...
I'm using Apache 2.2 and JBoss 7.1.3.Final. I'm connected to JBoss from Apache via AJP. Below is my configuration … ProxyPass /cloudfront/ ...
Read more >
OHS 12c: ProxyTimeout is not Working When Accessing a ...
ProxyTimeout directive allows a user to specifiy a timeout on proxy requests. When accessing a forward proxy of HTTPS request, the request will ......
Read more >
Proxy timeouts after 60 seconds · Issue #458 - GitHub
Is this a bug report? POST requests with form data seems to be timedout at 60 seconds. Happens in node version 13.x and...
Read more >
mod_proxy - Apache HTTP Server Version 2.4
This directive will cause the current server/vhost to "inherit" ProxyPass Balancers and Workers defined in the main server. This can cause issues and ......
Read more >
Apache ProxyPass not working for custom app - Stack Overflow
Any suggestion on how can i make this work? Thanks in advance. apache · http-proxy · proxypass · Share.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found