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/10/14 16:02:12 UTC
[GitHub] [apisix-ingress-controller] misstick86 opened a new issue, #1388: bug: controller auth 403
misstick86 opened a new issue, #1388:
URL: https://github.com/apache/apisix-ingress-controller/issues/1388
### Issue description
Enter the following command. I get 403 error in controller. So, this is my operator problem.
```shell
make kind-up
helm install apisix apisix/apisix --create-namespace --namespace apisix
helm install apisix-dashboard apisix/apisix-dashboard --create-namespace --namespace apisix
helm install apisix-ingress-controller apisix/apisix-ingress-controller --namespace apisix
```
and then. you should change **default_cluster_base_url** value in configmap name is `apisix-ingress-controller-configmap`. and change deployment yaml for init container settings.
someboy can try do this again. see if there will be this problem.
### Environment
- your apisix-ingress-controller version (output of apisix-ingress-controller version --long):
```
/ingress-apisix # ./apisix-ingress-controller version --long
Version: 1.5.0
Git SHA: no-git-module
Go Version: go1.19.2
Building OS/Arch: linux/amd64
Running OS/Arch: linux/amd64
```
- your Kubernetes cluster version (output of kubectl version):
v1.21
- if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a):
```
/ingress-apisix # uname -a
Linux apisix-ingress-controller-f4f9974f8-k5ddt 5.10.104-linuxkit #1 SMP Wed Mar 9 19:05:23 UTC 2022 x86_64 Linux
```
### Minimal test code / Steps to reproduce
no
### Actual result
no
### Error log
controller log:
```
2022-10-14T23:46:30+08:00 error apisix/plugin.go:46 failed to list plugins' names: unexpected status code 403; error message: <html>
<head><title>403 Forbidden</title></head>
<body>
<center><h1>403 Forbidden</h1></center>
<hr><center>openresty</center>
</body>
</html>
2022-10-14T23:46:30+08:00 error apisix/plugin.go:46 failed to list plugins' names: unexpected status code 403; error message: <html>
<head><title>403 Forbidden</title></head>
<body>
<center><h1>403 Forbidden</h1></center>
<hr><center>openresty</center>
</body>
</html>
2022-10-14T23:46:30+08:00 error apisix/cluster.go:394 failed to list plugin names in APISIX: unexpected status code 403; error message: <html>
<head><title>403 Forbidden</title></head>
<body>
<center><h1>403 Forbidden</h1></center>
<hr><center>openresty</center>
</body>
</html>
2022-10-14T23:46:30+08:00 error apisix/cluster.go:357 failed to sync schema: unexpected status code 403; error message: <html>
<head><title>403 Forbidden</title></head>
<body>
<center><h1>403 Forbidden</h1></center>
<hr><center>openresty</center>
</body>
</html>
........
```
### Expected result
_No 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.
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] misstick86 closed issue #1388: bug: controller auth 403
Posted by GitBox <gi...@apache.org>.
misstick86 closed issue #1388: bug: controller auth 403
URL: https://github.com/apache/apisix-ingress-controller/issues/1388
--
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 #1388: bug: controller auth 403
Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1388:
URL: https://github.com/apache/apisix-ingress-controller/issues/1388#issuecomment-1279407629
you can see https://github.com/apache/apisix-helm-chart/blob/0271a095d8294554319407c64dd60c525117e127/charts/apisix/templates/configmap.yaml#L255-L257
Our recommended installation is to install all components in one command.
```
helm install apisix apisix/apisix --set gateway.type=NodePort --set ingress-controller.enabled=true --set ingress-controller.config.apisix.serviceNamespace=apisix --namespace apisix --create-namespace --set ingress-controller.config.apisix.serviceName=apisix-admin
```
--
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] misstick86 commented on issue #1388: bug: controller auth 403
Posted by GitBox <gi...@apache.org>.
misstick86 commented on issue #1388:
URL: https://github.com/apache/apisix-ingress-controller/issues/1388#issuecomment-1279635590
yeap.
--
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] misstick86 commented on issue #1388: bug: controller auth 403
Posted by GitBox <gi...@apache.org>.
misstick86 commented on issue #1388:
URL: https://github.com/apache/apisix-ingress-controller/issues/1388#issuecomment-1279223489
I already know the reason. may be we should give a note in repo docs for [here](https://github.com/apache/apisix-helm-chart/blob/master/docs/en/latest/apisix.md).
[reason](https://github.com/apache/apisix-helm-chart/blob/master/charts/apisix/templates/configmap.yaml#L247). apisix has some rule for access requests.
--
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 #1388: bug: controller auth 403
Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1388:
URL: https://github.com/apache/apisix-ingress-controller/issues/1388#issuecomment-1279407573
you can see https://github.com/apache/apisix-helm-chart/blob/0271a095d8294554319407c64dd60c525117e127/charts/apisix/templates/configmap.yaml#L255-L257
Our recommended installation is to install all components in one command.
```
helm install apisix apisix/apisix --set gateway.type=NodePort --set ingress-controller.enabled=true --set ingress-controller.config.apisix.serviceNamespace=apisix --namespace apisix --create-namespace --set ingress-controller.config.apisix.serviceName=apisix-admin
```
--
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