tfabien / kong-forward-proxy Goto Github PK
View Code? Open in Web Editor NEWA Kong plugin that allows access to an upstream url through a forward proxy (eg. squid).
A Kong plugin that allows access to an upstream url through a forward proxy (eg. squid).
Hi,
I have tried to use your forward proxy plugin in our kong.
I have built your master branch and configured that plugin as per the documentation. After enabled this forward-proxy plugin with proper proxy and port values, its still not working.
Could you please help?
2018/06/08 11:32:44 [debug] 122#0: *341 [lua] base_plugin.lua:36: log(): executing plugin "forward-proxy": log
2018/06/08 11:32:44 [debug] 122#0: *341 [lua] base_plugin.lua:36: log(): executing plugin "request-transformer": log
2018/06/08 11:33:12 [info] 124#0: *606 epoll_wait() reported that client prematurely closed connection, so upstream connection is closed too (104: Connection reset by peer) while connecting t
o upstream, client: 10.157.11.52, server: kong, request: "GET /api/v1/test HTTP/1.1", upstream: "http://10.152.x.x:8080/api/v1/test ", host: "xxxxx"
2018/06/08 11:33:12 [debug] 124#0: *606 [lua] base_plugin.lua:36: log(): executing plugin "forward-proxy": log
2018/06/08 11:33:12 [debug] 124#0: *606 [lua] base_plugin.lua:36: log(): executing plugin "request-transformer": log
And also, Could you please let me know what logs I have to check to check the plugin functionality?
Thanks and Regards!!!
Ananth Francis.
Is there any updated version for kong 3.1.X ?
Hi ,
I am creating a API with upstream URI as
http://{UPSTREAM HOST}:{UPSTREAM PORT}/soa-infra/resources/default/GetCustomerService/getcustomerprocess_client_ep_rest/rest
Then i enabled the forward-proxy on this API
now the URI being passed to the SQUID server as
"/soa-infra/resources/default/GetCustomerService/getcustomerprocess_client_ep_rest/rest"
which is missing the UPSTREAM HOST and UPSTREAM PORT .
Any pointers on how to pass the upstream URI HOST and PORT to the SQUID as part of this plugin.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.