Hello I have been facing this issue where the Distributed Handler in Identity Microservice is getting triggered twice
In debugging Mode the breakpoint doesn't hit first time but it will hit the second time.
I have checked with Custom Created Microservice and and the handlers in other service are getting triggered once only.
I don't know what am i doing wrong here?
I am trying this on newly create Project
-
ABP Framework version: 5.0.1
-
UI type: Angular
-
DB provider: EF Core
-
Tiered (MVC) or Identity Server Separated (Angular): Microservice Solution
-
Exception message and stack trace: none
-
Steps to reproduce the issue:"
-
Created a ETO in Saas Domain Shared
-
Publishing Event from Saas Application layer
-
Create Same Eto in Identity Microservice
-
Handled the Event
9 Answer(s)
-
0
Hi,
I will check it
-
0
Also these errors are occuring when we create a tenant for the second time the app is deployed in aws.
this is only occuring in Identity Microservice moduleThe AMQP operation was interrupted: AMQP close-reason, initiated by Peer, code=404, text='NOT_FOUND - no queue 'Portal_IdentityService' in vhost '/'', classId=50, methodId=20 RabbitMQ.Client.Exceptions.OperationInterruptedException: The AMQP operation was interrupted: AMQP close-reason, initiated by Peer, code=404, text='NOT_FOUND - no queue 'Portal_IdentityService' in vhost '/'', classId=50, methodId=20
[10:58:57 WRN] Savepoints are disabled because Multiple Active Result Sets (MARS) is enabled. If 'SaveChanges' fails, then the transaction cannot be automatically rolled back to a known clean state. Instead, the transaction should be rolled back by the application before retrying 'SaveChanges'. See https://go.microsoft.com/fwlink/?linkid=2149338 for more information. To identify the code which triggers this warning, call 'ConfigureWarnings(w => w.Throw(SqlServerEventId.SavepointsDisabledBecauseOfMARS))'. [11:30:17 WRN] The operation has timed out. System.TimeoutException: The operation has timed out. at RabbitMQ.Util.BlockingCell
1.WaitForValue(TimeSpan timeout)
at RabbitMQ.Client.Impl.SimpleBlockingRpcContinuation.GetReply(TimeSpan timeout)
at RabbitMQ.Client.Impl.ModelBase.ModelRpc(MethodBase method, ContentHeaderBase header, Byte[] body)
at RabbitMQ.Client.Framing.Impl.Model._Private_ChannelOpen(String outOfBand)
at RabbitMQ.Client.Framing.Impl.AutorecoveringConnection.CreateNonRecoveringModel()
at RabbitMQ.Client.Framing.Impl.AutorecoveringConnection.CreateModel()
at Volo.Abp.RabbitMQ.RabbitMqMessageConsumer.TryCreateChannelAsync()` -
0
Hi,
I used the steps you provided, there is no problem. I can't reproduce it.
Can you provide a project to me that can reproduce? shiwei.liang@volosoft.com thanks.
-
0
Hello I have shared on one drive, is that okay?
-
0
Hi,
Ok, please send the link to my email. shiwei.liang@volosoft.com
-
0
Hi,
I used the project you provided, I think maybe it has something to do with your environment. Can I check it remotely?
-
0
Hello Yes sure, that would be great as this is a bit urgent.
-
0
Hi,
Please email me when you are available. shiwei.liang@volosoft.com
-
1
Solved, the problem related to RabbitMQ server.