You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have no idea but I can't connect to the remote server. According to them, I do not execute requests to their server. I followed all instruction for the installation.
To install quickfix I used this command:
pip install quickfix
Do I have to make any other configurations/settings? I suspect that there is an issue with the ports or maybe the installation of quickfix is not correct. Any suggestions?
I came closer to the issue and I think that in the config file when I add this:
SocketUseSSL=Y
It's not enough for the SSL communication to be established. I have to generate self-signed certificate which I did but still doesn't work. Any suggestions?
Hmm After 5 years I've just tried to execute all this and it still works like a charm :D Have to notice that I've built quickfix manually from their github account. Give me some more time to investigate, but meanwhile make sure that when you are trying to connect with client, your server is already up and listening for connections. Привет!
Taking into account that (1) requires but (2) does not require SSL tunnel, I presume that the issue is caused by a missing self-signed certificate.
This is why the main question here is how with the help of "quickfix-python-sample" to do that? What I did is to generate a self-signed certificate (Ubuntu 18.04) and add the following lines of code in the *.cfg file.
Quick update, I used Quickfix/J with enabled SSL connection and I was able to connect to my client successfully (the trading platform). I presume that the issue we have here is that python does not establish socket connection with a self-signed certificate. The question is: How to establish a self-signed SSL connection?
Activity
pavel-tashev commentedon Aug 15, 2019
I came closer to the issue and I think that in the config file when I add this:
SocketUseSSL=YIt's not enough for the SSL communication to be established. I have to generate self-signed certificate which I did but still doesn't work. Any suggestions?
fvmt commentedon Aug 15, 2019
Hmm After 5 years I've just tried to execute all this and it still works like a charm :D Have to notice that I've built quickfix manually from their github account. Give me some more time to investigate, but meanwhile make sure that when you are trying to connect with client, your server is already up and listening for connections. Привет!
pavel-tashev commentedon Aug 15, 2019
Привет ;)
Actually what I did yesterday is to connect to two trading platforms. Let's label them (1) and (2). (1) requires SSL (+TLSv1) and (2) does not.
When I try to connect to (2) it works like a charm but when I try to connect to (1) I get the error "Socket Error: Connection reset by peer." which according to Quickfix happens when receiving messages over Socket fails (check this link: https://github.com/quickfix/quickfix/blob/dab6d9f937e3bc700a2e8be681936b0069857609/src/C%2B%2B/Exceptions.h, row 281).
Taking into account that (1) requires but (2) does not require SSL tunnel, I presume that the issue is caused by a missing self-signed certificate.
This is why the main question here is how with the help of "quickfix-python-sample" to do that? What I did is to generate a self-signed certificate (Ubuntu 18.04) and add the following lines of code in the *.cfg file.
and this one as well:
Unfortunately it didn't work.
Questions:
pavel-tashev commentedon Aug 28, 2019
Quick update, I used Quickfix/J with enabled SSL connection and I was able to connect to my client successfully (the trading platform). I presume that the issue we have here is that python does not establish socket connection with a self-signed certificate. The question is: How to establish a self-signed SSL connection?
Any progress on this one?