fix issue: use response from the session
fix issue: reset the port of https request
fix compile error: the interface changed