← Back to team overview

ubuntu-phone team mailing list archive

XHR doesn't work because of apparmor

 

Hello!
I am having some issues with a XmlHttpRequest. The response is null, even though it passes req.readyState == XMLHttpRequest.DONE. The log reports this:
QNetworkManagerInterface::QNetworkManagerInterface(QObject*) propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.465" (uid=32011 pid=22453 comm="/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene $@ q") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1245 comm="NetworkManager ")"QNetworkManagerInterface::QNetworkManagerInterface(QObject*) nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.465" (uid=32011 pid=22453 comm="/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene $@ q") interface="org.freedesktop.NetworkManager" member="GetDevices" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1245 comm="NetworkManager ")"
"Object path cannot be empty"
"Object path cannot be empty"My apparmor has "networking" in policy_groups. Could anyone help me with this?Thanks,Bogdan 		 	   		  

Follow ups