Questions tagged [nacos]

15 questions
1
vote
0 answers

FeignClient specified configuration class does not take effect

I'm a novice at Stack Overflow. I really don't know why 'Ask Question' doesn't indicate the location to be formatted. I can only use Blackquote to wrap most non code segments. Maybe Stack Overflow can make questions friendly? I use Nacos service…
1
vote
1 answer

sentinel dashboard 1.8.0 add rule success,but the list page show the rule data nothing

enter image description here left menu i can see my path, when i add a rule, the Api response success and forward to the rule list page, bug nothing in the page. sentinel dashboard v1.8.0 running in localhost:8080 sms-service can be running…
seasonszx
  • 11
  • 1
1
vote
0 answers

LoadBalance Failed after add CorsConfiguration

environment: Spring cloud version: 2020.0.2, Spring-cloud-starter-alibaba-nacos version: 2021.1 I have already exclude the netflix-ribbon and import spring-cloude-starter-loadbalancer in pom.xml, and use "lb://url" formate in gateway…
0
votes
0 answers

Is there a microservices chassis built for .dotnet core?

Am interested in finding a microservices chassis built for dotnet core. A quick search revealed that there are no implementations except microdot and steeltoe, but what am interested in is a system that takes care many cross cutting concerns…
Gakis41
  • 1,831
  • 2
  • 11
  • 13
0
votes
0 answers

@LoadBalanced load balancer does not resolve service name in nacos

enter image description here enter image description here enter image description here enter image description here Registering basic_module successfully in the NACOS service registry, and also added @ LoadBalanced load balancing annotation in…
0
votes
0 answers

springcloud-alibaba-starter 2.2.5 pom.xml dependency nacos 1.4.1, in fact but nacos version is 1.1.4,

enter image description here above image is mvn:dependency:tree screenshot, enter image description here this is image is spring-cloud-starter-alibaba-anacos-config.pom source screenshot, why the nacos-client verison is 1.1.4,but its not 1.4.1? I…
0
votes
0 answers

How to let Nacos create a sharding of the service?

I'm implementing a distributed text search engine. A document need to be sent to a corresponding indexer appliction based on the key. So there will be indexer-1, indexer-2...indexer-n spring applications. We cannot decide how many indexer there will…
wenjun
  • 1
  • 1
0
votes
1 answer

When starting nacos, it reported an error that could not create the Java Virtual Machine

Details of the error message "nacos is starting with standalone" Unrecognized option: --spring.config.additional-location=file:E:\Project"/conf/ --logging.config=E:\Project"/conf/nacos-logback.xml Error: Could not create the Java Virtual…
Shiokiri
  • 1
  • 3
0
votes
1 answer

nacos discover port that matched management port not server port

I have set two ports in application.properties as follows: server.port=8081 server.servlet.context-path=/open/api management.port=8079 After the service started, visit http://127.0.0.1:8080/nacos/v1/ns/instances?serviceName=[serviceId], you can…
myth
  • 1
  • 1
0
votes
0 answers

Nacos registry always drops

Nacos in Linux server and other applications are made with docker deployment, but nacos always puzzling dropped, other deployed application won't drop, is this why? Every time is to rerun nacos, very troublesome, have what good method can solve the…
qqxing
  • 1
  • 1
0
votes
0 answers

How does the nacos client customize the registration timing

I have a springboot project that uses nacos as the registration center. I want to register with nacos after the service is warmed up. How should I implement it? I know that NacosAutoServiceRegistration listens to WebServerInitializedEvent, I removed…
ght ggg
  • 39
  • 4
0
votes
0 answers

Why doesn't Spring Cloud use bootstrap.yml by default anymore?

This is my Spring Cloud test project. As the java version is 1.8, I try to build the cloud project with some new version. UTF-8
Autrui
  • 1
0
votes
0 answers

When microserver uses nacos, every debug and restart service is very slow. Is there a solution?

Each time the service was restarted, nacos discovery had to be shutdown, then the service had to be shutdown, and then the service had to be started again. nacos shutdown takes a while.(About two or three seconds) For example, if a service is not…
XiaoZe C
  • 3
  • 1
0
votes
2 answers

Spring Cloud + Feign + Nacos failed to req API:/nacos/v1/ns/instance

Hello I tried launching a Feign + SpringCloud Demo with Nacos as the configuration center,but Nacos started abnormally, please help me to check the problem, thank you very much!!! MY Exception Message: java.lang.IllegalStateException: failed to req…
wss4j
  • 1
0
votes
0 answers

How can I choose bootstrap.yml according to db config?

I have two nacos bootstrap.yml which means two nacos with different ip, I want to load one of the bootstrap.yml according to db config. For example, if my loadVariable value from db config is A, I want to load bootstrap-a.yml. How can I do…
flower
  • 2,212
  • 3
  • 29
  • 44