Git Product home page Git Product logo

kong-forward-proxy's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

kong-forward-proxy's Issues

Forward proxy plugin is not working

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.

Upsteream host and port is missing in the squid request

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.

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.