Q:

self.get_secure_cookie returns None, but cookie exists

I have a strange error, when check cookie in Tornado`s WebSocketHandler:
class MyHandler(WebSocketHandler):
    def open(self):
        print(self.get_secure_cookie("cookie"))

It returns None, but in browser I can see that cookie (in another login-handler I use self.set_secure_cookie("cookie", "123"))
How to fix that? 
Thanks!
Update
if I use self.request.headers I only have:
{
'Pragma': 'no-cache', 
'Sec-Websocket-Version': '13', 
'Connection': 'Upgrade', 
'Upgrade': 'websocket', 
'Host': 'localhost:8888', 
'Sec-Websocket-Key': 'key', 
'Cache-Control': 'no-cache', 
'User-Agent': 'u-a', 
'Sec-Websocket-Extensions': 'x-webkit-deflate-frame', 
'Origin': 
'http://127.0.0.1:8888'
}

A:

I have started use wss:// and it works

