I am using the solclientjs solclientjs - npm and need to use a proxy. Is this possible?
I tried the settings from Session Properties Required to Establish a Connection but could not get a connection.
Which library is solclientjs using inside for tcp connections? Maybe I can add the proxy there.
Tamimi
January 31, 2024, 6:05pm
2
Hey there @Christian_Jacobs ! What kind of error do you get (if any) when you attempt to set the session properties url via solace.SessionProperties.url?
Connection error: connect ETIMEDOUT
From your question I assume that it works with other proxies?
I can use our proxy like this:
curl -I --proxy "
http://proxy.domain:81
" "
https://target.domain:443
`"
`
For the solace.SessionProperties.url
I have tried:
wss://target.domain:443%httpc://proxy.domain:81
wss://target.domain:443%http://proxy.domain:81
socks5 seems to be blocked unfortunately. I could not connect with curl.