Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dubbo registry address problem use nacos (dubbo 使用nacos作为注册中心,注册地址偶发性异常) #3657

Closed
smallpigchina opened this issue Aug 21, 2020 · 2 comments
Labels
status/invalid This doesn't seem right

Comments

@smallpigchina
Copy link

Issue Description

dubbo 使用nacos作为注册中心,在dubbo项目启动注册时偶然会 提示 Invalid url, password without username!,
发生这种情况多启动几次即恢复正常。
项目pom依赖如下:

org.apache.dubbo
dubbo-spring-boot-starter
2.7.7

	<!-- Dubbo Registry Nacos -->
	<dependency>
		<groupId>org.apache.dubbo</groupId>
		<artifactId>dubbo-registry-nacos</artifactId>
		<version>2.7.7</version>
		<exclusions>
			<exclusion>
				<groupId>log4j</groupId>
				<artifactId>log4j</artifactId>
			</exclusion>
			<exclusion>
				<groupId>org.apache.dubbo</groupId>
				<artifactId>dubbo-remoting-api</artifactId>
			</exclusion>
		</exclusions>
	</dependency>

application.yml:
dubbo:
consumer:
connections: 20
timeout: 4000
provider:
connections: 30
timeout: 3000
threads: 30
protocol:
name: dubbo # Dubbo Protocol
host: 192.168.10.146
port: -1 # Random port
scan:
base-packages: xxx
registry:
username: nacos
password: nacos
address: nacos://127.0.0.1:8848
file: "@dubbo.registry.file@"
timeout: 5000
parameters:
namespace: ${project_name}

Tell us your environment

jdk1.8、win10

Anything else we need to know?

@KomachiSion
Copy link
Collaborator

Can you provide more error stack log? I search from all the source code and could not find this error of Invalid url, password without username!

@KomachiSion
Copy link
Collaborator

No response more than 7 days and the information is not enough to reproduce and find problem. So close issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants