motionEye add-on - SSL issue connecting to camera

Add-on seems to run fine. I have set ssl to false in the configuration

action_buttons: []
certfile: fullchain.pem
keyfile: privkey.pem
motion_webcontrol: false
ssl: false

Still get this error when connecting to Foscam camera:

Any suggestions?

NB: I am connection fine through Foscam MacOs App

I guess you should use http:// instead of https:// for your cam. Also add the streaming port of your cam.