tfabien / kong-forward-proxy

A Kong plugin that allows access to an upstream url through a forward proxy (eg. squid).
11 stars 15 forks source link

Forward proxy plugin is not working #2

Open ananthfrancis opened 6 years ago

ananthfrancis commented 6 years ago

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.