pixelstreaming with usehttps does not work

My unreal app cannot reach the streaming port 8888 when https is enabled. It works fine with http. The web server starts succesfully. Could anyone help? The connection from the UE app to the web socket 8888 is in time_wait state.