No messages going to FineCollectionService and VehicleRegistrationService
Closed this issue · 1 comments
FCS.txt
TCS.txt
VRS.txt
I was following DaprCon and Traffic application worked until I put Actors.
Now TrafficControl receives msgs fromSimulation but FineCollectionService and VehicleRegistrationService don't.
Tried also
https://github.com/EdwinVW/dapr-traffic-control
Hi @nina0901. Thanks for you interest in the Dapr Traffic Control sample!
I've just changed the topic that is used by the actor to send the speeding-violations (this was a bug!). See 294bfdc. It now uses the speedingviolations
topic (in stead of the collectfine
topic). So please pull the latest version.
I've just tested this of Dapr Traffic Control with the Actor implementation (with the fix described above) and it worked as expected. I was not able to reproduce the issue.
So let's dive into the logging you shared. I see in the FCS logging that something went wrong with the subscription to the speedingviolations
topic by the FCS. A subscription already exists.
You can try to fix the problem by removing the speedingviolations
exchange from RabbitMQ. Follow these instructions:
- Stop all the Dapr Traffic Control services.
- Open the RabbitMQ management portal.
- Login with username
guest
and passwordguest
. - Open the
Exchanges
tab. - Select the
speedingviolations
exchange. - Click the
Delete
button on the bottom and confirm the deletion.
You can also delete the collectfine
topic (if that is present).
Now restart all services in the described order (VRS, FCS, TCS, SIM) and see whether the issue is gone.
Please let me know the result!