Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
Problem with template admin
-
Hi,
I have problem with admin template. After about 1 min since correct login I got error:
501 Not Implemented OPTIONS /rest/v1/users/current
and I am logged out. After reloading the template (refresh in browser) a I logged adain. Then after 1 min I am again logged out and error appears. Please help. -
I found this in the http header:
Request URL:https://ip_of_server/rest/v1/users/current
Request Method:OPTIONS
Status Code:501 Not Implemented
Is the request correct? Where to find a solution of the problem? -
Hi przemom,
I believe that endpoint only accepts a GET request.
If you haven't seen it, there is a property in your Mango/overrides/properties/env.properties or Mango/classes/env.properties class called "swagger.enabled" If "swagger.enabled=true" when you start Mango, a page will exist at http://yourip:port/swagger that will have some helpful information about the endpoints, as well as their methods and models.
-
Hi,
Thanks for answer. Problem solved...proxy server blocked OPTIONS reguests.