• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. Fabier

    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
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 14
    • Posts 59
    • Best 0
    • Controversial 1
    • Groups 0

    Fabier

    @Fabier

    -1
    Reputation
    778
    Profile views
    59
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Fabier Unfollow Follow

    Best posts made by Fabier

    • MQTT Module

      Hello.

      I would like to conect to IMB Broker, but when I try to conect, I get this mistake:

      ![0_1505335208759_49c1f880-11b6-4615-a389-0d24e9804bf0-image.png](Uploading 100%)

      I'm not sure of this parameter in the configuration in the MQTT module:

      ![0_1505335392694_cd97853d-4f0c-4240-916a-dce1ac49a11f-image.png](Uploading 100%)

      posted in Mango Automation general Discussion
      F
      Fabier

    Latest posts made by Fabier

    • Problem with Menu

      Hello, I was working with Mango and add a dashboard to menu, after of this, I can't see all the menu. This is the json file when i use this link: MY_MANGO_URL/ui/administration/json-store-editor/mangoUI-menu

      {
      "menuItems": [
      {
      "name": "ui.dataPointDetails",
      "permission": "superadmin"
      },
      {
      "name": "ui.plantaDeTratamiento",
      "url": "/planta-de-tratamiento",
      "linkToPage": true,
      "permission": "user",
      "menuText": "Planta de Tratamiento",
      "pageXid": "cd3b879e-125a-4544-9df4-7b7479b6c017",
      "menuHidden": false,
      "weight": 1000,
      "abstract": false,
      "menuTr": "Planta Tratamiento"
      },
      {
      "name": "ui.estacionbomb.acueducto",
      "url": "/acueducto",
      "linkToPage": true,
      "permission": "user",
      "menuText": "Estacion Bombeo",
      "menuTr": "",
      "pageXid": "3efbd854-5e20-4fc7-8e78-a7a1d4ce15f1",
      "menuHidden": false,
      "weight": 1000,
      "menuIcon": "E",
      "abstract": true
      },
      {
      "name": "ui.estacionbomb.acueducto.estacionbomb",
      "url": "/estacionbomb",
      "linkToPage": true,
      "permission": "user",
      "menuText": "Estacion de Bombeo",
      "pageXid": "3efbd854-5e20-4fc7-8e78-a7a1d4ce15f1",
      "menuHidden": false,
      "weight": 1000,
      "abstract": true,
      "menuIcon": "E"
      }
      ]
      }

      When I open the console in the explorer show this:

      [Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: http://35.237.120.179:8080/modules/mangoUI/web/fonts/roboto-v15-greek_greek-ext_latin_cyrillic-ext_latin-ext_cyrillic_vietnamese-regular.woff2?v=38812f4ed9937a253927cd4a918c8540
      [Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: http://35.237.120.179:8080/modules/mangoUI/web/fonts/roboto-condensed-v13-greek_greek-ext_latin_cyrillic-ext_latin-ext_cyrillic_vietnamese-regular.woff2?v=c9de030d449cd3c9bfbe4f743260bc94
      [Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: http://35.237.120.179:8080/modules/mangoUI/web/fonts/MaterialIcons-Regular.woff2?v=570eb83859dc23dd0eec423a49e147fe
      [Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: http://35.237.120.179:8080/modules/mangoUI/web/fonts/roboto-condensed-v13-greek_greek-ext_latin_cyrillic-ext_latin-ext_cyrillic_vietnamese-700.woff2?v=74601e4fb58987ca587f81053df21dab
      [Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: http://35.237.120.179:8080/modules/mangoUI/web/fonts/roboto-condensed-v13-greek_greek-ext_latin_cyrillic-ext_latin-ext_cyrillic_vietnamese-italic.woff2?v=153011ec64e7f378640557aabc20cbe7
      [Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: http://35.237.120.179:8080/modules/mangoUI/web/fonts/roboto-v15-greek_greek-ext_latin_cyrillic-ext_latin-ext_cyrillic_vietnamese-500.woff2?v=86cae98350d9aaa601230e829707d83f
      :8080/rest/v1/users/current:1 Failed to load resource: the server responded with a status of 401 (Unauthorized)
      :8080/ui/login:1 This page includes a password or credit card input in a non-secure context. A warning has been added to the URL bar. For more information, see https://goo.gl/zmWq3m.
      mangoUi~ngMango~ngMangoServices.js?v=f6d868035ceca7ed0360:230 Markup '<md-button flex></md-button>' may not work as expected in IE Browsers. Consult 'https://github.com/philipwalton/flexbugs#9-some-html-elements-cant-be-flex-containers' for details.
      (anonymous) @ mangoUi~ngMango~ngMangoServices.js?v=f6d868035ceca7ed0360:230
      2mangoUi~ngMango~ngMangoServices.js?v=f6d868035ceca7ed0360:230 TypeError: Cannot set property 'children' of undefined
      at e (mangoUi.js?v=648f41acde943d4cd3b3:1)
      at e (mangoUi.js?v=648f41acde943d4cd3b3:1)
      at e (mangoUi.js?v=648f41acde943d4cd3b3:1)
      at mangoUi.js?v=648f41acde943d4cd3b3:1
      at Object.combineMenuItems (mangoUi.js?v=648f41acde943d4cd3b3:1)
      at refresh.then.e (mangoUi.js?v=648f41acde943d4cd3b3:1)
      at mangoUi~ngMango~ngMangoServices.js?v=f6d868035ceca7ed0360:230
      at mangoUi~ngMango~ngMangoServices.js?v=f6d868035ceca7ed0360:230
      at c.$digest (mangoUi~ngMango~ngMangoServices.js?v=f6d868035ceca7ed0360:230)
      at c.$apply (mangoUi~ngMango~ngMangoServices.js?v=f6d868035ceca7ed0360:230)

      Thank you

      posted in User help
      F
      Fabier
    • RE: Problem with data point scripting

      The solution was delete and create a data source MQTT client new.

      posted in Scripting general Discussion
      F
      Fabier
    • RE: Problem with data point scripting

      @phildunlap Thank you very much.

      I'm going to check my data point to see as I can solution the problem.

      posted in Scripting general Discussion
      F
      Fabier
    • RE: Problem with data point scripting

      Hello @phildunlap

      I don't have any data source recording my available memory, but in the file that you check the CPU was normal, Now I can get a new file with higt CPU. I sent this file to that you have better tool of diagnostic.

      I have this image that show consuption of resource of plataform.

      0_1522264589611_37bc7701-cb0f-49a0-a27a-d13217d495d5-image.png

      posted in Scripting general Discussion
      F
      Fabier
    • RE: Problem with data point scripting

      @phildunlap ok, I sent the e-mail. Thank you

      posted in Scripting general Discussion
      F
      Fabier
    • RE: Problem with data point scripting

      @phildunlap now I have the file json but is very big to post in the forum.

      I can load the old project and can see that the CPU up when I enable data source MQTT client. Is pobably that some upgrate is the cause?
      *

      posted in Scripting general Discussion
      F
      Fabier
    • RE: Problem with data point scripting

      Hello Phildunlap

      This is the result the http://host:port/rest/v1/threads?asFile=true&stackDepth=40

      {"message":"Invalid boolean value [true stack Depth=40]","stackTrace":"org.springframework.beans.propertyeditors.CustomBooleanEditor.setAsText(CustomBooleanEditor.java:123)\norg.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:468)\norg.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:441)\norg.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:199)\norg.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:108)\norg.springframework.beans.TypeConverterSupport.doConvert(TypeConverterSupport.java:64)\norg.springframework.beans.TypeConverterSupport.convertIfNecessary(TypeConverterSupport.java:47)\norg.springframework.validation.DataBinder.convertIfNecessary(DataBinder.java:713)\norg.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver.resolveArgument(AbstractNamedValueMethodArgumentResolver.java:120)\norg.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:121)\norg.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:158)\norg.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:128)\norg.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)\norg.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)\norg.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)\norg.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)\norg.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)\norg.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)\norg.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)\norg.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)\njavax.servlet.http.HttpServlet.service(HttpServlet.java:687)\norg.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)\njavax.servlet.http.HttpServlet.service(HttpServlet.java:790)\norg.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845)\norg.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689)\norg.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)\norg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\norg.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)\norg.springframework.web.filter.ShallowEtagHeaderFilter.doFilterInternal(ShallowEtagHeaderFilter.java:110)\ncom.serotonin.m2m2.web.filter.MangoShallowEtagHeaderFilter.doFilterInternal(MangoShallowEtagHeaderFilter.java:80)\norg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\norg.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)\norg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)\norg.springframework.security.web.authentication.switchuser.SwitchUserFilter.doFilter(SwitchUserFilter.java:197)\norg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)\norg.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)\norg.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)\norg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)\ncom.serotonin.m2m2.web.mvc.spring.security.PermissionExceptionFilter.doFilter(PermissionExceptionFilter.java:32)\norg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)\norg.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)\norg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)\norg.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)\norg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)\norg.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)\norg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)\norg.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)\norg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)\norg.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:155)\norg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)\norg.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)\norg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)\norg.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)\norg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)\norg.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:100)\norg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\norg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)\norg.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64)\norg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\norg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)\norg.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)\norg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)\norg.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)\norg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\norg.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)\norg.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)\norg.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)\norg.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:347)\norg.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:263)\norg.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)\norg.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)\norg.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)\norg.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)\norg.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)\norg.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)\norg.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)\norg.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)\norg.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)\norg.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)\norg.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)\norg.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:461)\norg.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)\norg.eclipse.jetty.server.Server.handle(Server.java:524)\norg.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319)\norg.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253)\norg.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)\norg.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)\norg.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)\norg.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)\norg.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)\norg.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)\norg.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)\norg.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)\njava.lang.Thread.run(Unknown Source)\n"}

      posted in Scripting general Discussion
      F
      Fabier
    • RE: Problem with data point scripting

      Hello.

      I try use; http://10.2752.20:8080/rest/v1/threads?AsFile=trueystackDepth=4o, to give you information, but It doesn't load. this is a image of my CPU and memory.

      0_1522196017306_0b4bf581-2743-4ef9-a232-ba63df601d6c-image.png

      I thought that can be a mistake in a script then, I load a backup of a project that run good. the problem is that now this projec load and show this event:

      0_1522195992931_50a9b93a-ed10-4381-8f11-481b01c69011-image.png

      When show the event the aplication loked.

      Do you speak spanish?

      posted in Scripting general Discussion
      F
      Fabier
    • RE: Problem with data point scripting

      @phildunlap Thank by your response. The problem is that I don't have any idea of that is happend, but you have reason, I have to give more information.

      I modificated a script and the aplicattion run slow, when I say slow I mean say that my computer use 94% the CPU with mango. I check the script but I doesn't see any mistake, however now Mango run and is loked.

      In my project I don't have this data point (007000116_4), I created this point in other project, but I deleted the data source.

      This is the warning that I can see in the log

      RROR 2018-03-27T13:36:06,210 (com.serotonin.m2m2.util.timeout.TimeoutTask.run:61) - Uncaught Task Exception
      org.eclipse.jetty.websocket.api.WebSocketException: RemoteEndpoint unavailable, current state [CLOSED], expecting [OPEN or CONNECTED]
      at org.eclipse.jetty.websocket.common.WebSocketSession.getRemote(WebSocketSession.java:308) ~[websocket-common-9.3.11.v20160721.jar:9.3.11.v20160721]
      at com.serotonin.m2m2.web.mvc.websocket.MangoPingPongTracker.scheduleTimeout(MangoPingPongTracker.java:55) ~[mango-3.3.0.jar:?]
      at com.serotonin.m2m2.util.timeout.TimeoutTask.run(TimeoutTask.java:59) [mango-3.3.0.jar:?]
      at com.serotonin.timer.Task.runTask(Task.java:179) [mango-3.3.0.jar:?]
      at com.serotonin.timer.TaskWrapper.run(TaskWrapper.java:23) [mango-3.3.0.jar:?]
      at com.serotonin.timer.OrderedThreadPoolExecutor$OrderedTaskCollection.run(OrderedThreadPoolExecutor.java:314) [mango-3.3.0.jar:?]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_161]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_161]
      at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]
      WARN 2018-03-27T13:37:07,753 (com.infiniteautomation.mango.rest.v2.ServerRestV2Controller.postClientError:215) - Client error
      [user=admin, cause=, location=http://localhost:8080/ui/events?eventType=any&alarmLevel=any&activeStatus=any&acknowledged=false&dateFilter=false, userAgent=Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36, language=es-ES, date=2018-03-27T13:36:44.768-05:00, timezone=America/Bogota]
      Possibly unhandled rejection: {"data":null,"status":-1,"config":{"method":"PUT","transformResponse":[null],"jsonpCallbackParam":"callback","url":"/rest/v1/events/acknowledge/136","data":{"message":"System startup","id":136,"alarmLevel":"INFORMATION","status":"No RTN","active":false,"eventType":{"systemEventType":"SYSTEM_STARTUP","duplicateHandling":4,"eventType":"SYSTEM","eventSubtype":"SYSTEM_STARTUP","systemMessage":true,"referenceId1":0,"referenceId2":0,"rateLimited":false,"dataSourceId":-1,"dataPointId":-1,"publisherId":-1},"activeTimestamp":1522175689656,"returnToNormalTimestamp":0,"acknowledgedMessage":null,"acknowledgedByUserId":0,"acknowledgedByUsername":null,"acknowledgedTimestamp":0,"comments":null,"acknowledged":false,"hasNotes":null},"headers":{"Accept":"application/json, text/plain, /","X-Requested-With":"XMLHttpRequest","Content-Type":"application/json;charset=utf-8","X-XSRF-TOKEN":"4543d0fd-5251-46e9-9170-d853c7e714de"},"cached":false,"timeout":30000},"statusText":"","xhrStatus":"abort","mangoStatusText":"Request aborted","resource":{"message":"System startup","id":136,"alarmLevel":"INFORMATION","status":"No RTN","active":false,"eventType":"...","activeTimestamp":1522175689656,"returnToNormalTimestamp":0,"acknowledgedMessage":null,"acknowledgedByUserId":0,"acknowledgedByUsername":null,"acknowledgedTimestamp":0,"comments":null,"acknowledged":false,"hasNotes":null}}

      posted in Scripting general Discussion
      F
      Fabier
    • Problem with data point scripting

      Hello

      I try to run Mango but It is very slow and connectivity lost. This is the image of console:

      0_1522166404566_ee84cfbb-a679-4656-930f-fc9e5e262ce5-image.png

      posted in Scripting general Discussion
      F
      Fabier