8000 Remove broken disable verify ssl synology by balloob · Pull Request #4269 · home-assistant/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Remove broken disable verify ssl synology #4269

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 7, 2016

Conversation

balloob
Copy link
Member
@balloob balloob commented Nov 7, 2016

Description:
Disabling SSL verification for Synology camera's has been broken in 0.32 as reported in #4257. I don't have time for a proper fix right now so will just ensure now that it at least works with SSL verification enabled.

Related issue (if applicable): #4257

@mention-bot
Copy link

@balloob, thanks for your PR! By analyzing the history of the files in this pull request, we identified @pvizeli and @jgriff2 to be potential reviewers.

@balloob balloob added this to the 0.32.2 milestone Nov 7, 2016
@balloob balloob merged commit 880ef8a into dev Nov 7, 2016
@balloob balloob deleted the synology-camera-disable-verify-ssl branch November 7, 2016 06:18
@jgriff2
Copy link
Contributor
jgriff2 commented Nov 7, 2016

There are still issues with the cookies that are going to prevent the component from working. It all stems from the switch to aiohttp. I've got a working fix running on my own dev system, but need to cleanup the code and do some more testing before I can do a PR.

It looks like cookies and ssl_verify need to be set in the client connection, so I'm setting up my own instead of using hass.websessions

@balloob balloob removed this from the 0.32.2 milestone Nov 7, 2016
@balloob
Copy link
Member Author
balloob commented Nov 7, 2016

If you could PR this, that would be great 👍

@pvizeli
Copy link
Member
pvizeli commented Nov 7, 2016

http://aiohttp.readthedocs.io/en/stable/client_reference.html#basic-api cookies should work on request...

@jgriff2
Copy link
Contributor
jgriff2 commented Nov 7, 2016

I thought so too, but I was getting error about an unexpected argument, cookies, until I created my own clientsession and passed it there.

@home-assistant home-assistant locked and limited conversation to collaborators Mar 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0