Giter Site home page Giter Site logo

kong-plugin-http-mirror's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

kong-plugin-http-mirror's Issues

kong does not proxy anymore even when the plugin is not active

Hi,

I've tried to make the plugin work in Kong 1.5.1. For that I made a fork - https://github.com/lgazo/kong-plugin-http-mirror.

I successfully started Kong with the plugin but when I enabled it for a route, it returned 502 all the time. Even when I removed the configuration the version of Kong with this plugin could not proxy anymore.

This is the log:

2021/02/04 20:55:34 [error] 30#0: *68278 upstream sent too big header while reading response header from upstream, client: 10.0.0.143, server: kong, request: "GET /analytics
-console/app/advanced-analytics HTTP/1.1", upstream: "http://10.0.0.130:5603/analytics-console/app/advanced-analytics", host: "<kong>",
 referrer: "https://<mirror_endpoint>/analytics-console/app/advanced-analytics"
10.0.0.143 - - [04/Feb/2021:20:55:34 +0000] "GET /analytics-console/app/advanced-analytics HTTP/1.1" 502 160 "https://<kong>/analytics-
console/app/advanced-analytics" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36"

I tried to increase the proxy buffers to KONG_NGINX_PROXY_PROXY_BUFFER_SIZE=256k but that did not help either.

Because I am not an expert writer of Kong plugins I seek advice :)

Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.