samtecspg / articulate

A platform for building conversational interfaces with intelligent agents (chatbots)
http://spg.ai/projects/articulate/
Apache License 2.0
598 stars 159 forks source link

Empty page on localhost:3000 #1078

Open bamwani opened 4 years ago

bamwani commented 4 years ago

It shows an empty page on port 3000

Starting articulate_elasticsearch_1 ... done Starting articulate_api_1 ... done Starting articulate_redis_1 ... done Starting articulate_duckling_1 ... done Starting articulate_rasa_1 ... done Starting articulate_ui_1 ... done Starting articulate_nginx_1 ... done Starting articulate_filebeat_1 ... done Attaching to articulate_elasticsearch_1, articulate_redis_1, articulate_api_1, articulate_rasa_1, articulate_nginx_1, articulate_filebeat_1, articulate_ui_1, articulate_duckling_1 elasticsearch_1 | OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release. elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:21,577+0000", "level": "INFO", "component": "o.e.e.NodeEnvironment", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "using [1] data paths, mounts [[/usr/share/elasticsearch/data (/dev/sda2)]], net usable_space [632.3gb], net total_space [899.6gb], types [ext4]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:21,580+0000", "level": "INFO", "component": "o.e.e.NodeEnvironment", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "heap size [494.9mb], compressed ordinary object pointers [true]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:21,588+0000", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "node name [737b5c558ca6], node ID [BQrSKlb4T5Oaa5vy_RxhbQ], cluster name [docker-cluster]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:21,589+0000", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "version[7.1.1], pid[1], build[default/docker/7a013de/2019-05-23T14:04:00.380842Z], OS[Linux/4.15.0-106-generic/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/12.0.1/12.0.1+12]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:21,589+0000", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "JVM home [/usr/share/elasticsearch/jdk]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:21,590+0000", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "JVM arguments [-Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=/tmp/elasticsearch-5522112728543381560, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -Xlog:gc,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -Djava.locale.providers=COMPAT, -Dio.netty.allocator.type=unpooled, -Des.cgroups.hierarchy.override=/, -Xms512m, -Xmx512m, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/usr/share/elasticsearch/config, -Des.distribution.flavor=default, -Des.distribution.type=docker, -Des.bundled_jdk=true]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,177+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [aggs-matrix-stats]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,178+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [analysis-common]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,178+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [ingest-common]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,178+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [ingest-geoip]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,178+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [ingest-user-agent]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,178+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [lang-expression]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,179+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [lang-mustache]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,179+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [lang-painless]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,179+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [mapper-extras]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,179+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [parent-join]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,180+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [percolator]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,180+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [rank-eval]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,180+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [reindex]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,180+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [repository-url]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,181+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [transport-netty4]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,181+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [x-pack-ccr]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,181+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [x-pack-core]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,181+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [x-pack-deprecation]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,182+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [x-pack-graph]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,182+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [x-pack-ilm]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,182+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [x-pack-logstash]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,182+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [x-pack-ml]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,182+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [x-pack-monitoring]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,183+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [x-pack-rollup]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,183+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [x-pack-security]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,183+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [x-pack-sql]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,183+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "loaded module [x-pack-watcher]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:23,184+0000", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "no plugins loaded" } redis_1 | 1:C 13 Jul 12:02:20.465 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo redis_1 | 1:C 13 Jul 12:02:20.467 # Redis version=4.0.6, bits=64, commit=00000000, modified=0, pid=1, just started redis_1 | 1:C 13 Jul 12:02:20.467 # Configuration loaded redis_1 | 1:M 13 Jul 12:02:20.469 Running mode=standalone, port=6379. redis_1 | 1:M 13 Jul 12:02:20.469 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. redis_1 | 1:M 13 Jul 12:02:20.469 # Server initialized redis_1 | 1:M 13 Jul 12:02:20.469 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. redis_1 | 1:M 13 Jul 12:02:20.469 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled. redis_1 | 1:M 13 Jul 12:02:20.471 DB loaded from append only file: 0.002 seconds redis_1 | 1:M 13 Jul 12:02:20.471 Ready to accept connections elasticsearch_1 | {"type": "deprecation", "timestamp": "2020-07-13T12:02:25,398+0000", "level": "WARN", "component": "o.e.d.c.s.Settings", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "[discovery.zen.minimum_master_nodes] setting was deprecated in Elasticsearch and will be removed in a future release! See the breaking changes documentation for the next major version." } api_1 | 2020/07/13 12:02:21 Waiting for: http://elasticsearch:9200 api_1 | 2020/07/13 12:02:21 Problem with request: Get http://elasticsearch:9200: dial tcp 172.23.0.2:9200: connect: connection refused. Sleeping 1s api_1 | 2020/07/13 12:02:22 Problem with request: Get http://elasticsearch:9200: dial tcp 172.23.0.2:9200: connect: connection refused. Sleeping 1s api_1 | 2020/07/13 12:02:23 Problem with request: Get http://elasticsearch:9200: dial tcp 172.23.0.2:9200: connect: connection refused. Sleeping 1s api_1 | 2020/07/13 12:02:24 Problem with request: Get http://elasticsearch:9200: dial tcp 172.23.0.2:9200: connect: connection refused. Sleeping 1s api_1 | 2020/07/13 12:02:25 Problem with request: Get http://elasticsearch:9200: dial tcp 172.23.0.2:9200: connect: connection refused. Sleeping 1s rasa_1 | 2020-07-13 12:02:23+0000 [-] Log opened. rasa_1 | 2020-07-13 12:02:23+0000 [-] Site starting on 5000 rasa_1 | 2020-07-13 12:02:23+0000 [-] Starting factory <twisted.web.server.Site object at 0x7fc34041ecc0> ui_1 | yarn run v1.22.4 ui_1 | $ cross-env NODE_ENV=production env-cmd --no-override .env node server ui_1 | Server started ! ✓ ui_1 | ui_1 | Access URLs: ui_1 | ----------------------------------- ui_1 | Localhost: http://localhost:3000 ui_1 | LAN: http://172.23.0.9:3000 ui_1 | ----------------------------------- ui_1 | Press CTRL-C to stop ui_1 |
duckling_1 | no port specified, defaulting to port 8000 duckling_1 | Listening on http://0.0.0.0:8000 api_1 | 2020/07/13 12:02:26 Problem with request: Get http://elasticsearch:9200: dial tcp 172.23.0.2:9200: connect: connection refused. Sleeping 1s elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:26,773+0000", "level": "INFO", "component": "o.e.d.DiscoveryModule", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "using discovery type [single-node] and seed hosts providers [settings]" } api_1 | 2020/07/13 12:02:27 Problem with request: Get http://elasticsearch:9200: dial tcp 172.23.0.2:9200: connect: connection refused. Sleeping 1s elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:27,230+0000", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "initialized" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:27,230+0000", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "starting ..." } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:27,326+0000", "level": "INFO", "component": "o.e.t.TransportService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "publish_address {172.23.0.2:9300}, bound_addresses {0.0.0.0:9300}" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:27,333+0000", "level": "WARN", "component": "o.e.b.BootstrapChecks", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:27,337+0000", "level": "INFO", "component": "o.e.c.c.Coordinator", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "cluster UUID [CStz1qRQT5qrs4_ZaMWlXw]" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:27,547+0000", "level": "INFO", "component": "o.e.c.s.MasterService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "elected-as-master ([1] nodes joined)[{737b5c558ca6}{BQrSKlb4T5Oaa5vy_RxhbQ}{_7IuyJFDQgaAf5tzR_3EzA}{172.23.0.2}{172.23.0.2:9300}{xpack.installed=true} elect leader, _BECOME_MASTERTASK, _FINISHELECTION], term: 5, version: 56, reason: master node changed {previous [], current [{737b5c558ca6}{BQrSKlb4T5Oaa5vy_RxhbQ}{_7IuyJFDQgaAf5tzR_3EzA}{172.23.0.2}{172.23.0.2:9300}{xpack.installed=true}]}" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:27,904+0000", "level": "INFO", "component": "o.e.c.s.ClusterApplierService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "message": "master node changed {previous [], current [{737b5c558ca6}{BQrSKlb4T5Oaa5vy_RxhbQ}{_7IuyJFDQgaAf5tzR_3EzA}{172.23.0.2}{172.23.0.2:9300}{xpack.installed=true}]}, term: 5, version: 56, reason: Publication{term=5, version=56}" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:27,950+0000", "level": "INFO", "component": "o.e.h.AbstractHttpServerTransport", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "cluster.uuid": "CStz1qRQT5qrs4_ZaMWlXw", "node.id": "BQrSKlb4T5Oaa5vy_RxhbQ", "message": "publish_address {172.23.0.2:9200}, bound_addresses {0.0.0.0:9200}" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:27,950+0000", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "cluster.uuid": "CStz1qRQT5qrs4_ZaMWlXw", "node.id": "BQrSKlb4T5Oaa5vy_RxhbQ", "message": "started" } api_1 | 2020/07/13 12:02:28 Received 200 from http://elasticsearch:9200 api_1 | yarn run v1.22.4 elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:28,507+0000", "level": "INFO", "component": "o.e.l.LicenseService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "cluster.uuid": "CStz1qRQT5qrs4_ZaMWlXw", "node.id": "BQrSKlb4T5Oaa5vy_RxhbQ", "message": "license [d9ccde41-1a95-44e3-b155-a847b387ac46] mode [basic] - valid" } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:28,510+0000", "level": "INFO", "component": "o.e.g.GatewayService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "cluster.uuid": "CStz1qRQT5qrs4_ZaMWlXw", "node.id": "BQrSKlb4T5Oaa5vy_RxhbQ", "message": "recovered [3] indices into cluster_state" } api_1 | $ cross-env NODE_ENV=production env-cmd server/.env babel-node server api_1 | Browserslist: caniuse-lite is outdated. Please run next command yarn upgrade elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:29,730+0000", "level": "INFO", "component": "o.e.c.r.a.AllocationService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "cluster.uuid": "CStz1qRQT5qrs4_ZaMWlXw", "node.id": "BQrSKlb4T5Oaa5vy_RxhbQ", "message": "Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[document][0], [filebeat-7.1.1-2020.07.13-000001][0]] ...])." } elasticsearch_1 | {"type": "server", "timestamp": "2020-07-13T12:02:31,210+0000", "level": "INFO", "component": "o.e.c.m.MetaDataIndexTemplateService", "cluster.name": "docker-cluster", "node.name": "737b5c558ca6", "cluster.uuid": "CStz1qRQT5qrs4_ZaMWlXw", "node.id": "BQrSKlb4T5Oaa5vy_RxhbQ", "message": "adding template [document_template] for index patterns [document*]" } api_1 | Server started at http://0.0.0.0:7500 api_1 | Documentation at http://0.0.0.0:7500/documentation

Screenshot from 2020-07-13 17-41-37

Dewilas commented 4 years ago

yeah, for me also always shows the same. Than I recreate container and works again for a while. Screenshot 2020-07-16 at 14 58 33

master project run in cloud, ubuntu 18.04. I use Chrome

wrathagom commented 4 years ago

Hey all, sorry for the delay, you connect to Articulate at http://localhost:8080.

wrathagom commented 4 years ago

https://samtecspg.github.io/articulate/#/getting-started/basic-installation.md

Dewilas commented 4 years ago

@wrathagom but project is on cloud remotely. Not localhost... this problem at address http://remote-ip-address:8080

dcalvom commented 4 years ago

You mean you tried to access articulate at :8080 in your cloud server and shows a blank page too?

Dewilas commented 4 years ago

for me:

yeah, for me also always shows the same. Than I recreate container and works again for a while.

Dewilas commented 4 years ago

So after this aproach, the "api" container is causing the issue. The api container has node service running on 7500 which gets crashed and generate the error. After restarting the api container everything is running fine...

The main reason behind this approach is because of this error "Failed opening the RDB file user (in server root dir /etc/crontabs) for saving: Permission denied" in docker logs. So basically this error appears in a server when there is a malicious virus that comes into the server. The virus enters from the public ports which are accessible from the internet and changes the configuration.

Recommended solution: