Unanswered
I have confirmed I have no proxy configured anywhere on my home network (I would have been surprised if there was). I have checked using Internet Explorer> Internet options>Connections>LAN Settings. I have also checked with commandline netsh winhttp show proxy, and it clearly says " Direct access (no proxy server)." Yet I'm still unable to connect. The thing is, when I try to connect with default port 443, the system bombs out completely with the below error on trying to start the datafeed:
File "C:\Users\Blessing\OneDrive\Symphony\PythonBDK\bots\orders-bot\env\lib\site-packages\aiohttp\connector.py", line 990, in wrapcreateconnection
raise ClientConnectorSSLError(req.connectionkey, exc) from exc
aiohttp.clientexceptions.ClientConnectorSSLError: Cannot connect to host develop2.symphony.com:443 ssl:default [Cannot create a client socket with a PROTOCOLTLSSERVER context (ssl.c:801)]
However, if I put port 8433, the system repeatedly tries to connect, but gets the below error:
2021-11-26 20:46:46,748 - symphony.bdk.core.activity.registry - DEBUG - Registering new activity <symphony.bdk.core.activity.command.SlashCommandActivity object at 0x00000194EF8AF520>
2021-11-26 20:46:46,749 - symphony.bdk.core.service.datafeed.abstractdatafeedloop - DEBUG - Starting datafeed loop
2021-11-26 20:47:07,910 - symphony.bdk.core.auth.botauthenticator - INFO - Retrying symphony.bdk.core.auth.botauthenticator.BotAuthenticatorRsa.authenticateandgettoken in 2.0 seconds as it raised ClientConnectorError: Cannot connect to host develop2.symphony.com:8443 ssl:default [Connect call failed ('35.196.115.60', 8443)].
415 Views
0
Answers
2 years ago
2 years ago
443 is the correct port. What you're seeing here is that your Python instance does not trust the TLS certificate served on develop2.symphony.com. Can you confirm if your config.yaml contains a truststore? It is included if you used the Symphony Generator.