Hono 和 Ditto 已成功连接。但是当我尝试从 Hono 发送数据时,我会收到 503 - 服务不可用消息。
但是当我检查同上日志时。我超出了以下 AMQP 限制。
connectivity_1 | 2019-10-14 16:34:38,294 INFO [] o.e.d.s.c.m.ConnectionActor akka://ditto-
cluster/system/sharding/connection/6/hono-sandbox-connection-123/pa - Starting ClientActor for
connection <hono-sandbox-connection-123> with <1> clients.
connectivity_1 | 2019-10-14 16:34:38,308 INFO [] a.a.RepointableActorRef akka://ditto-
cluster/system/distributedPubSubMediator - Message
[org.eclipse.ditto.signals.events.connectivity.ConnectionCreated] from Actor[akka://ditto-
cluster/system/sharding/connection/6/hono-sandbox-connection-123/pa#233633004] to Actor[akka://ditto-
cluster/system/distributedPubSubMediator#-301178072] was not delivered. [9] dead letters encountered.
If this is not an expected behavior, then [Actor[akka://ditto-
cluster/system/distributedPubSubMediator#-301178072]] may have terminated unexpectedly, This logging
can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-
letters-during-shutdown'.
connectivity_1 | 2019-10-14 16:34:38,441 INFO [] o.a.q.j.s.SaslMechanismFinder - Best match for
SASL auth was: SASL-PLAIN
connectivity_1 | 2019-10-14 16:34:38,721 INFO [] o.a.q.j.s.SaslMechanismFinder - Best match for
SASL auth was: SASL-PLAIN
connectivity_1 | 2019-10-14 16:34:39,128 INFO [] o.a.q.j.s.SaslMechanismFinder - Best match for
SASL auth was: SASL-PLAIN
connectivity_1 | 2019-10-14 16:34:39,781 INFO [] o.a.q.j.s.SaslMechanismFinder - Best match for
SASL auth was: SASL-PLAIN
connectivity_1 | 2019-10-14 16:34:40,962 INFO [] o.a.q.j.s.SaslMechanismFinder - Best match for
SASL auth was: SASL-PLAIN
connectivity_1 | 2019-10-14 16:34:41,020 WARN [] o.e.d.s.c.m.a.JMSConnectionHandlingActor
akka://ditto-cluster/system/sharding/connection/6/hono-sandbox-connection-
123/pa/$a/c1/jmsConnectionHandling-hono-sandbox-connection-123-connect1 - Failed to connect JMS
client:connection disallowed by local policy [condition = amqp:resource-limit-exceeded]
我不确定 AMQP:Resource limit exceeded 错误是什么意思?这会阻止我从 Hono 发送到 Ditto 吗?
如果我将所有这些都放在同上 Mongo 服务器中的 dbs 下面并再次创建新事物和连接,它会起作用吗?
> show dbs
admin 0.000GB
concierge 0.000GB
config 0.000GB
connectivity 0.000GB
local 0.000GB
policies 0.002GB
searchDB 0.001GB
things 0.337GB
编辑:我尝试在出现错误的同一服务器中再次连接 Eclipse Hono 和 Eclipse Ditto。
执行 curl commnad 时收到状态 201(已创建连接)消息。但是当我同时检查我的日志时,我收到了以下消息。
connectivity_1_ad306c4c315b | 2019-10-15T15:46:36.233449988Z 2019-10-15 17:46:36,233 WARN [] o.e.d.s.c.m.ConnectionActor akka://ditto-cluster/system/sharding/connection/12/test_co_nn_id_12/pa - Operation <connect> on connection <test_co_nn_id_12> failed due to ConnectionFailedException: Failed to connect JMS client:connection disallowed by local policy [condition = amqp:resource-limit-exceeded].
注意:当我在我的本地机器或不同的服务器上尝试这个时,它工作得很好。