Trailing whitespace in the .env
file
If you're seeing Bad Request: /auth/userpass
, this might be your issue. Make sure STARDOG_INTERNAL_ENDPOINT and STARDOG_EXTERNAL_ENDPOINT don't have any trailing whitespace.
Stardog isn't configured to create tokens
If the following command:
curl -u user:pass http://stardog-endpoint/admin/token
returns "Stardog is not configured to create tokens", you need to add a signer section to your jwt.conf
file. See more here.
If none of these solve your issue
Is there a proxy, load balancer, or firewall running between your machine and Stardog? These commonly cause issues with auth, and you should talk to your network admin about changing your network architecture to allow your machine to communicate with Stardog.
If that still doesn't solve your issue, please file a support ticket and send us your jwt.conf
file and .env
file.
For more information on auth with Stardog Launchpad, please see our public GitHub repo, onprem-configs.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article