• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. gary
    3. Topics

    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
    G
    • Profile
    • Following 1
    • Followers 0
    • Topics 8
    • Posts 36
    • Best 2
    • Controversial 0
    • Groups 0

    Topics created by gary

    • G

      Using my own AngularJS Directives in Custom Dashboards

      User help
      • • • gary
      4
      0
      Votes
      4
      Posts
      2.1k
      Views

      Jared WiltshireJ

      @gary said in Using my own AngularJS Directives in Custom Dashboards:

      Thank you, @Jared-Wiltshire. That's excellent, I shall give that a go.

      I forgot to mention that the file uploader is a new feature, so make sure you update your Core and UI module.

    • G

      How do I create event detectors using the Mango API?

      User help
      • • • gary
      4
      0
      Votes
      4
      Posts
      2.3k
      Views

      G

      Ok, thanks Joel. That's great to know. It sounds like v3 will be a big advance forward for Mango.

    • G

      How do I create a datasource using the Mango API?

      User help
      • • • gary
      5
      0
      Votes
      5
      Posts
      2.6k
      Views

      phildunlapP

      Glad to hear it!

    • G

      Problem using Websockets with Safari and solution

      User help
      • • • gary
      1
      0
      Votes
      1
      Posts
      4.4k
      Views

      No one has replied

    • G

      Configuration of HTTP headers

      User help
      • • • gary
      14
      0
      Votes
      14
      Posts
      5.3k
      Views

      G

      Terry,

      I have replicated the 401 error and found the cause. When this error occured, the response headers contain the field 'errors' with a value 'User not logged in'. After a little bit of experimenting, I have worked out what I did to cause this.

      To replicate:

      Using Chrome*, open the Mango web interface and log in.
      Open in another tab of the same window, a web application that utilised the Mango API and log in.
      Separate the two tabs into different browser windows.
      Log out from the web application and you will receive the 401 error.

      *I haven't tried other browsers.

      Explanation:

      The two tabs utilise the same session cookie. The cookie must be associated with one of the two browser windows when the separation occurs. The domain of this cookie matches the domain in the address bar of the mango web interface so the browser understandably associates that cookie with the Mango web interface, not the web application. Now the web application does not have a log-in cookie.

      Possible answers:

      Don't do that. Have the Mango API deliver a different cookie. Set an expiry time on the cookie.

      For me #2 is preferable but that may not play well with custom dashboards.

      Gary

    • G

      Web sockets

      Dashboard Designer & Custom AngularJS Pages
      • • • gary
      7
      0
      Votes
      7
      Posts
      3.3k
      Views

      G

      Thank you for the custom module. I have seen you have added XID to the paylod object exactly as I asked. Much appreciated.

      Gary

    • G

      HTTP listener testing tool.

      Mango Automation general Discussion
      • • • gary
      3
      0
      Votes
      3
      Posts
      3.1k
      Views

      JoelHaggarJ

      Hi Gray,

      Thanks for this, I think others will find it very useful. We very much appreciate you sharing.

      Joel.

    • G

      Unable to configure extreme value discarding.

      Mango Automation general Discussion
      • • • gary
      11
      0
      Votes
      11
      Posts
      4.1k
      Views

      G

      Excellent news. Thanks so much for your help. I'll see how our systems admin is getting on with the upgrade.

      I'll switch data type to numeric as it is not a problem. I had simply selected what I understood to be a pseudonym for integer as my return values are integers, not floats.