The layer upload works, although it raises the following error:
key error: ‘url’ in the file geonode_v3.py line 329.
The reason is that the contents from QtCore.QByteArray (function: deserialize_json_response) includes only the execution_id key and not a ‘url’ key.
This error has been reported by the following issue while it doesn't affect the process and the layer is uploaded successfully.
However, when the GeoNode development demo is used as a client, the layer cannot be uploaded, while QGIS returns a POST 400 bad request and the message: Could not upload layer to GeoNode. It needs further investigation, since maybe it's due to the new version of GeoNode development demo (V5.0.0).