I am new on APISIX. I am struggling configuring a basic route. I have configured an API target 192.168.224.130:3637 (which is an EAI waiting for HTTP request). I have also configured a http-logger pluggin targeting 192.168.224.130:3636.
When sending the request to the entrypoint, the request doesn't reach the target (port 3637), but the http-logger reach port 3636. Any idea what I am doing wrong ?
thanks for your help !
I tried to use the hostname instead of the IP adress, but didn't work Better.
{ "uri": "/api", "name": "xxxconnect", "methods": [ "GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS", "CONNECT", "TRACE", "PURGE" ], "plugins": { "http-logger": { "_meta": { "disable": false }, "uri": "http://192.168.224.130:3636" } }, "upstream": { "nodes": [ { "host": "192.168.224.130", "port": 3637, "weight": 1 } ], "timeout": { "connect": 6, "send": 6, "read": 6 }, "type": "roundrobin", "scheme": "http", "pass_host": "pass", "keepalive_pool": { "idle_timeout": 60, "requests": 1000, "size": 320 } }, "labels": { "API_VERSION": "0" }, "status": 0 }