Error on Web interface .js file (only in Chrome)

I have a problem and I believe it may be due to my installation with HTTPS, I came to this conclusion simply because when installing over HTTP this does not happen, ie the problem is certainly due to the lack of any specific configuration in my docker-compose or something like that.

Below is the my docker-compose.yml file, error print and also the Stack Trace that the screen itself shows.

version: '3'
services:
  # MongoDB: https://hub.docker.com/_/mongo/
  mongo:
    image: mongo:3
    networks:
      - graylog
  # Elasticsearch: https://www.elastic.co/guide/en/elasticsearch/reference/6.x/docker.html
  elasticsearch:
    image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.8.2
    volumes:
      - es_data:/usr/share/elasticsearch/data
    environment:
      - http.host=0.0.0.0
      - transport.host=localhost
      - network.host=0.0.0.0
      - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
    ulimits:
      memlock:
        soft: -1
        hard: -1
    deploy:
      resources:
        limits:
          memory: 1g
    networks:
      - graylog
  # Graylog: https://hub.docker.com/r/graylog/graylog/
  graylog:
    image: csilveir/graylog
    volumes:
      - /home/ubuntu/graylog:/home/ubuntu/graylog
      - /home/ubuntu/graylog/plugins/graylog-plugin-slack-notification-1.0.4.jar:/usr/share/graylog/plugin/graylog-plugin-slack-notification-1.0.4.jar
    environment:
      # (must be at least 16 characters)!
      - GRAYLOG_ROOT_TIMEZONE=America/Sao_Paulo
      - GRAYLOG_ROOT_EMAIL=dev@dragonvc.com.br
      - GRAYLOG_IS_MASTER=true

      # HTTPS
      - GRAYLOG_HTTP_ENABLE_TLS=true
      - GRAYLOG_HTTP_TLS_CERT_FILE=/home/ubuntu/graylog/graylog.crt
      - GRAYLOG_HTTP_TLS_KEY_FILE=/home/ubuntu/graylog/graylog.key
      - GRAYLOG_HTTP_PUBLISH_URI=https://graylog.dragonvc.com.br/

      
    networks:
      - graylog
    depends_on:
      - mongo
      - elasticsearch
    ports:
      #- "80:9000"
      - 80:443
      - 443:9000
      - 514:514
      - 514:514/udp
      - 1514:1514/udp
      - 5044:5044
      - 9000:9000
      - 9350:9350
      - 12200-12300:12200-12300
      - 12200-12300:12200-12300/udp
      - 12900:12900
networks:
  graylog:
    driver: bridge
# Volumes for persisting data, see https://docs.docker.com/engine/admin/volumes/volumes/
volumes:
  mongo_data:
    driver: local
  es_data:
    driver: local
  graylog_journal:
    driver: local


Cannot set property '__data__' of undefined

Stack Trace:

TypeError: Cannot set property '__data__' of undefined
    at Array.ye.select (https://graylog.dragonvc.com.br/assets/vendor.91c91d4a31d54d96392a.js:83:227338)
    at Array.Z.insert (https://graylog.dragonvc.com.br/assets/vendor.91c91d4a31d54d96392a.js:83:224227)
    at Array.ye.insert (https://graylog.dragonvc.com.br/assets/vendor.91c91d4a31d54d96392a.js:83:227450)
    at SVGGElement.<anonymous> (https://graylog.dragonvc.com.br/assets/vendor.91c91d4a31d54d96392a.js:83:350536)
    at https://graylog.dragonvc.com.br/assets/vendor.91c91d4a31d54d96392a.js:83:226023
    at me (https://graylog.dragonvc.com.br/assets/vendor.91c91d4a31d54d96392a.js:83:222388)
    at Array.Z.each (https://graylog.dragonvc.com.br/assets/vendor.91c91d4a31d54d96392a.js:83:225997)
    at Array.l (https://graylog.dragonvc.com.br/assets/vendor.91c91d4a31d54d96392a.js:83:350305)
    at Array.Z.call (https://graylog.dragonvc.com.br/assets/vendor.91c91d4a31d54d96392a.js:83:226096)
    at r._drawAxis (https://graylog.dragonvc.com.br/assets/vendors~LoggedInPage.af2f821c666e2573f8ad.js:46:42162)
    at render (https://graylog.dragonvc.com.br/assets/vendors~LoggedInPage.af2f821c666e2573f8ad.js:46:41677)
    at https://graylog.dragonvc.com.br/assets/vendors~LoggedInPage.af2f821c666e2573f8ad.js:46:40953
    at https://graylog.dragonvc.com.br/assets/vendors~LoggedInPage.af2f821c666e2573f8ad.js:46:23606
    at Array.forEach (<anonymous>)
    at e.Graph.render (https://graylog.dragonvc.com.br/assets/vendors~LoggedInPage.af2f821c666e2573f8ad.js:46:23586)
    at Object.drawResultGraph (https://graylog.dragonvc.com.br/assets/LoggedInPage.af2f821c666e2573f8ad.js:1:203535)
    at t._renderHistogram (https://graylog.dragonvc.com.br/assets/LoggedInPage.af2f821c666e2573f8ad.js:1:218539)
    at t.componentDidMount (https://graylog.dragonvc.com.br/assets/LoggedInPage.af2f821c666e2573f8ad.js:1:217792)
    at t.componentDidMount (https://graylog.dragonvc.com.br/assets/vendor.91c91d4a31d54d96392a.js:73:88989)
    at Ro (https://graylog.dragonvc.com.br/assets/vendor.91c91d4a31d54d96392a.js:18:82395)
    at Xo (https://graylog.dragonvc.com.br/assets/vendor.91c91d4a31d54d96392a.js:18:85070)
    at https://graylog.dragonvc.com.br/assets/vendor.91c91d4a31d54d96392a.js:18:98277
    at Object.exports.unstable_runWithPriority (https://graylog.dragonvc.com.br/assets/vendor.91c91d4a31d54d96392a.js:35:3284)
    at Os (https://graylog.dragonvc.com.br/assets/vendor.91c91d4a31d54d96392a.js:18:98212)
    at Ys (https://graylog.dragonvc.com.br/assets/vendor.91c91d4a31d54d96392a.js:18:97988)
    at Ss (https://graylog.dragonvc.com.br/assets/vendor.91c91d4a31d54d96392a.js:18:97333)
    at Ls (https://graylog.dragonvc.com.br/assets/vendor.91c91d4a31d54d96392a.js:18:96354)
    at Zo (https://graylog.dragonvc.com.br/assets/vendor.91c91d4a31d54d96392a.js:18:95228)
    at Object.enqueueSetState (https://graylog.dragonvc.com.br/assets/vendor.91c91d4a31d54d96392a.js:18:44755)
    at t.b.setState (https://graylog.dragonvc.com.br/assets/vendor.91c91d4a31d54d96392a.js:26:1665)
    at https://graylog.dragonvc.com.br/assets/90afab18-75.af2f821c666e2573f8ad.js:1:2875
    at l (https://graylog.dragonvc.com.br/assets/builtins.af2f821c666e2573f8ad.js:104:88608)
    at O._settlePromiseFromHandler (https://graylog.dragonvc.com.br/assets/builtins.af2f821c666e2573f8ad.js:104:61890)
    at O._settlePromise (https://graylog.dragonvc.com.br/assets/builtins.af2f821c666e2573f8ad.js:104:62690)
    at O._settlePromise0 (https://graylog.dragonvc.com.br/assets/builtins.af2f821c666e2573f8ad.js:104:63389)
    at O._settlePromises (https://graylog.dragonvc.com.br/assets/builtins.af2f821c666e2573f8ad.js:104:64716)
    at https://graylog.dragonvc.com.br/assets/builtins.af2f821c666e2573f8ad.js:104:18338

Component Stack:

    in LegacyHistogram
    in div
    in t
    in div
    in t
    in t
    in t
    in SearchPage
    in Unknown
    in n
    in div
    in t
    in div
    in t
    in div
    in AppWithSearchBar
    in div
    in t
    in t
    in withRouter(t)
    in div
    in App
    in RouterContext
    in Router
    in h
    in t
    in n
    in AppFacade

This error occurs in a .js file, as shown in print, follows the breakdown by the Chrome console:

TypeError: Cannot set property '__data__' of undefined at Array.ye.select (vendor.91c91d4….js:83) at Array.Z.insert (vendor.91c91d4….js:83) at Array.ye.insert (vendor.91c91d4….js:83) at SVGGElement.<anonymous> (vendor.91c91d4….js:83) at vendor.91c91d4….js:83 at me (vendor.91c91d4….js:83) at Array.Z.each (vendor.91c91d4….js:83) at Array.l (vendor.91c91d4….js:83) at Array.Z.call (vendor.91c91d4….js:83) at r._drawAxis (rickshaw.js:1723) at render (rickshaw.js:1698) at rickshaw.js:1659 at rickshaw.js:528 at Array.forEach (<anonymous>) at e.Graph.render (rickshaw.js:527) at Object.updateData (result-histogram.js:113) at t._updateHistogram (LegacyHistogram.jsx:61) at t.componentDidUpdate (LegacyHistogram.jsx:38) at Ro (vendor.91c91d4….js:18) at Xo (vendor.91c91d4….js:18) at vendor.91c91d4….js:18 at Object.exports.unstable_runWithPriority (vendor.91c91d4….js:35) at Os (vendor.91c91d4….js:18) at Ys (vendor.91c91d4….js:18) at Ss (vendor.91c91d4….js:18) at Ls (vendor.91c91d4….js:18) at Zo (vendor.91c91d4….js:18) at Object.enqueueSetState (vendor.91c91d4….js:18) at t.b.setState (vendor.91c91d4….js:26) at SearchPage.jsx:121 at l (bluebird.js:5256) at O._settlePromiseFromHandler (bluebird.js:3278) at O._settlePromise (bluebird.js:3335) at O._settlePromise0 (bluebird.js:3380) at O._settlePromises (bluebird.js:3459) at bluebird.js:175

||lo|@|vendor.91c91d4….js:18|
| --- | --- | --- | --- |
||a.componentDidCatch.n.callback|@|vendor.91c91d4….js:18|
||no|@|vendor.91c91d4….js:18|
||to|@|vendor.91c91d4….js:18|
||Ro|@|vendor.91c91d4….js:18|
||Xo|@|vendor.91c91d4….js:18|
||(anonymous)|@|vendor.91c91d4….js:18|
||exports.unstable_runWithPriority|@|vendor.91c91d4….js:35|
||Os|@|vendor.91c91d4….js:18|
||Ys|@|vendor.91c91d4….js:18|
||Ss|@|vendor.91c91d4….js:18|
||Ls|@|vendor.91c91d4….js:18|
||Zo|@|vendor.91c91d4….js:18|
||enqueueSetState|@|vendor.91c91d4….js:18|
||b.setState|@|vendor.91c91d4….js:26|
||(anonymous)|@|SearchPage.jsx:121|
||l|@|bluebird.js:5256|
||O._settlePromiseFromHandler|@|bluebird.js:3278|
||O._settlePromise|@|bluebird.js:3335|
||O._settlePromise0|@|bluebird.js:3380|
||O._settlePromises|@|bluebird.js:3459|
||(anonymous)|@|bluebird.js:175|
||Promise.then (async)|||
||o|@|bluebird.js:4484|
||a.hasDevTools.s.settlePromises|@|bluebird.js:174|
||O._fulfill|@|bluebird.js:3406|
||O._resolveCallback|@|bluebird.js:3198|
||O._settlePromiseFromHandler|@|bluebird.js:3290|
||O._settlePromise|@|bluebird.js:3335|
||O._settlePromise0|@|bluebird.js:3380|
||O._settlePromises|@|bluebird.js:3459|
||(anonymous)|@|bluebird.js:175|
||Promise.then (async)|||
||o|@|bluebird.js:4484|
||a.hasDevTools.s.settlePromises|@|bluebird.js:174|
||O._fulfill|@|bluebird.js:3406|
||O._resolveCallback|@|bluebird.js:3198|
||O._settlePromiseFromHandler|@|bluebird.js:3290|
||O._settlePromise|@|bluebird.js:3335|
||O._settlePromise0|@|bluebird.js:3380|
||O._settlePromises|@|bluebird.js:3459|
||(anonymous)|@|bluebird.js:175|
||Promise.then (async)|||
||o|@|bluebird.js:4484|
||a.hasDevTools.s.settlePromises|@|bluebird.js:174|
||O._fulfill|@|bluebird.js:3406|
||O._resolveCallback|@|bluebird.js:3198|
||(anonymous)|@|bluebird.js:3250|
||(anonymous)|@|index.js:97|
||v.callback|@|client.js:611|
||(anonymous)|@|client.js:438|
||n.emit|@|index.js:133|
||e.onreadystatechange|@|client.js:705|
||XMLHttpRequest.send (async)|||
||window.XMLHttpRequest.send|@|xmlrequest.js:23|
||v._end|@|client.js:772|
||v.end|@|client.js:676|
||(anonymous)|@|index.js:80|
||O|@|bluebird.js:992|
||O._resolveFromExecutor|@|bluebird.js:3249|
||O|@|bluebird.js:2845|
||i.promise|@|index.js:79|
||i.then|@|index.js:121|
||value|@|FetchProvider.js:62|
||(anonymous)|@|FetchProvider.js:158|
||exports.default|@|FetchProvider.js:161|
||histogram|@|UniversalSearchStore.js:43|
||(anonymous)|@|SearchPage.jsx:119|
||l|@|bluebird.js:5256|
||O._settlePromiseFromHandler|@|bluebird.js:3278|
||O._settlePromise|@|bluebird.js:3335|
||O._settlePromise0|@|bluebird.js:3380|
||O._settlePromises|@|bluebird.js:3459|
||(anonymous)|@|bluebird.js:175|
||Promise.then (async)|||
||o|@|bluebird.js:4484|
||a.hasDevTools.s.settlePromises|@|bluebird.js:174|
||O._fulfill|@|bluebird.js:3406|
||O._resolveCallback|@|bluebird.js:3198|
||O._settlePromiseFromHandler|@|bluebird.js:3290|
||O._settlePromise|@|bluebird.js:3335|
||O._settlePromise0|@|bluebird.js:3380|
||O._settlePromises|@|bluebird.js:3459|
||(anonymous)|@|bluebird.js:175|
||Promise.then (async)|||
||o|@|bluebird.js:4484|
||a.hasDevTools.s.settlePromises|@|bluebird.js:174|
||O._fulfill|@|bluebird.js:3406|
||O._resolveCallback|@|bluebird.js:3198|
||O._settlePromiseFromHandler|@|bluebird.js:3290|
||O._settlePromise|@|bluebird.js:3335|
||O._settlePromise0|@|bluebird.js:3380|
||O._settlePromises|@|bluebird.js:3459|
||(anonymous)|@|bluebird.js:175|
||Promise.then (async)|||
||o|@|bluebird.js:4484|
||a.hasDevTools.s.settlePromises|@|bluebird.js:174|
||O._fulfill|@|bluebird.js:3406|
||O._resolveCallback|@|bluebird.js:3198|
||(anonymous)|@|bluebird.js:3250|
||(anonymous)|@|index.js:97|
||v.callback|@|client.js:611|
||(anonymous)|@|client.js:438|
||n.emit|@|index.js:133|
||e.onreadystatechange|@|client.js:705|
||XMLHttpRequest.send (async)|||
||window.XMLHttpRequest.send|@|xmlrequest.js:23|
||v._end|@|client.js:772|
||v.end|@|client.js:676|
||(anonymous)|@|index.js:80|
||O|@|bluebird.js:992|
||O._resolveFromExecutor|@|bluebird.js:3249|
||O|@|bluebird.js:2845|
||i.promise|@|index.js:79|
||i.then|@|index.js:121|
||value|@|FetchProvider.js:62|
||(anonymous)|@|FetchProvider.js:158|
||exports.default|@|FetchProvider.js:161|
||search|@|UniversalSearchStore.js:24|
||_refreshData|@|SearchPage.jsx:109|
||setInterval (async)|||
||_setupTimer|@|SearchPage.jsx:84|
||n|@|vendor.91c91d4….js:10|
||a.emit|@|vendor.91c91d4….js:90|
||trigger|@|vendor.91c91d4….js:10|
||_update|@|RefreshStore.js:35|
||enable|@|RefreshStore.js:31|
||n|@|vendor.91c91d4….js:10|
||a.emit|@|vendor.91c91d4….js:90|
||trigger|@|vendor.91c91d4….js:10|
||(anonymous)|@|vendor.91c91d4….js:10|
||GJnkpH39.t.exports|@|_invoke.js:5|
||y.<computed>|@|_task.js:35|
||m|@|_task.js:21|
||d|@|_task.js:25|

is your graylog able to verify the certificate?

So did you have an official certificate or is this self-signed or from your own ca?

If one of the last two one, you need to create a custom java keystore and give graylog the option to verify the certificate when it connects to itself.

1 Like

Yes, check this check and everything is with SSL. Coincidentally I was upgrading right now or posted to let you know that when testing with Safari, run 100% with no problem so far when signing in with Chrome or the error persists.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.