Open sagar-patel-sls opened 4 years ago
Hi !
I have exactly the same error as you when I try to enqueue payload for multicast downlink, but I only have one Network Server.
My environment is the same as your's with the same version of the components.
Also, my gateway status is tag as Never Seen in the AS view, but I can send and receive data from my Application Server to my devices without any problem in unicast.
Thank in advance for your help !
What happened?
Setup: I have installed 2 Network Server on IN865 and 1 AS
we have added 1 GW in NS1, and CLASS C device added in NS2.
We have created a Multicast group of 1 device and which is added in NS2 (Multicast group is successfully created)
Now we are trying to send Downlink using Multicast Queue using AS Swagger API, but API returns an error
POST /api/multicast-groups/{multicast_queue_item.multicast_group_id}/queue
I have debugged the NS source and found the issue in DB Schema of NS (Foreign key issue) while Creating a Multicast_Queue item because Gateway Not found in NS2 (GW registered in NS1)
Foreign Key Name: multicast_queue_gateway_id_fkey Parent: multicast_queue.gateway_id Child: gateway.gateway_id
What did you expect?
Can we remove foreign_key between the multicast_queue and gateway table of the NS database?
Could you share your log output?
API Response
Your Environment