question

Upvotes
Accepted
25 8 14 18

What are the proxy supported with RFA API ?

Hello,

We wonder what are the supported proxies for RFA API

On our side we tested with haproxy and it worked.
However, with socks/http proxy or TCP proxy, it seems that it is not working.

Can you please confirm and provide a list of supported proxies ?

Thanks,

rfa-apiproxy
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
Accepted
25.3k 87 12 25

Hi @Henri.GARDON

Not entirely sure I understand your question

We don't have any officially supported Proxy servers for RFA or RT-SDK.

However, if you are using proxy authentication we only support 'Basic, NTLM or Kerberos' auth schemes - as noted in the RFA Java Developers Guide (section 13.16.3 Proxy Authentication)

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
1.5k 5 6 7

@Henri.GARDON

I think you have to distinguish between when using a http/https connection to connect to the server (tunnelingType = http/https) and using a plain-vanilla socket connection to connect to the server (tunnelingType = none)


L7 proxying
For proxying http/https the semantics are well-defined in the http protocol. This means that in principle any web proxy server should work as long as it supports the HTTP CONNECT semantics. The difficult part is really if your proxy server requires authentication. Not so much the traffic itself. When the RFA documentation refers to "support for proxy" it is this form of proxying that is meant.


L4 proxying

For proxying of the TCP connection itself you may get proxying to work but I would never rely on it for production purpose. This form of proxying is completely transparent to the RFA lib. Proxying at the Level4 layer is actually quite complex and in particular for high-throughput environment I doubt the proxy server would be up for it. This being said we've succesfully TCP-proxied RSSL traffic at Level4 layer in my company, but only, only for non-prod purpose. If you get weird results, for example because TCP packets arrive out of order then you are really on your own. I don't work for Refinitiv but I would never officially support L4 proxying had I been their shoes. But as I said, I've seen it work for RSSL traffic without a glitch. YMMV.


L5 proxying
SOCKS implies proxying at Level5 layer. If the RFA lib were to support it would require explicit support from the lib itself. Since it is not mentioned in the RFA docs I would assume that SOCKS is not supported as such. However. the JVM supports it so without knowledge of the RFA lib you may be able to do something like:

$ java -DsocksProxyHost=socks.abc.intranet yourRFAJavaApplication

The downside of this approach is that the use of SOCKS will apply to any TCP connection the application makes, not just the connection to the RSSL endpoint. This is rarely what you want. For this reason, this feature in the JVM is almost never useful.

Ref: https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html

Even if you have control over the RFA Java application (i.e. in-house developed) it will not help you as the RFA SDK does not allow you to pass a Socket as part of creating a session to an RSSL endpoint.

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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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