For customers who want to troubleshoot their connection to the Omega Point UI or API, we offer three steps that can be utilized to ensure that our servers are reachable, that your credentials are correct, and that you are not being blocked due to IP Access List restrictions.
For best results, we recommend that you test the endpoints in the order listed.
1. Testing basic network connectivity (Web or API)
Web: https://pi.ompnt.com
All users, regardless of access, should be able to access the login page, https://pi.ompnt.com , and have the login splash page appear. This confirms that the user’s browser can successfully find our public, unauthenticated app endpoints, and is used for validating reachability of our systems regardless of user identity, permissions, or the IP Access List.
In a similar vein, API users should be able to send a simple GET request to https://api.ompnt.com/checkConnection and receive a “Connection success!” message. From the command line:
curl -L https://api.ompnt.com/checkConnection
Success does NOT depend on the “Authorization” header being present and requests to this endpoint are exempted from any IP Access List restrictions.
2. Testing user authentication (API)
API users with an Authorization
header or token, secret
header when using tokens with permissions can send a GET request to https://api.ompnt.com/graphql/diagnostics/authentication .
From the command line (replacing XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
with a valid token):
curl -H "Authorization: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" \
-L https://api.ompnt.com/graphql/diagnostics/authentication
Calls that are properly authenticated will see the response: Authentication success!
If the call is not properly authenticated, the server will send an “Unauthorized” error:
{"errors":[{"message":"Unauthorized"}]}
Requests to this endpoint are exempted from any IP Access List restrictions.
3. Testing authenticated connectivity for accounts with IP Access List activated (API)
API users of accounts that have IP Access List restrictions in place can use this endpoint to validate that their originating IP address is on the IP Allow List by sending a GET request with an Authorization
header or token, secret
headers to https://api.ompnt.com/graphql/diagnostics/ipaccesslist .
From the command line (replacing XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
with a valid token):
curl -H "Authorization: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" \
-L https://api.ompnt.com/graphql/diagnostics/ipaccesslist
Calls that are properly authenticated and from an allowed IP address (or an IP Access List is not in use for this account) will receive a success message:
Authentication and IP access list success!
If the call is not properly authenticated or is sending the call from an IP that is not allowed by the access list, the server will send an “Forbidden” error:
{"errors":[{"message":"Forbidden"}]}