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

[consumer-rabbitmq-quarkus] Expected an integer value, got "tcp://10.96.168.113:5672" #2783

Closed
yurake opened this issue Oct 17, 2022 · 2 comments · Fixed by #2784
Closed
Assignees
Labels
bug Something isn't working java Pull requests that update Java code quarkus someone for quarkus

Comments

@yurake
Copy link
Owner

yurake commented Oct 17, 2022

Logs

10:42:48 ERROR [io.sm.re.me.rabbitmq] (main) SRMSG17037: Unable to create client: java.lang.IllegalArgumentException: SRCFG00039: The config property rabbitmq-port with the config value "tcp://10.96.168.113:5672" threw an Exception whilst being converted SRCFG00029: Expected an integer value, got "tcp://10.96.168.113:5672"
	at io.smallrye.config.SmallRyeConfig.convertValue(SmallRyeConfig.java:280)
	at io.smallrye.config.SmallRyeConfig.getValue(SmallRyeConfig.java:238)
	at io.smallrye.config.SmallRyeConfig.getOptionalValue(SmallRyeConfig.java:337)
@yurake yurake added the bug Something isn't working label Oct 17, 2022
@yurake yurake self-assigned this Oct 17, 2022
@issuelabeler issuelabeler bot added java Pull requests that update Java code quarkus someone for quarkus labels Oct 17, 2022
@github-actions github-actions bot added this to To do in Feature request Oct 17, 2022
yurake added a commit that referenced this issue Oct 17, 2022
yurake added a commit that referenced this issue Oct 17, 2022
@yurake
Copy link
Owner Author

yurake commented Oct 17, 2022

02:46:50 ERROR [io.ve.ra.im.RabbitMQClientImpl] (executor-thread-1) Could not connect to rabbitmq: java.io.IOException
	at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:129)
	at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:125)
	at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:147)
	at com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:439)
	at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1139)
	at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1087)
	at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:985)
	at io.vertx.rabbitmq.impl.RabbitMQClientImpl.newConnection(RabbitMQClientImpl.java:152)
	at io.vertx.rabbitmq.impl.RabbitMQClientImpl.connect(RabbitMQClientImpl.java:830)
	at io.vertx.rabbitmq.impl.RabbitMQClientImpl.lambda$tryConnect$36(RabbitMQClientImpl.java:750)
	at io.vertx.core.impl.ContextBase.lambda$null$0(ContextBase.java:137)
	at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264)
	at io.vertx.core.impl.ContextBase.lambda$executeBlocking$1(ContextBase.java:135)
	at io.vertx.core.impl.TaskQueue.run(TaskQueue.java:76)
	at io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:564)
	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)
	at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
	at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: com.rabbitmq.client.ShutdownSignalException: connection error; protocol method: #method<connection.close>(reply-code=530, reply-text=NOT_ALLOWED - vhost / not found, class-id=10, method-id=40)
	at com.rabbitmq.utility.ValueOrException.getValue(ValueOrException.java:66)
	at com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(BlockingValueOrException.java:36)
	at com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(AMQChannel.java:502)
	at com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:293)
	at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:141)
	... 18 more

yurake added a commit that referenced this issue Oct 17, 2022
yurake added a commit that referenced this issue Oct 17, 2022
yurake added a commit that referenced this issue Oct 17, 2022
Feature request automation moved this from To do to Done Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working java Pull requests that update Java code quarkus someone for quarkus
Projects
1 participant