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 2020/08/10 20:34:06 UTC

[GitHub] [apisix] lchoua opened a new issue #2041: request help:

lchoua opened a new issue #2041:
URL: https://github.com/apache/apisix/issues/2041


   ### Issue description
   Hello everyone, I am using APISIX with it's docker version. I have already created an Upstream, a Service, a Route and a Consumer. 
   I have running etcd in another container.
   When I make a request to the Route, that I created, sometimes I get a 200 status code but other times I get a 404 status code because of the APISIX.The error that I found in the error.log file is:
   ```
   2020/08/10 19:56:42 [error] 55#55: *3070154 [lua] init.lua:354: http_access_phase(): failed to fetch service configuration by id: -----, client: 10.0.0.35, server: , request: "GET /ping HTTP/1.1", host: "10.0.0.9:29080"
   ```
   ### Environment
   
   * apisix version (cmd: `apisix version`): 1.5
   * OS: CentOS-7
   


----------------------------------------------------------------
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.

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



[GitHub] [apisix] moonming commented on issue #2041: failed to fetch service configuration by id

Posted by GitBox <gi...@apache.org>.
moonming commented on issue #2041:
URL: https://github.com/apache/apisix/issues/2041#issuecomment-678854318


   @lchoua ping


----------------------------------------------------------------
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.

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



[GitHub] [apisix] membphis commented on issue #2041: failed to fetch service configuration by id

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2041:
URL: https://github.com/apache/apisix/issues/2041#issuecomment-672954794


   Can you provide a real example of which we can reuse it directly?
   
   we can set the real route and service into etcd and try to confirm where is the bug.
   
   waiting for your conf.


----------------------------------------------------------------
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.

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



[GitHub] [apisix] spacewander closed issue #2041: failed to fetch service configuration by id

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #2041:
URL: https://github.com/apache/apisix/issues/2041


   


-- 
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.

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



[GitHub] [apisix] spacewander commented on issue #2041: failed to fetch service configuration by id

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #2041:
URL: https://github.com/apache/apisix/issues/2041#issuecomment-816387895


   Closed as lack of response.


-- 
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.

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



[GitHub] [apisix] membphis commented on issue #2041: failed to fetch service configuration by id

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2041:
URL: https://github.com/apache/apisix/issues/2041#issuecomment-671652252


   please provide your conf, eg: the service with id `-----`
   
   if possible, you can provide all of the your conf.


----------------------------------------------------------------
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.

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



[GitHub] [apisix] lchoua commented on issue #2041: failed to fetch service configuration by id

Posted by GitBox <gi...@apache.org>.
lchoua commented on issue #2041:
URL: https://github.com/apache/apisix/issues/2041#issuecomment-671918498


   The service configuration is:
   ```
   "value": {
                       "upstream_id": "****",
                       "plugins": {
                           "limit-count": {
                               "time_window": 60,
                               "count": 1,
                               "rejected_code": 503,
                               "key": "remote_addr",
                               "policy": "local"
                           },
                           "key-auth": {}
                       },
   "id": "-----"
   },
   ```
   and the upstream configuration is:
   ```
   "value": {
                       "type": "roundrobin",
                       "nodes": {
                           "https://www.mymicroservice.com": 1
                       },
                       "hash_on": "vars",
                       "id": "****"
                   },
   ```


----------------------------------------------------------------
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.

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