Closed Alice52 closed 3 years ago
spring_cloud_version=Hoxton.SR3 ali_spring_cloud_version=2.2.1.RELEASE spring_boot_version=2.2.5.RELEASE
@Bean public CorsWebFilter coreWebFilter() { UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource(); CorsConfiguration corsConfiguration = new CorsConfiguration(); corsConfiguration.setAllowCredentials(true); corsConfiguration.addAllowedOrigin("*"); corsConfiguration.addAllowedMethod("*"); corsConfiguration.addAllowedHeader("*"); source.registerCorsConfiguration("/**", corsConfiguration); return new CorsWebFilter(source); }
_
notice: nacos discovery cannot specify group, it will be assigned to service name
http://101.132.45.28:8848/nacos/v1/ns/instance/beat?app=unknown&namespaceId=582f8a8e-70fd-4ccd-b350-13bdfb429d49&port=8060&clusterName=DEFAULT&ip=192.168.1.104&serviceName=EC_GATEWAY@@EC-GATEWAY-SERVICE&encoding=UTF-8
serviceName=EC_GATEWAY@@EC-GATEWAY-SERVICE
DEFAULT_GROUP
_
notice: nacos discovery cannot specify group, it will be assigned to service name
http://101.132.45.28:8848/nacos/v1/ns/instance/beat?app=unknown&namespaceId=582f8a8e-70fd-4ccd-b350-13bdfb429d49&port=8060&clusterName=DEFAULT&ip=192.168.1.104&serviceName=EC_GATEWAY@@EC-GATEWAY-SERVICE&encoding=UTF-8
serviceName=EC_GATEWAY@@EC-GATEWAY-SERVICE
serviceName cannot contain_
it may be a bug.