I have recently installed Stardog Server on an Azure ubuntu 20.0 VM with a trial Enterprise License. Server process is running fine. The systemctl logs also has stated the server has started properly. However when i try to connect to the server on public IP http://:5820 a pop-up asks for username and password, and after providing the default username and password as admin, admin it redirects me to cloud.stardog.com instead of opening the UI locally. Can someone help me with what is being done wrong to have this kind of behavior ?
This is the intended behavior. We offer the Stardog apps (Studio, Explorer, and Designer) at cloud.stardog.com to use with their Stardog server. I believe the UI you're expecting is Stardog Studio. If you'd like to use Stardog without needing your browser, you can run commands through the Command Line Interface (CLI), which you can read about here.
Does that answer your question? Let me know if you need help connecting to your endpoint in Stardog Cloud.
I think this should be documented in the official documentation. Until I saw this article, I thought it was a configuration problem and wasted a lot of time.
Thanks for your response. Post your reply I have been trying to establish up a new connection to the hosted Stardog server, but have been unsuccessful thus far. Here are the steps that I have followed:
Changed the default cli server to point to <public_ip>:5820. I am able to access the stardog server remotely on browser now.
Checked the server status by running the following command stardog-admin --server https://<PUBLIC_IP>:5820 server status . I get the following output Certificate for <PUBLIC_IP> doesn't match any of the subject alternative names: [] but Im still able to connect to the https://<PUBLIC_IP>:5820 host.
However while trying to add the a New Endpoint in Manage Connections, I get the error Failed to Fetch. In the browser console I see the below API as Unauthorized
https://<PUBLIC_IP>:5820/admin/token. Even though when I try the URL in the browser it returns me the token.
I proceeded to add the argument --no-cors in the stardog-server.sh, so that CORS is disabled while starting the server, however still while trying to connect I get the error Failed to Fetch
You don't need to use an SSL connection to connect to Stardog Cloud. When I connect to Stardog Cloud with my local Stardog server, I have my server running on the standard http://localhost:5820.
That said, if you'd like to keep using SSL, the CN in the SSL certificate you're using needs to match exactly with the URL of the server to which you're connecting. Check your key/truststore and see what the CN on the certificate is and/or change the URL you're using to connect to match it.