Hey all, I just set up a participation node on QuickNode. I want to connect to its AlgodClient to unload some resources off of my local machine as I develop my app on the TestNet with Java. The service give me URL with the token as a part of the directory. When I used this hostname, token, and tested a few ports to construct the AlgodClient instance, I get timed out. The method call metrics on the QuickNode dashboard don’t seem to show any activity either. The URL takes the form of “your-node-here.algorand-testnet.quicknode.pro/averylongalphanumerictokenrighthere/algod/”. I opted to remove the token, making the node temporarily public to circumvent the authentication, yet I still can’t seem to connect. I’ve tried ports 80, 8080, and 4001 thus far. 80 gives an SSL error, 8080 gives a Read Timeout error and 4001 simply says Connection Timed Out. As for the QuickNode analytics it only displays HTTP calls. I have a feeling I’m just configuring wrong, but there’s not much documentation available for setting up Algorand on QuickNode. Any help is appreciated. Thanks.
private static AlgodClient connectToNetwork() {
//Public Access
final String ALGO_API_HOST = "https://your-node-name.algorand-testnet.quiknode.pro/algod/";
//final String ALGO_API_TOKEN = "";
final int ALGO_API_PORT = 4001;
/*
Token Authentication Access
final String ALGO_API_HOST = "https://your-node-name.algorand-testnet.quiknode.pro/averylongalphanumerictokenaboutthislength/algod/";
final String ALGO_API_TOKEN = "averylongalphanumerictokenaboutthislength";
final int ALGO_API_PORT = 4001;
*/
return new AlgodClient(ALGO_API_HOST, ALGO_API_PORT, "");
}