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/12/28 07:30:45 UTC

[GitHub] [apisix] pguokun opened a new issue #3142: config_etcd.lua:262: sync_data(): failed to check item data of [/apisix/routes] err:additional properties forbidden

pguokun opened a new issue #3142:
URL: https://github.com/apache/apisix/issues/3142


   **Issues Description:**
   
   After installing apisix v2.1 and apisix-dashboard v2.2, after adding a new routing configuration through apisix-dashboard, the ```apisix/logs/error.log``` file shows that ```config_etcd.lua``` has been and often reports errors, and APISIX cannot update routing information
   similar to the following:
   
   ```
   2020/12/28 14:49:43 [error] 42#42: *110 [lua] config_etcd.lua:262: sync_data(): failed to check item data of [/apisix/routes] err:additional properties forbidden, found status ,val: {"id":"334881807369503455","update_time":1609136271,"uris":["\/*"],"methods":["GET","HEAD","POST","PUT","DELETE","OPTIONS","PATCH"],"priority":0,"hosts":["default-01.test.com"],"status":1,"plugins":{"redirect":{"http_to_https":true},"prometheus":{"disable":true}},"upstream":{"nodes":[{"port":7001,"weight":1,"host":"172.22.1.90"},{"port":7002,"weight":1,"host":"172.22.1.90"}],"upstream_host":"172.22.1.90","type":"roundrobin","hash_on":"vars","timeout":{"send":6000,"read":6000,"connect":6000},"pass_host":"rewrite"},"desc":"测试接口","vars":{},"create_time":1609134711,"name":"test-1"}, context: ngx.timer
   ```
   
   **Environment:**
   apisix version : v2.1
   apisix-dashborad version : v2.2
   etcd Version: 3.4.13
   OS: CentOS Linux release 7.8.2003 (Core)


----------------------------------------------------------------
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 #3142: config_etcd.lua:262: sync_data(): failed to check item data of [/apisix/routes] err:additional properties forbidden

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


   Apisix 2.1 doesn't have field `status`.
   CC @juzhiyuan 


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