Mitmproxy https connection failure

I like to get your help on my project . I am using mitmdump to run mitmproxy in the upstream mode when i use python(using requests library ) to send request to the server(localhost://8085) only http connection works all https requests fails giving error 61. please help .

I have fixed the issue.

@PranavPrakash52 How did you fix this issue?

which version of mitmproxy are you using??