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
Trying to interface with the Alpaca markets API in Java for a project. Using org.java_websocket, I attempt to connect to the API with the Proxy setup in code, and I've gotten many errors so far, thus far I've had the infamous Sun path building error that's experienced here #569 (comment), and after some trial and error I manually used keytool to import Proxyman's CA certificate to Java. But now the error results in a Error: No subject alternative DNS name matching stream.data.sandbox.alpaca.markets found. being printed and the program exiting. In Proxyman, I see the failed attempts, but it seems to be unable to pick up on the TLS SNI, and I believe Proxyman is able to serve a certificate with the correct SAN.
Description
Trying to interface with the Alpaca markets API in Java for a project. Using
org.java_websocket
, I attempt to connect to the API with the Proxy setup in code, and I've gotten many errors so far, thus far I've had the infamous Sun path building error that's experienced here #569 (comment), and after some trial and error I manually used keytool to import Proxyman's CA certificate to Java. But now the error results in aError: No subject alternative DNS name matching stream.data.sandbox.alpaca.markets found.
being printed and the program exiting. In Proxyman, I see the failed attempts, but it seems to be unable to pick up on the TLS SNI, and I believe Proxyman is able to serve a certificate with the correct SAN.Steps to Reproduce
stream.data.sandbox.alpaca.markets
(No need to sign up and authenticate)Error: No subject alternative DNS name matching stream.data.sandbox.alpaca.markets found.
Current Behavior
It seems that Proxyman is unable to pick up on TLS SNI and isn't generating proper TLS certificate
As seen in screenshot, I get https://IP-ADDRESS rather than https://DOMAIN, so I wonder if Proxyman is correctly picking up on TLS SNI
N.B.: I have tried using a Map Remote to get Proxyman to pickup on the correct Host, but this doesn't seem to work
Expected Behavior
For Java to work
Environment
/Users/robigan/Library/Java/JavaVirtualMachines/azul-21.0.6/Contents/Home
)The text was updated successfully, but these errors were encountered: