You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/03/29 09:04:17 UTC

[GitHub] [apisix] guoqqqi opened a new issue #6747: bug: the latest version of docker's plugin orchestration does not work properly

guoqqqi opened a new issue #6747:
URL: https://github.com/apache/apisix/issues/6747


   ### Current Behavior
   
    I was preparing a demo of Plugin orchestration in the Route setting. As below screenshots can see.
    Also, I have an upstream mapped to the route.  I am getting this error after submitting plugin config, updating the route and running the following cmd:
   
   `curl -i -X GET "http://127.0.0.1:9080/anything"`
   
   Response:
   ```
   HTTP/1.1 404 Not Found
   Date: Tue, 29 Mar 2022 08:44:02 GMT
   Content-Type: text/plain; charset=utf-8
   Transfer-Encoding: chunked
   Connection: keep-alive
   Server: APISIX/2.13.0
   
   {"error_msg":"404 Route Not Found"}
   ubuntu@VM-8-16-ubuntu:~/workspace/apisix-docker/example$ curl -i -X GET "http://127.0.0.1:9080/anything/foo?arg=20"
   HTTP/1.1 500 Internal Server Error
   Date: Tue, 29 Mar 2022 08:44:26 GMT
   Content-Type: text/html; charset=utf-8
   Transfer-Encoding: chunked
   Connection: close
   Server: APISIX/2.13.0
   
   <!DOCTYPE html>
   <html>
   <head>
   <meta content="text/html;charset=utf-8" http-equiv="Content-Type">
   <meta content="utf-8" http-equiv="encoding">
   <title>500 Internal Server Error</title>
   <style>
       body {
           width: 35em;
           margin: 0 auto;
           font-family: Tahoma, Verdana, Arial, sans-serif;
       }
   </style>
   </head>
   <body>
   <h1>An error occurred.</h1>
   <p>You can report issue to <a href="https://github.com/apache/apisix/issues">APISIX</a></p>
   <p><em>Faithfully yours, <a href="https://apisix.apache.org/">APISIX</a>.</em></p>
   </body>
   </html>
   ```
   ![image](https://user-images.githubusercontent.com/72343596/160574629-461cb5e1-5969-4269-8dac-8c29df124031.png)
   
   
   ### Expected Behavior
   
   Normal use of plugin orchestration
   
   ### Error Logs
   
   ![image](https://user-images.githubusercontent.com/72343596/160575405-459aecf3-6405-4986-8234-91b95e86476b.png)
   
   
   ### Steps to Reproduce
   
   1. built APISIX with docker using the latest version: apache/apisix:2.13.0-alpine
   2. Just add any plugin with orchestration and all requests to Apache APISIX server will be broken
   
   refer: https://the-asf.slack.com/archives/CUC5MN17A/p1648390450317529
   
   ### Environment
   
   - APISIX version (run `apisix version`): `apache/apisix:2.13.0-alpine`
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): `nginx:1.19.0-alpine`
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org