FAQ and Troubleshooting

Question / Issue Answer
User interface Save or Cancel does not respond. Check if the server is running on the port that is used in the browser URL. For example, if the browser is pointing to http://localhost:5000/, the server must be running on the local machine on port 5000.
What does "no more resources" error mean? You have encountered a Configuration Manager limit, please contact TIBCO Mashery Support.
What happens if I delete the mlconfig.db file? All the edits since the last import will be lost if this file is deleted. You need to restart by importing the last data.zip file that was loaded into Mashery Local 5.0 zones.
How do I remove all current edits in Configuration Manager and start a fresh configuration? By deleting mlconfig.db, your current edits will be lost and you can re-import a data.zip file.
How do I create multiple endpoints with the same path but different HTTP methods?

The business rule is: No two endpoints can have same domain, path and method combination. But at creation time, the methods cannot be manipulated. So the workaround is to create an endpoint with different path, change the methods and then revert the path for endpoint.

The workaround to create multiple endpoints with same path but with different HTTP methods is provided below, and uses the following two example endpoints with these details:
  • Endpoint 1 - http://api.example.com/hello (Method: Get, Post)
  • Endpoint 2 - http://api.example.com/hello (Method: Put, Delete)
Workaround:
  1. Navigate to Home > API Definitions.
  2. Create New API Definition.
  3. Enter name 'sample api' and save the API Definition.
  4. Navigate to Endpoints.
  5. Click New.
  6. Enter the following details for Endpoint 1:
    1. Name: EP1
    2. Published EP Domain: api.example.com
    3. Published EP Path: /hello
    4. Origin EP Domain IP/Address: localhost
    5. Origin EP Path: /hello
  7. Click Save.
  8. Navigate to Home > API Definitions > sample api > Endpoints.
  9. Create second endpoint with the following details:
    1. Name: EP2
    2. Published EP Domain: api.example.com
    3. Published EP Path: /hello_temp
    4. Origin EP Domain IP/Address: localhost
    5. Origin EP Path: /hello
    Note: Note that the Published EP Path is /hello_temp. This is temporary.
  10. Save the details for Endpoint 2.
  11. Navigate to Protocol and Authentication tab in the sidebar for EP2.
  12. Select check boxes for Put and Delete and unselect boxes for Get and Post.
  13. Save the changes.
  14. Navigate back to Endpoint Settings tab for EP2.
  15. Change the path from /hello_temp to /hello.
  16. Save the details.
This will give you two endpoints with same path but different methods.
Does Configuration Manager come with a CLI? Yes, although users do not need to use the CLI features on a regular basis, TIBCO Mashery Support might need admin users to use the CLI for troubleshooting purposes. For more information on using the CLI, refer to the Configuration Manager Readme.
How are out of the box HTTP Client Profiles set up?

How do I pick a Profile in Configuration Manager

In this release, TIBCO Mashery Local ships with 20 one way profiles (meaning for each profile, there is an associated identity but no trust) and 20 mutual auth profiles (meaning for each profile, there is an identity and trust associated). Customers can use one or more profiles and each profile can be associated to one or more API Definition Endpoints. In order to use a profile, Configuration Manager and the Mashery Local admin must follow these steps:
  1. Select one of the unused profiles and associate it to one or more endpoints in Configuration Manager.
  2. At the time of association, make a note of Identity Name and Trust Name in Configuration Manager.
  3. Pass the Identity Name and Trust name to ML admin to update each Mashery Local 5 zone.
  4. Point to CLI page where they PUT trust and identity.
SET identity.
What types or certificates are available and when are they used?
How does the Mashery Local admin set up identity and trust profiles?

The Cluster Manager commands to create Truststore and Identity are documented in the Cluster Manager CLI topic <link>.

The API designer can choose to make the endpoint secure using HTTPS. When a client (e.g. browser) makes a request for a secure endpoint, the Traffic Manager forwards request to the internal backend endpoint.

The backend can be one way authenticated or can expect the client (Traffic Manager in this case) to perform mutual authentication.

This can be done in two ways:
  1. One-way authenticated backend endpoint.

    In this case, the backend's CA cert will be compared against the known Truststore.

  2. Mutual authentication scenario performs the server validation, that point #1 covers, but also expects the client to be authenticated by the server.