Our Requirement : We have setup jitsi-meet and the data of users in the meeting is stored in the dynamodb table. We need to delete the data after the user leaves the meeting.
We have written an API to delete the data and got an endpoint URL(had authentication issues).So ,We changed it as a public URL [54. .121. :3000/api/v1/grantmoderatorsdel/bf40737e-a201-443e-97ff-a4a86e74fedc] using Docker and ECS which works well in Postman.
In mod_event_sync_component.lua , in function room_destroyed(event), I tried adding
async_http_request(‘http://54.***.121.158:3000/api/v1/grantmoderatorsdel/5904a00f-7ace-47dc-820a-6c8cfdfa0b01’, {
headers = http_headers;
method = “DELETE”;
body = ’ ’
})
This exact question has been asked multiple times (here and here (now deleted) and in PM by your colleague). This is also not the first time this has happen. Please don’t do that. It does not help you get answers faster.
-- local url = api_prefix..'/conference/'..conflict_id;
local api_prefixtest = "http://54.179.121.158:3000/api/v1/grantmoderatorsdel/c1953bac-1253-4784-98b4-47c6bd14366a";
local url = api_prefixtest..'/conference/'..conflict_id;
local http_options = {
method = 'DELETE';
headers = http_headers;
}
prosody log
Nov 29 08:54:31 certmanager error SSL/TLS: Failed to load ‘/etc/prosody/certs/localhost.key’: Check that the permissions allow Prosody to read this file. (for localhost)
Nov 29 08:54:31 localhost:tls error Error creating context for c2s: error loading private key (Permission denied)H
Nov 29 08:54:31 certmanager error SSL/TLS: Failed to load ‘/etc/prosody/certs/localhost.key’: Previous error (see logs), or other system error. (for localhost)
Nov 29 08:54:31 localhost:tls error Error creating contexts for s2sout: error loading private key (system lib)
Nov 29 08:54:31 certmanager error SSL/TLS: Failed to load ‘/etc/prosody/certs/localhost.key’: Previous error (see logs), or other system error. (for localhost)
Please let me how to resolve the above error and make my API url work.
I tried to Uncomment http_ports in /etc/prosody/conf.avail…but no luck.