title: Python websockets vs websocket
body: <p>I'm connecting to the same websocket address but for some reason I can't receive data using <code>websockets</code>+<code>asyncio</code>.
  However, it does work when using <code>websocket</code> as well as using a raw websocket connection with Postman.</p>
  <p>if <code>SOCKET</code> is the address</p>
  <p>Using <code>websockets</code> + <code>asyncio</code></p>
  <pre><code>import asyncio
  import websockets
  
  SOCKET = 'wss://api...'
  
  async def handle(uri):
      async with websockets.connect(uri) as websocket:
          while True:
              print(await websocket.recv())
  
  asyncio.get_event_loop().run_until_complete(handle(SOCKET))
  
  </code></pre>
  <p>Using <code>websocket</code></p>
  <pre><code>from websocket import create_connection
  
  ws = create_connection(SOCKET)
  
  while True:
      try:
          result = ws.recv()
          print(result)
  </code></pre>
  <p>Does anyone know what can possibly be wrong with the first option? I'm actually following a python sample request suggested by a site's documentation when using <code>websockets</code>+<code>asyncio</code>.</p>