You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "alanjiang (via GitHub)" <gi...@apache.org> on 2023/03/30 11:17:27 UTC

[GitHub] [apisix] alanjiang opened a new issue, #9208: 阿里云Nacos开启认证后,APISIX不能发现upstream

alanjiang opened a new issue, #9208:
URL: https://github.com/apache/apisix/issues/9208

   ### Current Behavior
   
   这是NACOS配置:
   
   spring:
     
       nacos:
       
         discovery:
           enable: true
           server-addr: ${nacos.ip}:8848
           contextPath: /nacos
           service: ${spring.application.name}
           namespace: ${nacos.namespace}
           group: ${spring.profile.active}
           secure: true
           access-key: XX
           secret-key: XX
   
   
   在APISIX中, 配置NACOS服务发现:
   discovery:
     nacos:
       host:
         - "http://${nacos.ip}:8848"
   
   重启APISIX后,发现后端报错:
   
   <img width="1155" alt="image" src="https://user-images.githubusercontent.com/8122752/228818838-e921ba5f-a8f6-44f2-9cde-eb14c5e86604.png">
   
   想问下:APISX是否只是提供了NACOS的用户名/密码的认证模式, 并没有提供基于NACOS的access-key, secret-key这种认证模式? 如果提供了,麻烦告诉我如何配置NACOS的access-key, secret-key认证? 谢谢。
   
   
   
   
   
   
   
   
   ### Expected Behavior
   
   APISX能够识别阿里云的NACOS服务。
   
   ### Error Logs
   
   <img width="1155" alt="image" src="https://user-images.githubusercontent.com/8122752/228818838-e921ba5f-a8f6-44f2-9cde-eb14c5e86604.png">
   
   ### Steps to Reproduce
   
   K8S环境中可以复现
   
   ### Environment
   
   
   我的APISIX版本: 2.15.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] Gallardot commented on issue #9208: 阿里云Nacos开启认证后,APISIX不能发现upstream

Posted by "Gallardot (via GitHub)" <gi...@apache.org>.
Gallardot commented on issue #9208:
URL: https://github.com/apache/apisix/issues/9208#issuecomment-1491169557

   Hi @alanjiang, after checking the [nacos service discovery implementation](https://github.com/apache/apisix/blob/809ba09b26ddd62e0efa612f85e90d1aa938ce02/apisix/discovery/nacos/init.lua), we can confirm that ak/sk authentication mode is not supported. If you are interested in this, welcome to PR. 


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


Re: [I] APISIX not support Nacos ak/sk authentication [apisix]

Posted by "smileby (via GitHub)" <gi...@apache.org>.
smileby commented on issue #9208:
URL: https://github.com/apache/apisix/issues/9208#issuecomment-1880393145

   This has been resolved in #10445


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


Re: [I] APISIX not support Nacos ak/sk authentication [apisix]

Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop closed issue #9208: APISIX not support Nacos ak/sk authentication
URL: https://github.com/apache/apisix/issues/9208


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