• Recent
    • Tags
    • Popular
    • Register
    • Login

    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.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Problem with template admin

    User help
    2
    4
    1.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      przemom
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • P
        przemom
        last edited by

        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?

        1 Reply Last reply Reply Quote 0
        • phildunlapP
          phildunlap
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • P
            przemom
            last edited by

            Hi,
            Thanks for answer. Problem solved...proxy server blocked OPTIONS reguests.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post