question

Upvotes
Accepted
1 0 0 2

RTSDK / EMA : How to connect with Encrypted Socket with a SOCKS proxy ?

Hi,

Using RealTime SDK EMA API, we can use Encrypted Websocket or Encrypted Socket.

Encrypted socket is recommended for better performance over Encrypted websocket.

For security reason we’re forced to use an http/https proxy.

It is fine with Encrypted Websocket but it doesn’t work with Encrypted Socket because it’s not https.

We may able to use a SOCKS proxy for non https connection but how to configure it in EMA API with Encrypted Socket ?

ema-apiwebsocketsproxyencryption
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
16.7k 31 9 12

Hello @franck.arnulfo

I have checked with the RTSDK team. The team confirms that the RTSDK does not support SOCSK/SOCK5 proxy.

If you need this feature in the future release of the SDK, you can submit an enhancement request to the product team via the https://my.refinitiv.com/content/mytr/en/feedback.html page.

Hope this helps.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvote
16.7k 31 9 12

Hello @franck.arnulfo

There is the ProxyHost and ProxyPort parameters for the Channel Types configurations.

config-proxy.png

I am not sure if they are what you want, you can find more detail in the EMA Configuration Guide document.


config-proxy.png (55.1 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
16.7k 31 9 12

Hello @franck.arnulfo

I have rechecked the EMA API readme file (Java, C/C++). I found that the SDK supports and qualified with the following proxy authentications:

Proxies:

Authentication Schemes:

  • Basic
  • NTLM
  • NEGOTIATE/Kerberos

I am checking with the RTSDK team about the SOCSK5 proxy support. I will give you more updates as soon as I receive any information from the team.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.