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/12/08 07:25:55 UTC
[GitHub] [apisix] juzn01 opened a new issue, #8484: bug:
juzn01 opened a new issue, #8484:
URL: https://github.com/apache/apisix/issues/8484
### Current Behavior
i have apisix 3.0 and i want enable control api public to "0.0.0.0" in config.yaml file but it don't work:
enable_control: true
control:
ip: "0.0.0.0"
port: 9090
curl http://127.0.0.1:9090/v1/healthcheck >> OK
curl http://apisix-ip:9090/v1/healthcheck >> not OK
Please help me! Thanks!
### Expected Behavior
_No response_
### Error Logs
_No response_
### Steps to Reproduce
instal apisix 3.0 on redhat 7.9 by rpm
start apisix:
systemctl start apisix
change conf/config.yaml file:
enable_control: true
control:
ip: "0.0.0.0"
port: 9090
restart apisix:
systemctl restart apisix
### Environment
- APISIX version (run `apisix version`):3.0
- Operating system (run `uname -a`): redhat 7.9
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):1.21.4.1
- etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):3.5.0
--
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] mscb402 commented on issue #8484: bug: can't public control api
Posted by GitBox <gi...@apache.org>.
mscb402 commented on issue #8484:
URL: https://github.com/apache/apisix/issues/8484#issuecomment-1346182380
can you post all your config.yaml content to us?
--
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] mscb402 commented on issue #8484: bug: can't public control api
Posted by GitBox <gi...@apache.org>.
mscb402 commented on issue #8484:
URL: https://github.com/apache/apisix/issues/8484#issuecomment-1346190838
please, try is config. And share all your config for us not just fragment
--
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] juzn01 commented on issue #8484: bug: can't public control api
Posted by GitBox <gi...@apache.org>.
juzn01 commented on issue #8484:
URL: https://github.com/apache/apisix/issues/8484#issuecomment-1346197162
> please, try is config. And share all your config for us not just fragment
It is my all config bro.
![image](https://user-images.githubusercontent.com/28623637/207016947-0f8b74e9-a739-4918-869a-c7598b1d21ea.png)
--
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] mscb402 commented on issue #8484: bug: can't public control api
Posted by GitBox <gi...@apache.org>.
mscb402 commented on issue #8484:
URL: https://github.com/apache/apisix/issues/8484#issuecomment-1346220517
its glad to help you, you can close this issue now
--
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] juzn01 commented on issue #8484: bug: can't public control api
Posted by GitBox <gi...@apache.org>.
juzn01 commented on issue #8484:
URL: https://github.com/apache/apisix/issues/8484#issuecomment-1346205716
> Maby you need put control block to apisix block,like this
>
> ```
> apisix:
> enable_control: true
> control:
> ip: "0.0.0.0"
> port: 9090
> ```
oki let me try it
--
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] juzn01 commented on issue #8484: bug: can't public control api
Posted by GitBox <gi...@apache.org>.
juzn01 commented on issue #8484:
URL: https://github.com/apache/apisix/issues/8484#issuecomment-1346238022
i open new issue relate to reponse rewrite, please help me.
https://github.com/apache/apisix/issues/8501
--
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] juzn01 commented on issue #8484: bug: can't public control api
Posted by GitBox <gi...@apache.org>.
juzn01 commented on issue #8484:
URL: https://github.com/apache/apisix/issues/8484#issuecomment-1346182972
> can you post all your config.yaml content to us?
![image](https://user-images.githubusercontent.com/28623637/207014524-ded70d1d-c9c4-4d65-8868-98fe15d2dad1.png)
this is config in config.yaml.
--
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] juzn01 closed issue #8484: bug: can't public control api
Posted by GitBox <gi...@apache.org>.
juzn01 closed issue #8484: bug: can't public control api
URL: https://github.com/apache/apisix/issues/8484
--
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] mscb402 commented on issue #8484: bug: can't public control api
Posted by GitBox <gi...@apache.org>.
mscb402 commented on issue #8484:
URL: https://github.com/apache/apisix/issues/8484#issuecomment-1346201475
OK, I see it. Please change the config and try it. It is work for you now?
--
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] mscb402 commented on issue #8484: bug: can't public control api
Posted by GitBox <gi...@apache.org>.
mscb402 commented on issue #8484:
URL: https://github.com/apache/apisix/issues/8484#issuecomment-1346177684
> > Can you share `netstat -tulpn` output for us?
>
> ![image](https://user-images.githubusercontent.com/28623637/207011805-bc70d556-3c55-4ded-b6a3-a990314051a7.png)
>
> yes
Look like there don't have 0.0.0.0:9090
--
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] tokers commented on issue #8484: bug: can't public control api
Posted by GitBox <gi...@apache.org>.
tokers commented on issue #8484:
URL: https://github.com/apache/apisix/issues/8484#issuecomment-1346174735
Not sure if this is due to the `0.0.0.0` format, could you try to configure the `ip` field to `*`?
--
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] juzn01 closed issue #8484: bug: can't public control api
Posted by GitBox <gi...@apache.org>.
juzn01 closed issue #8484: bug: can't public control api
URL: https://github.com/apache/apisix/issues/8484
--
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] mscb402 commented on issue #8484: bug: can't public control api
Posted by GitBox <gi...@apache.org>.
mscb402 commented on issue #8484:
URL: https://github.com/apache/apisix/issues/8484#issuecomment-1345831016
Can you share `netstat -tulpn`?
--
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] juzn01 commented on issue #8484: bug: can't public control api
Posted by GitBox <gi...@apache.org>.
juzn01 commented on issue #8484:
URL: https://github.com/apache/apisix/issues/8484#issuecomment-1346167816
> Can you share `netstat -tulpn` output for us?
![image](https://user-images.githubusercontent.com/28623637/207011805-bc70d556-3c55-4ded-b6a3-a990314051a7.png)
yes
--
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] mscb402 commented on issue #8484: bug: can't public control api
Posted by GitBox <gi...@apache.org>.
mscb402 commented on issue #8484:
URL: https://github.com/apache/apisix/issues/8484#issuecomment-1346187256
Maby you need put control block to apisix block,like this
```
apisix:
enable_control: true
control:
ip: "127.0.0.1"
port: 9090
```
--
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] juzn01 commented on issue #8484: bug: can't public control api
Posted by GitBox <gi...@apache.org>.
juzn01 commented on issue #8484:
URL: https://github.com/apache/apisix/issues/8484#issuecomment-1346217972
> OK, I see it. Please change the config and try it. It is work for you now?
ah oki ,it is work now thanks you.
--
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