Closed MudraPatel closed 7 years ago
It seems a server side issue but could you include your code? Are server side settings correct?
Personal advice: don't include sensitive data such as ip or, worse, access tokens :)
Thanks! The issue has been solved.
Hi, I am not able to create the room and even I'm not able to add user in the openfire through the script below I have added the response.
getRequest -- [{"url":"http:\/\/144.217.253.67:9009\/plugins\/restapi\/v1\/chatrooms?servicename=conference","headers":["Accept: application\/json","Authorization: basic YWRtaW46aW50ZWxueHQyMDE3IQ==","Content-Type: application\/json"],"method":"POST","postData":"{\"roomName\":\"intellinects\",\"naturalName\":\"12334545\",\"description\":\"This is my first chat room!\",\"persistent\":true,\"canAnyoneDiscoverJID\":false,\"canOccupantsChangeSubject\":false,\"broadcastPresenceRoles\":{\"broadcastPresenceRole\":[\"moderator\",\"participant\",\"visitor\"]},\"admins\":{\"admin\":[\"admin\"]}}","response":false,"server_output":""}]
getCurlInfo -- {"url":"http:\/\/144.217.253.67:9009\/plugins\/restapi\/v1\/chatrooms?servicename=conference","content_type":null,"http_code":302,"header_size":325,"request_size":522,"filetime":-1,"ssl_verify_result":0,"redirect_count":0,"total_time":0.594,"namelookup_time":0,"connect_time":0.25,"pretransfer_time":0.25,"size_upload":295,"size_download":0,"speed_download":0,"speed_upload":496,"download_content_length":0,"upload_content_length":295,"starttransfer_time":0.594,"redirect_time":0,"redirect_url":"http:\/\/144.217.253.67:9009\/login.jsp?url=%2Fplugins%2Frestapi%2Fv1%2Fchatrooms%3Fservicename%3Dconference","primary_ip":"144.217.253.67","certinfo":[],"primary_port":9009,"local_ip":"192.168.0.103","local_port":54040}
please help me. Thanks!