You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "gaoxingliang (via GitHub)" <gi...@apache.org> on 2023/02/02 02:25:05 UTC

[GitHub] [apisix-ingress-controller] gaoxingliang opened a new issue, #1640: bug: apisix-ingress-controller has error "fail to list ssl"

gaoxingliang opened a new issue, #1640:
URL: https://github.com/apache/apisix-ingress-controller/issues/1640

   ### Current Behavior
   
   apisix ingress controller has a lot of errors, and it's always waiting a cluster to be ready: 
   ```
    2023-02-01T17:42:38+08:00	error	apisix/cluster.go:172	failed to sync cache	{"cost_time": "56.218µs", "cluster": "default"}
   
    2023-02-01T17:42:38+08:00	info	apisix/cluster.go:374	syncing schema	{"cluster": "default"}
   
    2023-02-01T17:42:38+08:00	error	apisix/plugin.go:46	failed to list plugins' names: Get "http://apisix-admin.apisix-gateway.svc.cluster.local:9180/apisix/admin/plugins?all=true": context canceled
   
    2023-02-01T17:42:38+08:00	error	apisix/cluster.go:394	failed to list plugin names in APISIX: Get "http://apisix-admin.apisix-gateway.svc.cluster.local:9180/apisix/admin/plugins?all=true": context canceled
   
    2023-02-01T17:42:38+08:00	error	apisix/cluster.go:357	failed to sync schema: Get "http://apisix-admin.apisix-gateway.svc.cluster.local:9180/apisix/admin/plugins?all=true": context canceled
   
    2023-02-01T17:42:38+08:00	info	ingress/controller.go:380	controller now is running as a candidate	{"namespace": "apisix-gateway", "pod": "apisix-ingress-controller-75569f88cc-kdjck"}
    I0201 17:42:38.554368       1 leaderelection.go:248] attempting to acquire leader lease apisix-gateway/ingress-apisix-leader...
    2023-02-01T17:42:38+08:00	info	ingress/controller.go:328	LeaderElection	{"message": "apisix-ingress-controller-75569f88cc-kdjck became leader", "event_type": "Normal"}
    I0201 17:42:38.557741       1 leaderelection.go:258] successfully acquired lease apisix-gateway/ingress-apisix-leader
    2023-02-01T17:42:38+08:00	info	ingress/controller.go:413	controller tries to leading ...	{"namespace": "apisix-gateway", "pod": "apisix-ingress-controller-75569f88cc-kdjck"}
    2023-02-01T17:42:38+08:00	info	apisix/stream_route.go:39	resource stream_routes is disabled
    2023-02-01T17:42:38+08:00	warn	apisix/cluster.go:334	waiting cluster default to ready, it may takes a while
    2023-02-01T17:42:38+08:00	info	apisix/cluster.go:374	syncing schema	{"cluster": "default"}
    2023-02-01T17:42:38+08:00	info	apisix/cluster.go:162	syncing cache	{"cluster": "default"}
    2023-02-01T17:42:38+08:00	error	apisix/ssl.go:114	failed to list ssl: unexpected status code 404; error message: {"error_msg":"not found"}
    2023-02-01T17:42:38+08:00	error	apisix/cluster.go:222	failed to list ssl in APISIX: unexpected status code 404; error message: {"error_msg":"not found"}
    2023-02-01T17:42:40+08:00	error	apisix/ssl.go:114	failed to list ssl: unexpected status code 404; error message: {"error_msg":"not found"}
   
    2023-02-01T17:42:40+08:00	error	apisix/cluster.go:222	failed to list ssl in APISIX: unexpected status code 404; error message: {"error_msg":"not found"}
   
    2023-02-01T17:42:42+08:00	error	apisix/ssl.go:114	failed to list ssl: unexpected status code 404; error message: {"error_msg":"not found"}
    
    2023-02-01T17:42:42+08:00	error	apisix/cluster.go:222	failed to list ssl in APISIX: unexpected status code 404; error message: {"error_msg":"not found"}
   ```
   
   ### Expected Behavior
   
   _No response_
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   1. See above error logs
   
   ### Environment
   
   - APISIX version (run `apisix version`): 3.1.0
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - 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.apache.org

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


[GitHub] [apisix-ingress-controller] gaoxingliang commented on issue #1640: bug: apisix-ingress-controller has error "fail to list ssl"

Posted by "gaoxingliang (via GitHub)" <gi...@apache.org>.
gaoxingliang commented on issue #1640:
URL: https://github.com/apache/apisix-ingress-controller/issues/1640#issuecomment-1427208795

   @tao12345666333 Yes. I also restarted the ingress controller and apisix. but the issue is still there.


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


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1640: bug: apisix-ingress-controller has error "fail to list ssl"

Posted by "tao12345666333 (via GitHub)" <gi...@apache.org>.
tao12345666333 commented on issue #1640:
URL: https://github.com/apache/apisix-ingress-controller/issues/1640#issuecomment-1418798557

   sure.  ref: https://github.com/apache/apisix-ingress-controller/issues/1640#issuecomment-1415122849


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


[GitHub] [apisix-ingress-controller] github-actions[bot] closed issue #1640: bug: apisix-ingress-controller has error "fail to list ssl"

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #1640: bug: apisix-ingress-controller has error "fail to list ssl"
URL: https://github.com/apache/apisix-ingress-controller/issues/1640


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


[GitHub] [apisix-ingress-controller] feynmanloo commented on issue #1640: bug: apisix-ingress-controller has error "fail to list ssl"

Posted by "feynmanloo (via GitHub)" <gi...@apache.org>.
feynmanloo commented on issue #1640:
URL: https://github.com/apache/apisix-ingress-controller/issues/1640#issuecomment-1434029692

   I have the same problem


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


[GitHub] [apisix-ingress-controller] github-actions[bot] commented on issue #1640: bug: apisix-ingress-controller has error "fail to list ssl"

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #1640:
URL: https://github.com/apache/apisix-ingress-controller/issues/1640#issuecomment-1595918003

   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


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


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1640: bug: apisix-ingress-controller has error "fail to list ssl"

Posted by "tao12345666333 (via GitHub)" <gi...@apache.org>.
tao12345666333 commented on issue #1640:
URL: https://github.com/apache/apisix-ingress-controller/issues/1640#issuecomment-1423590799

   After modifying the configuration you need to restart


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


[GitHub] [apisix-ingress-controller] gaoxingliang commented on issue #1640: bug: apisix-ingress-controller has error "fail to list ssl"

Posted by "gaoxingliang (via GitHub)" <gi...@apache.org>.
gaoxingliang commented on issue #1640:
URL: https://github.com/apache/apisix-ingress-controller/issues/1640#issuecomment-1418776008

   @tao12345666333 After I changed the conf, it still shows the error.
   below is the conf comparision of my dev and prod environment: (in dev, I don't see the error. The right is the dev conf).
   ![image](https://user-images.githubusercontent.com/3148215/216935246-fb69160c-f699-411e-b7ca-57dc3566a598.png)
   Do I need to copy other configuration? eg:
   ```
     apisix_version: "apisix.apache.org/v2"
     plugin_metadata_cm: ""
   ```
   


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


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1640: bug: apisix-ingress-controller has error "fail to list ssl"

Posted by "tao12345666333 (via GitHub)" <gi...@apache.org>.
tao12345666333 commented on issue #1640:
URL: https://github.com/apache/apisix-ingress-controller/issues/1640#issuecomment-1434148704

   Please make sure you deployed using the latest Helm chart.


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


[GitHub] [apisix-ingress-controller] github-actions[bot] commented on issue #1640: bug: apisix-ingress-controller has error "fail to list ssl"

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #1640:
URL: https://github.com/apache/apisix-ingress-controller/issues/1640#issuecomment-1553885826

   This issue has been marked as stale due to 90 days of inactivity. It will be closed in 30 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


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


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1640: bug: apisix-ingress-controller has error "fail to list ssl"

Posted by "tao12345666333 (via GitHub)" <gi...@apache.org>.
tao12345666333 commented on issue #1640:
URL: https://github.com/apache/apisix-ingress-controller/issues/1640#issuecomment-1415122849

   you should add this configuration item.
   
   https://github.com/apache/apisix-ingress-controller/blob/75030566f324af508febd1cfaa65320565c938ec/conf/config-default.yaml#L85-L87
   
   
   If you deploy APISIX Ingress through Helm, it will auto-complete.
   


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


[GitHub] [apisix-ingress-controller] gaoxingliang commented on issue #1640: bug: apisix-ingress-controller has error "fail to list ssl"

Posted by "gaoxingliang (via GitHub)" <gi...@apache.org>.
gaoxingliang commented on issue #1640:
URL: https://github.com/apache/apisix-ingress-controller/issues/1640#issuecomment-1422158557

   The issue still happens after changed the conf. Any idea? or other information needed?
   


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