When you first registered on the Developer Center, you should have received a welcome email. Within that email, there is a link you can click on to request for sandbox credentials. You will then receive a package that includes the account details, the RSA keys and a sample configuration.
On configuration for the sandbox (develop2.symphony.com), the default port value of 443 is actually correct. Port 8443 is used for certificate authentication that is (as mentioned in the course) deprecated and not supported on the sandbox. If you are unable to connect to 443, it could be a problem with your internal network. e.g. you require an internet proxy.
We recommend that the sandbox be used with a personal device with open internet so as not to have corporate device/network restrictions impede your learning journey. If you have to use your corporate device on an internal network, you will need to seek advice from your internal network/infrastructure team on the connectivity requirements. You can find a full list of configuration parameters for BDK (Python) on this page: https://symphony-bdk-python.finos.org/markdown/configuration.html#full-configuration-example
Thanks Yong for your quick response! Let me follow your instructions, and I will update on here how things go.
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)].
The config file is as below. It's the one I got from the sandbox details sent by email. I just overwrote the default one created by the generator. I also copied the RSA files into the RSA folder, to match the config file.
host: develop2.symphony.com
bot:
username: devcertbot1895
privateKey:
path: rsa/devcertbot1895-private.pem