Skip to content

Commit

Permalink
fix realtime host url
Browse files Browse the repository at this point in the history
  • Loading branch information
mohyour committed Nov 7, 2022
1 parent c120c79 commit 22739ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ably/realtime/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ async def send_protocol_message(self, protocolMessage):

async def setup_ws(self):
headers = HttpUtils.default_headers()
ws_url = f'wss://{self.options.realtime_host}?key={self.__ably.key}'
ws_url = f'wss://{self.options.get_realtime_host()}?key={self.__ably.key}'
log.info(f'setup_ws(): attempting to connect to {ws_url}')
async with websockets.connect(ws_url, extra_headers=headers) as websocket:
log.info(f'setup_ws(): connection established to {ws_url}')
Expand Down

0 comments on commit 22739ec

Please sign in to comment.