When I compile and start with local source code, the server backend doesn't seem to have any exceptions, but it won't load the page and keeps ‘spinning around’. #11377

Closed
opened 2026-02-21 18:58:57 -05:00 by yindo · 0 comments
Owner

Originally created by @xhangHU on GitHub (Mar 17, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.01

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

When I compile and start with local source code, the server backend doesn't seem to have any exceptions, but it won't load the page and keeps ‘spinning around’.

Image

redis-1          | 1:C 17 Mar 2025 08:27:56.185 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis-1          | 1:C 17 Mar 2025 08:27:56.185 # Redis version=6.2.17, bits=64, commit=00000000, modified=0, pid=1, just started
redis-1          | 1:C 17 Mar 2025 08:27:56.185 # Configuration loaded
redis-1          | 1:M 17 Mar 2025 08:27:56.186 * monotonic clock: POSIX clock_gettime
redis-1          | 1:M 17 Mar 2025 08:27:56.186 * Running mode=standalone, port=6379.
redis-1          | 1:M 17 Mar 2025 08:27:56.187 # Server initialized
redis-1          | 1:M 17 Mar 2025 08:27:56.187 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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 17 Mar 2025 08:27:56.187 * Loading RDB produced by version 6.2.17
redis-1          | 1:M 17 Mar 2025 08:27:56.187 * RDB age 18 seconds
redis-1          | 1:M 17 Mar 2025 08:27:56.187 * RDB memory usage when created 0.88 Mb
redis-1          | 1:M 17 Mar 2025 08:27:56.188 # Done loading RDB, keys loaded: 5, keys expired: 1.
redis-1          | 1:M 17 Mar 2025 08:27:56.188 * DB loaded from disk: 0.000 seconds
redis-1          | 1:M 17 Mar 2025 08:27:56.188 * Ready to accept connections
worker-1         | 2025-03-17 08:28:08,661 INFO [utils.py:149]  Note: NumExpr detected 32 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 16.
worker-1         | 2025-03-17 08:28:08,661 INFO [utils.py:162]  NumExpr defaulting to 16 threads.
worker-1         | /app/api/.venv/lib/python3.12/site-packages/opik/evaluation/metrics/heuristics/regex_match.py:8: SyntaxWarning: invalid escape sequence '\d'
worker-1         |   """
worker-1         | /app/api/.venv/lib/python3.12/site-packages/celery/platforms.py:829: SecurityWarning: You're running the worker with superuser privileges: this is
worker-1         | absolutely not recommended!
worker-1         |
worker-1         | Please specify a different user using the --uid option.
worker-1         |
worker-1         | User information: uid=0 euid=0 gid=0 egid=0
worker-1         |
worker-1         |   warnings.warn(SecurityWarning(ROOT_DISCOURAGED.format(
worker-1         |
worker-1         |  -------------- celery@b84bd1c63cf7 v5.4.0 (opalescent)
worker-1         | --- ***** -----
worker-1         | -- ******* ---- Linux-6.8.0-55-generic-x86_64-with-glibc2.36 2025-03-17 08:28:26
worker-1         | - *** --- * ---
worker-1         | - ** ---------- [config]
worker-1         | - ** ---------- .> app:         app_factory:0x7a653479a8d0
worker-1         | - ** ---------- .> transport:   redis://:**@redis:6379/1
worker-1         | - ** ---------- .> results:     postgresql://postgres:**@db:5432/dify
worker-1         | - *** --- * --- .> concurrency: 1 (gevent)
worker-1         | -- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker)
worker-1         | --- ***** -----
worker-1         |  -------------- [queues]
worker-1         |                 .> app_deletion     exchange=app_deletion(direct) key=app_deletion
worker-1         |                 .> dataset          exchange=dataset(direct) key=dataset
worker-1         |                 .> mail             exchange=mail(direct) key=mail
worker-1         |                 .> ops_trace        exchange=ops_trace(direct) key=ops_trace
worker-1         |
worker-1         | [tasks]
worker-1         |   . schedule.clean_embedding_cache_task.clean_embedding_cache_task
worker-1         |   . schedule.clean_messages.clean_messages
worker-1         |   . schedule.clean_unused_datasets_task.clean_unused_datasets_task
worker-1         |   . schedule.create_tidb_serverless_task.create_tidb_serverless_task
worker-1         |   . schedule.mail_clean_document_notify_task.send_document_clean_notify_task
worker-1         |   . schedule.update_tidb_serverless_status_task.update_tidb_serverless_status_task
worker-1         |   . tasks.add_document_to_index_task.add_document_to_index_task
worker-1         |   . tasks.annotation.add_annotation_to_index_task.add_annotation_to_index_task
worker-1         |   . tasks.annotation.batch_import_annotations_task.batch_import_annotations_task
worker-1         |   . tasks.annotation.delete_annotation_index_task.delete_annotation_index_task
worker-1         |   . tasks.annotation.disable_annotation_reply_task.disable_annotation_reply_task
worker-1         |   . tasks.annotation.enable_annotation_reply_task.enable_annotation_reply_task
worker-1         |   . tasks.annotation.update_annotation_to_index_task.update_annotation_to_index_task
worker-1         |   . tasks.batch_clean_document_task.batch_clean_document_task
worker-1         |   . tasks.batch_create_segment_to_index_task.batch_create_segment_to_index_task
worker-1         |   . tasks.clean_dataset_task.clean_dataset_task
worker-1         |   . tasks.clean_document_task.clean_document_task
plugin_daemon-1  | 2025/03/17 08:27:56 pool.go:32: [INFO]init routine pool, size: 10000
plugin_daemon-1  | 2025/03/17 08:27:57 init.go:152: [INFO]dify plugin db initialized
plugin_daemon-1  | 2025/03/17 08:27:57 manager.go:155: [INFO]start plugin manager daemon...
plugin_daemon-1  | 2025/03/17 08:27:57 init.go:19: [INFO]Persistence initialized
plugin_daemon-1  | 2025/03/17 08:27:57 watcher.go:16: [INFO]start to handle new plugins in path: plugin
plugin_daemon-1  | [GIN] 2025/03/17 - 08:27:57 | 200 |     285.441µs |      172.18.0.8 | GET      "/health/check"
plugin_daemon-1  | [GIN] 2025/03/17 - 08:27:57 | 200 |     147.357µs |      172.18.0.8 | GET      "/health/check"
db-1             |
db-1             | PostgreSQL Database directory appears to contain a database; Skipping initialization
db-1             |
web-1            |
web-1            |                         -------------
web-1            |
web-1            | __/\\\\\\\\\\\\\____/\\\\____________/\\\\____/\\\\\\\\\_____
web-1            |  _\/\\\/////////\\\_\/\\\\\\________/\\\\\\__/\\\///////\\\___
web-1            |   _\/\\\_______\/\\\_\/\\\//\\\____/\\\//\\\_\///______\//\\\__
web-1            |    _\/\\\\\\\\\\\\\/__\/\\\\///\\\/\\\/_\/\\\___________/\\\/___
web-1            |     _\/\\\/////////____\/\\\__\///\\\/___\/\\\________/\\\//_____
worker-1         |   . tasks.clean_notion_document_task.clean_notion_document_task
worker-1         |   . tasks.deal_dataset_vector_index_task.deal_dataset_vector_index_task
worker-1         |   . tasks.delete_account_task.delete_account_task
worker-1         |   . tasks.delete_segment_from_index_task.delete_segment_from_index_task
worker-1         |   . tasks.disable_segment_from_index_task.disable_segment_from_index_task
worker-1         |   . tasks.disable_segments_from_index_task.disable_segments_from_index_task
worker-1         |   . tasks.document_indexing_sync_task.document_indexing_sync_task
worker-1         |   . tasks.document_indexing_task.document_indexing_task
worker-1         |   . tasks.document_indexing_update_task.document_indexing_update_task
db-1             | 2025-03-17 08:27:56.323 UTC [1] LOG:  starting PostgreSQL 15.12 on x86_64-pc-linux-musl, compiled by gcc (Alpine 14.2.0) 14.2.0, 64-bit
db-1             | 2025-03-17 08:27:56.323 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
db-1             | 2025-03-17 08:27:56.323 UTC [1] LOG:  listening on IPv6 address "::", port 5432
db-1             | 2025-03-17 08:27:56.337 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db-1             | 2025-03-17 08:27:56.344 UTC [29] LOG:  database system was shut down at 2025-03-17 08:27:44 UTC
db-1             | 2025-03-17 08:27:56.352 UTC [1] LOG:  database system is ready to accept connections
plugin_daemon-1  | [gnet] 2025-03-17T08:27:57.351629407Z        INFO    logging/logger.go:256   Launching gnet with 8 event-loops, listening on: tcp://0.0.0.0:5003
plugin_daemon-1  | 2025/03/17 08:27:57 cluster_lifetime.go:113: [INFO]current node has become the master of the cluster
plugin_daemon-1  | 2025/03/17 08:28:07 node.go:213: [INFO]node 23964f4c-eb95-4906-a8d0-b7ad147fdf7d has been removed from the cluster due to being disconnected
worker-1         |   . tasks.duplicate_document_indexing_task.duplicate_document_indexing_task
worker-1         |   . tasks.enable_segments_to_index_task.enable_segments_to_index_task
worker-1         |   . tasks.mail_account_deletion_task.send_account_deletion_verification_code
worker-1         |   . tasks.mail_account_deletion_task.send_deletion_success_task
worker-1         |   . tasks.mail_email_code_login.send_email_code_login_mail_task
worker-1         |   . tasks.mail_invite_member_task.send_invite_member_mail_task
worker-1         |   . tasks.mail_reset_password_task.send_reset_password_mail_task
worker-1         |   . tasks.ops_trace_task.process_trace_tasks
worker-1         |   . tasks.recover_document_indexing_task.recover_document_indexing_task
worker-1         |   . tasks.remove_app_and_related_data_task.remove_app_and_related_data_task
worker-1         |   . tasks.remove_document_from_index_task.remove_document_from_index_task
worker-1         |   . tasks.retry_document_indexing_task.retry_document_indexing_task
worker-1         |   . tasks.sync_website_document_indexing_task.sync_website_document_indexing_task
worker-1         |
worker-1         | 2025-03-17 08:28:26,724 INFO [connection.py:22]  Connected to redis://:**@redis:6379/1
worker-1         | 2025-03-17 08:28:26,728 INFO [mingle.py:40]  mingle: searching for neighbors
worker-1         | 2025-03-17 08:28:27,744 INFO [mingle.py:49]  mingle: all alone
worker-1         | 2025-03-17 08:28:27,762 INFO [pidbox.py:111]  pidbox: Connected to redis://:**@redis:6379/1.
worker-1         | 2025-03-17 08:28:27,769 INFO [worker.py:175]  celery@b84bd1c63cf7 ready.
weaviate-1       | {"action":"startup","default_vectorizer_module":"none","level":"info","msg":"the default vectorizer modules is set to \"none\", as a result all new schema classes without an explicit vectorizer setting, will use this vectorizer","time":"2025-03-17T08:27:56Z"}
weaviate-1       | {"action":"startup","auto_schema_enabled":true,"level":"info","msg":"auto schema enabled setting is set to \"true\"","time":"2025-03-17T08:27:56Z"}
weaviate-1       | {"action":"grpc_startup","level":"info","msg":"grpc server listening at [::]:50051","time":"2025-03-17T08:27:56Z"}
weaviate-1       | {"action":"restapi_management","level":"info","msg":"Serving weaviate at http://[::]:8080","time":"2025-03-17T08:27:56Z"}
web-1            |      _\/\\\_____________\/\\\____\///_____\/\\\_____/\\\//________
web-1            |       _\/\\\_____________\/\\\_____________\/\\\___/\\\/___________
ssrf_proxy-1     | [ENTRYPOINT] re-create snakeoil self-signed certificate removed in the build process
ssrf_proxy-1     | [ENTRYPOINT] replacing environment variables in the template
ssrf_proxy-1     | 2025/03/17 07:54:38| Adaptation support is off.
ssrf_proxy-1     | 2025/03/17 07:54:38| Accepting HTTP Socket connections at conn3 local=[::]:3128 remote=[::] FD 12 flags=9
ssrf_proxy-1     |     listening port: 3128
web-1            |        _\/\\\_____________\/\\\_____________\/\\\__/\\\\\\\\\\\\\\\_
web-1            |         _\///______________\///______________\///__\///////////////__
web-1            |
web-1            |
web-1            |                           Runtime Edition
web-1            |
web-1            |         PM2 is a Production Process Manager for Node.js applications
web-1            |                      with a built-in Load Balancer.
web-1            |
web-1            |                 Start and Daemonize any application:
web-1            |                 $ pm2 start app.js
ssrf_proxy-1     | 2025/03/17 07:54:38| Accepting reverse-proxy HTTP Socket connections at conn5 local=[::]:8194 remote=[::] FD 13 flags=9
ssrf_proxy-1     |     listening port: 8194
web-1            |
sandbox-1        | 2025/03/17 08:27:56 setup.go:29: [INFO]initializing nodejs runner environment...
sandbox-1        | 2025/03/17 08:27:56 setup.go:85: [INFO]nodejs runner environment initialized
web-1            |                 Load Balance 4 instances of api.js:
ssrf_proxy-1     | 2025/03/17 07:54:38| Configuring Parent sandbox
sandbox-1        | 2025/03/17 08:27:56 setup.go:33: [INFO]initializing python runner environment...
web-1            |                 $ pm2 start api.js -i 4
sandbox-1        | 2025/03/17 08:27:56 config.go:129: [INFO]network has been enabled
web-1            |
web-1            |                 Monitor in production:
web-1            |                 $ pm2 monitor
web-1            |
web-1            |                 Make pm2 auto-boot at server restart:
ssrf_proxy-1     | 2025/03/17 07:54:38 pinger| Initialising ICMP pinger ...
ssrf_proxy-1     | 2025/03/17 07:54:38 pinger| ICMP socket opened.
ssrf_proxy-1     | 2025/03/17 07:54:38 pinger| ICMPv6 socket opened
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: using the "epoll" event method
sandbox-1        | 2025/03/17 08:27:56 config.go:145: [INFO]using https proxy: http://ssrf_proxy:3128
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: nginx/1.13.8
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: built by gcc 6.3.0 20170516 (Debian 6.3.0-18)
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: OS: Linux 6.8.0-55-generic
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: getrlimit(RLIMIT_NOFILE): 1048576:1048576
api-1            | [2025-03-17 08:27:57 +0000] [1] [INFO] Starting gunicorn 23.0.0
api-1            | [2025-03-17 08:27:57 +0000] [1] [INFO] Listening at: http://0.0.0.0:5001 (1)
api-1            | [2025-03-17 08:27:57 +0000] [1] [INFO] Using worker: gevent
api-1            | [2025-03-17 08:27:57 +0000] [7] [INFO] Booting worker with pid: 7
api-1            | 2025-03-17 08:28:08,419 INFO [utils.py:149]  Note: NumExpr detected 32 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 16.
api-1            | 2025-03-17 08:28:08,419 INFO [utils.py:162]  NumExpr defaulting to 16 threads.
api-1            | /app/api/.venv/lib/python3.12/site-packages/opik/evaluation/metrics/heuristics/regex_match.py:8: SyntaxWarning: invalid escape sequence '\d'
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker processes
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 19
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 20
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 21
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 22
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 23
api-1            |   """
web-1            |                 $ pm2 startup
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 24
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 25
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 26
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 27
ssrf_proxy-1     | 2025/03/17 07:54:39| storeLateRelease: released 0 objects
ssrf_proxy-1     | 2025/03/17 08:27:56| Processing Configuration File: /etc/squid/squid.conf (depth 0)
sandbox-1        | 2025/03/17 08:27:56 config.go:154: [INFO]using http proxy: http://ssrf_proxy:3128
ssrf_proxy-1     | 2025/03/17 08:27:56| Processing Configuration File: /etc/squid/conf.d/debian.conf (depth 1)
ssrf_proxy-1     | 2025/03/17 08:27:56| Processing Configuration File: /etc/squid/conf.d/rock.conf (depth 1)
ssrf_proxy-1     | 2025/03/17 08:27:56| Created PID file (/run/squid.pid)
ssrf_proxy-1     | 2025/03/17 08:27:56| Processing Configuration File: /etc/squid/squid.conf (depth 0)
ssrf_proxy-1     | 2025/03/17 08:27:56| Processing Configuration File: /etc/squid/conf.d/debian.conf (depth 1)
ssrf_proxy-1     | 2025/03/17 08:27:56| Processing Configuration File: /etc/squid/conf.d/rock.conf (depth 1)
ssrf_proxy-1     | 2025/03/17 08:27:56| Created PID file (/run/squid.pid)
ssrf_proxy-1     | 2025/03/17 08:27:56| Set Current Directory to /var/spool/squid
ssrf_proxy-1     | 2025/03/17 08:27:56| Creating missing swap directories
ssrf_proxy-1     | 2025/03/17 08:27:56| No cache_dir stores are configured.
ssrf_proxy-1     | 2025/03/17 08:27:56| Removing PID file (/run/squid.pid)
web-1            |
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 28
web-1            |                 To go further checkout:
ssrf_proxy-1     | 2025/03/17 08:27:56| Set Current Directory to /var/spool/squid
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 29
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 30
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 31
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 32
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 33
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 34
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 35
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 36
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 37
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 38
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 39
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 40
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 41
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 42
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 43
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 44
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 45
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 46
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 47
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 48
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 49
nginx-1          | 2025/03/17 08:27:57 [notice] 10#10: start worker process 50
sandbox-1        | 2025/03/17 08:27:56 server.go:20: [INFO]config init success
sandbox-1        | 2025/03/17 08:27:56 server.go:26: [INFO]runner dependencies init success
sandbox-1        | 2025/03/17 08:27:56 cocrrent.go:31: [INFO]setting max requests to 50
sandbox-1        | 2025/03/17 08:27:56 cocrrent.go:13: [INFO]setting max workers to 4
sandbox-1        | 2025/03/17 08:27:56 server.go:47: [INFO]installing python dependencies...
sandbox-1        | 2025/03/17 08:27:56 server.go:53: [INFO]python dependencies installed
sandbox-1        | 2025/03/17 08:27:56 server.go:55: [INFO]initializing python dependencies sandbox...
sandbox-1        | [GIN] 2025/03/17 - 08:28:26 | 200 |       67.85µs |             ::1 | GET      "/health"
sandbox-1        | [GIN] 2025/03/17 - 08:28:28 | 404 |         963ns |              :: | GET      "/squid-internal-dynamic/netdb"
sandbox-1        | 2025/03/17 08:28:30 env.go:30: [WARN]python lib path /usr/lib/python3.10 is not available
ssrf_proxy-1     | 2025/03/17 08:27:56| Creating missing swap directories
ssrf_proxy-1     | 2025/03/17 08:27:56| No cache_dir stores are configured.
ssrf_proxy-1     | 2025/03/17 08:27:56| Removing PID file (/run/squid.pid)
ssrf_proxy-1     | [ENTRYPOINT] starting squid
ssrf_proxy-1     | 2025/03/17 08:27:56| Processing Configuration File: /etc/squid/squid.conf (depth 0)
ssrf_proxy-1     | 2025/03/17 08:27:56| Processing Configuration File: /etc/squid/conf.d/debian.conf (depth 1)
ssrf_proxy-1     | 2025/03/17 08:27:56| Processing Configuration File: /etc/squid/conf.d/rock.conf (depth 1)
ssrf_proxy-1     | 2025/03/17 08:27:56| Created PID file (/run/squid.pid)
ssrf_proxy-1     | 2025/03/17 08:27:56| Set Current Directory to /var/spool/squid
ssrf_proxy-1     | 2025/03/17 08:27:56| Starting Squid Cache version 6.10 for x86_64-pc-linux-gnu...
ssrf_proxy-1     | 2025/03/17 08:27:56| Service Name: squid
ssrf_proxy-1     | 2025/03/17 08:27:56| Process ID 45
ssrf_proxy-1     | 2025/03/17 08:27:56| Process Roles: master worker
web-1            |                 http://pm2.io/
web-1            |
web-1            |
web-1            |                         -------------
web-1            |
ssrf_proxy-1     | 2025/03/17 08:27:56| With 1024 file descriptors available
ssrf_proxy-1     | 2025/03/17 08:27:56| Initializing IP Cache...
ssrf_proxy-1     | 2025/03/17 08:27:56| DNS IPv6 socket created at [::], FD 8
sandbox-1        | 2025/03/17 08:28:30 env.go:30: [WARN]python lib path /usr/lib/python3 is not available
sandbox-1        | 2025/03/17 08:28:49 env.go:30: [WARN]python lib path /run/systemd/resolve/stub-resolv.conf is not available
sandbox-1        | 2025/03/17 08:28:49 env.go:30: [WARN]python lib path /run/resolvconf/resolv.conf is not available
sandbox-1        | [GIN] 2025/03/17 - 08:28:56 | 200 |      92.186µs |             ::1 | GET      "/health"
sandbox-1        | 2025/03/17 08:28:59 server.go:60: [INFO]python dependencies sandbox initialized
sandbox-1        | [GIN] 2025/03/17 - 08:29:26 | 200 |      43.821µs |             ::1 | GET      "/health"
web-1            | pm2 launched in no-daemon mode (you can add DEBUG="*" env variable to get more messages)
web-1            | 2025-03-17T08:27:56: PM2 log: Launching in no daemon mode
web-1            | 2025-03-17T08:27:56: PM2 log: [PM2] Starting /app/web/server.js in cluster_mode (2 instances)
web-1            | 2025-03-17T08:27:56: PM2 log: App [dify-web:0] starting in -cluster mode-
web-1            | 2025-03-17T08:27:56: PM2 log: App [dify-web:0] online
web-1            | 2025-03-17T08:27:56: PM2 log: App [dify-web:1] starting in -cluster mode-
web-1            | 2025-03-17T08:27:56: PM2 log: App [dify-web:1] online
web-1            | 2025-03-17T08:27:56: PM2 log: [PM2] Done.
web-1            | 2025-03-17T08:27:56: PM2 log: ┌────┬─────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
web-1            | │ id │ name        │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
web-1            | ├────┼─────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
web-1            | │ 0  │ dify-web    │ default     │ 1.0.1   │ cluster │ 23       │ 0s     │ 0    │ online    │ 0%       │ 50.8mb   │ undefin… │ disabled │
web-1            | │ 1  │ dify-web    │ default     │ 1.0.1   │ cluster │ 30       │ 0s     │ 0    │ online    │ 0%       │ 47.8mb   │ undefin… │ disabled │
web-1            | └────┴─────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
web-1            | 2025-03-17T08:27:56: PM2 log: [--no-daemon] Continue to stream logs
web-1            | 2025-03-17T08:27:56: PM2 log: [--no-daemon] Exit on target PM2 exit pid=7
web-1            | 08:27:57 0|dify-web  |   ▲ Next.js 14.2.15
web-1            | 08:27:57 0|dify-web  |   - Local:        http://dda44796e48b:3000
web-1            | 08:27:57 0|dify-web  |   - Network:      http://172.18.0.2:3000
ssrf_proxy-1     | 2025/03/17 08:27:56| DNS IPv4 socket created at 0.0.0.0, FD 9
ssrf_proxy-1     | 2025/03/17 08:27:56| Adding nameserver 127.0.0.11 from /etc/resolv.conf
ssrf_proxy-1     | 2025/03/17 08:27:56| Adding domain . from /etc/resolv.conf
ssrf_proxy-1     | 2025/03/17 08:27:56| Adding ndots 1 from /etc/resolv.conf
ssrf_proxy-1     | 2025/03/17 08:27:56| Logfile: opening log daemon:/var/log/squid/access.log
ssrf_proxy-1     | 2025/03/17 08:27:56| Logfile Daemon: opening log /var/log/squid/access.log
ssrf_proxy-1     | 2025/03/17 08:27:56| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
ssrf_proxy-1     | 2025/03/17 08:27:56| Store logging disabled
ssrf_proxy-1     | 2025/03/17 08:27:56| Swap maxSize 0 + 262144 KB, estimated 20164 objects
ssrf_proxy-1     | 2025/03/17 08:27:56| Target number of buckets: 1008
ssrf_proxy-1     | 2025/03/17 08:27:56| Using 8192 Store buckets
ssrf_proxy-1     | 2025/03/17 08:27:56| Max Mem  size: 262144 KB
web-1            | 08:27:57 0|dify-web  |  ✓ Starting...
web-1            | 08:27:57 1|dify-web  |   ▲ Next.js 14.2.15
web-1            | 08:27:57 1|dify-web  |   - Local:        http://dda44796e48b:3000
web-1            | 08:27:57 1|dify-web  |   - Network:      http://172.18.0.2:3000
web-1            | 08:27:57 1|dify-web  |  ✓ Starting...
web-1            | 08:27:57 0|dify-web  |  ✓ Ready in 132ms
web-1            | 08:27:57 1|dify-web  |  ✓ Ready in 118ms
web-1            | 2025-03-17T08:27:57: PM2 log: [PM2] This PM2 is not UP TO DATE
web-1            | 2025-03-17T08:27:57: PM2 log: [PM2] Upgrade to version 6.0.5
web-1            | 08:27:57 PM2         | [PM2] This PM2 is not UP TO DATE
web-1            | 08:27:57 PM2         | [PM2] Upgrade to version 6.0.5
ssrf_proxy-1     | 2025/03/17 08:27:56| Max Swap size: 0 KB
ssrf_proxy-1     | 2025/03/17 08:27:56| Using Least Load store dir selection
ssrf_proxy-1     | 2025/03/17 08:27:56| Set Current Directory to /var/spool/squid
ssrf_proxy-1     | 2025/03/17 08:27:56| Finished loading MIME types and icons.
ssrf_proxy-1     | 2025/03/17 08:27:56| HTCP Disabled.
ssrf_proxy-1     | 2025/03/17 08:27:56| Pinger socket opened on FD 15
ssrf_proxy-1     | 2025/03/17 08:27:56| Squid plugin modules loaded: 0
ssrf_proxy-1     | 2025/03/17 08:27:56| Adaptation support is off.
ssrf_proxy-1     | 2025/03/17 08:27:56| Accepting HTTP Socket connections at conn3 local=[::]:3128 remote=[::] FD 12 flags=9
ssrf_proxy-1     |     listening port: 3128
ssrf_proxy-1     | 2025/03/17 08:27:56| Accepting reverse-proxy HTTP Socket connections at conn5 local=[::]:8194 remote=[::] FD 13 flags=9
ssrf_proxy-1     |     listening port: 8194
ssrf_proxy-1     | 2025/03/17 08:27:56| Configuring Parent sandbox
ssrf_proxy-1     | 2025/03/17 08:27:56 pinger| Initialising ICMP pinger ...
ssrf_proxy-1     | 2025/03/17 08:27:56 pinger| ICMP socket opened.
ssrf_proxy-1     | 2025/03/17 08:27:56 pinger| ICMPv6 socket opened
ssrf_proxy-1     | 2025/03/17 08:27:57| storeLateRelease: released 0 objects
sandbox-1        | [GIN] 2025/03/17 - 08:29:56 | 200 |      51.229µs |             ::1 | GET      "/health"
nginx-1          | 192.168.10.24 - - [17/Mar/2025:08:30:08 +0000] "GET /install HTTP/1.1" 200 5723 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
nginx-1          | 192.168.10.24 - - [17/Mar/2025:08:30:08 +0000] "GET /logo/logo.png HTTP/1.1" 304 0 "http://192.168.60.122/install" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
nginx-1          | 192.168.10.24 - - [17/Mar/2025:08:30:08 +0000] "GET /favicon.ico HTTP/1.1" 304 0 "http://192.168.60.122/install" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
sandbox-1        | [GIN] 2025/03/17 - 08:30:26 | 200 |      75.626µs |             ::1 | GET      "/health"
sandbox-1        | [GIN] 2025/03/17 - 08:30:56 | 200 |      46.015µs |             ::1 | GET      "/health"
sandbox-1        | [GIN] 2025/03/17 - 08:31:26 | 200 |      41.737µs |             ::1 | GET      "/health"
sandbox-1        | [GIN] 2025/03/17 - 08:31:56 | 200 |       48.89µs |             ::1 | GET      "/health"
sandbox-1        | [GIN] 2025/03/17 - 08:32:26 | 200 |      66.098µs |             ::1 | GET      "/health"
db-1             | 2025-03-17 08:32:56.443 UTC [27] LOG:  checkpoint starting: time
db-1             | 2025-03-17 08:32:56.455 UTC [27] LOG:  checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.003 s, sync=0.002 s, total=0.013 s; sync files=2, longest=0.002 s, average=0.001 s; distance=0 kB, estimate=0 kB
sandbox-1        | [GIN] 2025/03/17 - 08:32:56 | 200 |      122.52µs |             ::1 | GET      "/health"
redis-1          | 1:M 17 Mar 2025 08:32:57.057 * 100 changes in 300 seconds. Saving...
redis-1          | 1:M 17 Mar 2025 08:32:57.058 * Background saving started by pid 80
redis-1          | 80:C 17 Mar 2025 08:32:57.061 * DB saved on disk
redis-1          | 80:C 17 Mar 2025 08:32:57.062 * RDB: 0 MB of memory used by copy-on-write
redis-1          | 1:M 17 Mar 2025 08:32:57.158 * Background saving terminated with success
sandbox-1        | [GIN] 2025/03/17 - 08:33:26 | 200 |      92.302µs |             ::1 | GET      "/health"
sandbox-1        | [GIN] 2025/03/17 - 08:33:56 | 200 |     345.227µs |             ::1 | GET      "/health"
sandbox-1        | [GIN] 2025/03/17 - 08:34:26 | 200 |      69.099µs |             ::1 | GET      "/health"
sandbox-1        | [GIN] 2025/03/17 - 08:34:56 | 200 |      44.548µs |             ::1 | GET      "/health"
sandbox-1        | [GIN] 2025/03/17 - 08:35:27 | 200 |      43.733µs |             ::1 | GET      "/health"
sandbox-1        | [GIN] 2025/03/17 - 08:35:57 | 200 |      49.636µs |             ::1 | GET      "/health"
sandbox-1        | [GIN] 2025/03/17 - 08:36:27 | 200 |      45.804µs |             ::1 | GET      "/health"
sandbox-1        | [GIN] 2025/03/17 - 08:36:57 | 200 |      59.466µs |             ::1 | GET      "/health"
sandbox-1        | [GIN] 2025/03/17 - 08:37:27 | 200 |      49.485µs |                                                                                                                                                                                ::1 | GET      "/health"
sandbox-1        | [GIN] 2025/03/17 - 08:37:57 | 200 |      92.702µs |                                                                                                                                                                                ::1 | GET      "/health"
redis-1          | 1:M 17 Mar 2025 08:37:58.026 * 100 changes in 300 sec                                                                                                                                                                   onds. Saving...
redis-1          | 1:M 17 Mar 2025 08:37:58.027 * Background saving star                                                                                                                                                                   ted by pid 141
redis-1          | 141:C 17 Mar 2025 08:37:58.030 * DB saved on disk
redis-1          | 141:C 17 Mar 2025 08:37:58.031 * RDB: 0 MB of memory                                                                                                                                                                    used by copy-on-write
redis-1          | 1:M 17 Mar 2025 08:37:58.128 * Background saving term                                                                                                                                                                   inated with success
sandbox-1        | [GIN] 2025/03/17 - 08:38:27 | 200 |      54.726µs |                                                                                                                                                                                ::1 | GET      "/health"
sandbox-1        | [GIN] 2025/03/17 - 08:38:57 | 200 |       45.51µs |                                                                                                                                                                                ::1 | GET      "/health"
sandbox-1        | [GIN] 2025/03/17 - 08:39:27 | 200 |      43.136µs |                                                                                                                                                                                ::1 | GET      "/health"

Above is the content of the log

✔️ Expected Behavior

Open the page and perform the next step

Actual Behavior

Stuck on page, page keeps loading

Originally created by @xhangHU on GitHub (Mar 17, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.01 ### Cloud or Self Hosted Self Hosted (Source) ### Steps to reproduce When I compile and start with local source code, the server backend doesn't seem to have any exceptions, but it won't load the page and keeps ‘spinning around’. ![Image](https://github.com/user-attachments/assets/50fc5d0b-d73e-4d24-a577-886dccf2d119) ``` redis-1 | 1:C 17 Mar 2025 08:27:56.185 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo redis-1 | 1:C 17 Mar 2025 08:27:56.185 # Redis version=6.2.17, bits=64, commit=00000000, modified=0, pid=1, just started redis-1 | 1:C 17 Mar 2025 08:27:56.185 # Configuration loaded redis-1 | 1:M 17 Mar 2025 08:27:56.186 * monotonic clock: POSIX clock_gettime redis-1 | 1:M 17 Mar 2025 08:27:56.186 * Running mode=standalone, port=6379. redis-1 | 1:M 17 Mar 2025 08:27:56.187 # Server initialized redis-1 | 1:M 17 Mar 2025 08:27:56.187 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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 17 Mar 2025 08:27:56.187 * Loading RDB produced by version 6.2.17 redis-1 | 1:M 17 Mar 2025 08:27:56.187 * RDB age 18 seconds redis-1 | 1:M 17 Mar 2025 08:27:56.187 * RDB memory usage when created 0.88 Mb redis-1 | 1:M 17 Mar 2025 08:27:56.188 # Done loading RDB, keys loaded: 5, keys expired: 1. redis-1 | 1:M 17 Mar 2025 08:27:56.188 * DB loaded from disk: 0.000 seconds redis-1 | 1:M 17 Mar 2025 08:27:56.188 * Ready to accept connections worker-1 | 2025-03-17 08:28:08,661 INFO [utils.py:149] Note: NumExpr detected 32 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 16. worker-1 | 2025-03-17 08:28:08,661 INFO [utils.py:162] NumExpr defaulting to 16 threads. worker-1 | /app/api/.venv/lib/python3.12/site-packages/opik/evaluation/metrics/heuristics/regex_match.py:8: SyntaxWarning: invalid escape sequence '\d' worker-1 | """ worker-1 | /app/api/.venv/lib/python3.12/site-packages/celery/platforms.py:829: SecurityWarning: You're running the worker with superuser privileges: this is worker-1 | absolutely not recommended! worker-1 | worker-1 | Please specify a different user using the --uid option. worker-1 | worker-1 | User information: uid=0 euid=0 gid=0 egid=0 worker-1 | worker-1 | warnings.warn(SecurityWarning(ROOT_DISCOURAGED.format( worker-1 | worker-1 | -------------- celery@b84bd1c63cf7 v5.4.0 (opalescent) worker-1 | --- ***** ----- worker-1 | -- ******* ---- Linux-6.8.0-55-generic-x86_64-with-glibc2.36 2025-03-17 08:28:26 worker-1 | - *** --- * --- worker-1 | - ** ---------- [config] worker-1 | - ** ---------- .> app: app_factory:0x7a653479a8d0 worker-1 | - ** ---------- .> transport: redis://:**@redis:6379/1 worker-1 | - ** ---------- .> results: postgresql://postgres:**@db:5432/dify worker-1 | - *** --- * --- .> concurrency: 1 (gevent) worker-1 | -- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker) worker-1 | --- ***** ----- worker-1 | -------------- [queues] worker-1 | .> app_deletion exchange=app_deletion(direct) key=app_deletion worker-1 | .> dataset exchange=dataset(direct) key=dataset worker-1 | .> mail exchange=mail(direct) key=mail worker-1 | .> ops_trace exchange=ops_trace(direct) key=ops_trace worker-1 | worker-1 | [tasks] worker-1 | . schedule.clean_embedding_cache_task.clean_embedding_cache_task worker-1 | . schedule.clean_messages.clean_messages worker-1 | . schedule.clean_unused_datasets_task.clean_unused_datasets_task worker-1 | . schedule.create_tidb_serverless_task.create_tidb_serverless_task worker-1 | . schedule.mail_clean_document_notify_task.send_document_clean_notify_task worker-1 | . schedule.update_tidb_serverless_status_task.update_tidb_serverless_status_task worker-1 | . tasks.add_document_to_index_task.add_document_to_index_task worker-1 | . tasks.annotation.add_annotation_to_index_task.add_annotation_to_index_task worker-1 | . tasks.annotation.batch_import_annotations_task.batch_import_annotations_task worker-1 | . tasks.annotation.delete_annotation_index_task.delete_annotation_index_task worker-1 | . tasks.annotation.disable_annotation_reply_task.disable_annotation_reply_task worker-1 | . tasks.annotation.enable_annotation_reply_task.enable_annotation_reply_task worker-1 | . tasks.annotation.update_annotation_to_index_task.update_annotation_to_index_task worker-1 | . tasks.batch_clean_document_task.batch_clean_document_task worker-1 | . tasks.batch_create_segment_to_index_task.batch_create_segment_to_index_task worker-1 | . tasks.clean_dataset_task.clean_dataset_task worker-1 | . tasks.clean_document_task.clean_document_task plugin_daemon-1 | 2025/03/17 08:27:56 pool.go:32: [INFO]init routine pool, size: 10000 plugin_daemon-1 | 2025/03/17 08:27:57 init.go:152: [INFO]dify plugin db initialized plugin_daemon-1 | 2025/03/17 08:27:57 manager.go:155: [INFO]start plugin manager daemon... plugin_daemon-1 | 2025/03/17 08:27:57 init.go:19: [INFO]Persistence initialized plugin_daemon-1 | 2025/03/17 08:27:57 watcher.go:16: [INFO]start to handle new plugins in path: plugin plugin_daemon-1 | [GIN] 2025/03/17 - 08:27:57 | 200 | 285.441µs | 172.18.0.8 | GET "/health/check" plugin_daemon-1 | [GIN] 2025/03/17 - 08:27:57 | 200 | 147.357µs | 172.18.0.8 | GET "/health/check" db-1 | db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization db-1 | web-1 | web-1 | ------------- web-1 | web-1 | __/\\\\\\\\\\\\\____/\\\\____________/\\\\____/\\\\\\\\\_____ web-1 | _\/\\\/////////\\\_\/\\\\\\________/\\\\\\__/\\\///////\\\___ web-1 | _\/\\\_______\/\\\_\/\\\//\\\____/\\\//\\\_\///______\//\\\__ web-1 | _\/\\\\\\\\\\\\\/__\/\\\\///\\\/\\\/_\/\\\___________/\\\/___ web-1 | _\/\\\/////////____\/\\\__\///\\\/___\/\\\________/\\\//_____ worker-1 | . tasks.clean_notion_document_task.clean_notion_document_task worker-1 | . tasks.deal_dataset_vector_index_task.deal_dataset_vector_index_task worker-1 | . tasks.delete_account_task.delete_account_task worker-1 | . tasks.delete_segment_from_index_task.delete_segment_from_index_task worker-1 | . tasks.disable_segment_from_index_task.disable_segment_from_index_task worker-1 | . tasks.disable_segments_from_index_task.disable_segments_from_index_task worker-1 | . tasks.document_indexing_sync_task.document_indexing_sync_task worker-1 | . tasks.document_indexing_task.document_indexing_task worker-1 | . tasks.document_indexing_update_task.document_indexing_update_task db-1 | 2025-03-17 08:27:56.323 UTC [1] LOG: starting PostgreSQL 15.12 on x86_64-pc-linux-musl, compiled by gcc (Alpine 14.2.0) 14.2.0, 64-bit db-1 | 2025-03-17 08:27:56.323 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 db-1 | 2025-03-17 08:27:56.323 UTC [1] LOG: listening on IPv6 address "::", port 5432 db-1 | 2025-03-17 08:27:56.337 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" db-1 | 2025-03-17 08:27:56.344 UTC [29] LOG: database system was shut down at 2025-03-17 08:27:44 UTC db-1 | 2025-03-17 08:27:56.352 UTC [1] LOG: database system is ready to accept connections plugin_daemon-1 | [gnet] 2025-03-17T08:27:57.351629407Z INFO logging/logger.go:256 Launching gnet with 8 event-loops, listening on: tcp://0.0.0.0:5003 plugin_daemon-1 | 2025/03/17 08:27:57 cluster_lifetime.go:113: [INFO]current node has become the master of the cluster plugin_daemon-1 | 2025/03/17 08:28:07 node.go:213: [INFO]node 23964f4c-eb95-4906-a8d0-b7ad147fdf7d has been removed from the cluster due to being disconnected worker-1 | . tasks.duplicate_document_indexing_task.duplicate_document_indexing_task worker-1 | . tasks.enable_segments_to_index_task.enable_segments_to_index_task worker-1 | . tasks.mail_account_deletion_task.send_account_deletion_verification_code worker-1 | . tasks.mail_account_deletion_task.send_deletion_success_task worker-1 | . tasks.mail_email_code_login.send_email_code_login_mail_task worker-1 | . tasks.mail_invite_member_task.send_invite_member_mail_task worker-1 | . tasks.mail_reset_password_task.send_reset_password_mail_task worker-1 | . tasks.ops_trace_task.process_trace_tasks worker-1 | . tasks.recover_document_indexing_task.recover_document_indexing_task worker-1 | . tasks.remove_app_and_related_data_task.remove_app_and_related_data_task worker-1 | . tasks.remove_document_from_index_task.remove_document_from_index_task worker-1 | . tasks.retry_document_indexing_task.retry_document_indexing_task worker-1 | . tasks.sync_website_document_indexing_task.sync_website_document_indexing_task worker-1 | worker-1 | 2025-03-17 08:28:26,724 INFO [connection.py:22] Connected to redis://:**@redis:6379/1 worker-1 | 2025-03-17 08:28:26,728 INFO [mingle.py:40] mingle: searching for neighbors worker-1 | 2025-03-17 08:28:27,744 INFO [mingle.py:49] mingle: all alone worker-1 | 2025-03-17 08:28:27,762 INFO [pidbox.py:111] pidbox: Connected to redis://:**@redis:6379/1. worker-1 | 2025-03-17 08:28:27,769 INFO [worker.py:175] celery@b84bd1c63cf7 ready. weaviate-1 | {"action":"startup","default_vectorizer_module":"none","level":"info","msg":"the default vectorizer modules is set to \"none\", as a result all new schema classes without an explicit vectorizer setting, will use this vectorizer","time":"2025-03-17T08:27:56Z"} weaviate-1 | {"action":"startup","auto_schema_enabled":true,"level":"info","msg":"auto schema enabled setting is set to \"true\"","time":"2025-03-17T08:27:56Z"} weaviate-1 | {"action":"grpc_startup","level":"info","msg":"grpc server listening at [::]:50051","time":"2025-03-17T08:27:56Z"} weaviate-1 | {"action":"restapi_management","level":"info","msg":"Serving weaviate at http://[::]:8080","time":"2025-03-17T08:27:56Z"} web-1 | _\/\\\_____________\/\\\____\///_____\/\\\_____/\\\//________ web-1 | _\/\\\_____________\/\\\_____________\/\\\___/\\\/___________ ssrf_proxy-1 | [ENTRYPOINT] re-create snakeoil self-signed certificate removed in the build process ssrf_proxy-1 | [ENTRYPOINT] replacing environment variables in the template ssrf_proxy-1 | 2025/03/17 07:54:38| Adaptation support is off. ssrf_proxy-1 | 2025/03/17 07:54:38| Accepting HTTP Socket connections at conn3 local=[::]:3128 remote=[::] FD 12 flags=9 ssrf_proxy-1 | listening port: 3128 web-1 | _\/\\\_____________\/\\\_____________\/\\\__/\\\\\\\\\\\\\\\_ web-1 | _\///______________\///______________\///__\///////////////__ web-1 | web-1 | web-1 | Runtime Edition web-1 | web-1 | PM2 is a Production Process Manager for Node.js applications web-1 | with a built-in Load Balancer. web-1 | web-1 | Start and Daemonize any application: web-1 | $ pm2 start app.js ssrf_proxy-1 | 2025/03/17 07:54:38| Accepting reverse-proxy HTTP Socket connections at conn5 local=[::]:8194 remote=[::] FD 13 flags=9 ssrf_proxy-1 | listening port: 8194 web-1 | sandbox-1 | 2025/03/17 08:27:56 setup.go:29: [INFO]initializing nodejs runner environment... sandbox-1 | 2025/03/17 08:27:56 setup.go:85: [INFO]nodejs runner environment initialized web-1 | Load Balance 4 instances of api.js: ssrf_proxy-1 | 2025/03/17 07:54:38| Configuring Parent sandbox sandbox-1 | 2025/03/17 08:27:56 setup.go:33: [INFO]initializing python runner environment... web-1 | $ pm2 start api.js -i 4 sandbox-1 | 2025/03/17 08:27:56 config.go:129: [INFO]network has been enabled web-1 | web-1 | Monitor in production: web-1 | $ pm2 monitor web-1 | web-1 | Make pm2 auto-boot at server restart: ssrf_proxy-1 | 2025/03/17 07:54:38 pinger| Initialising ICMP pinger ... ssrf_proxy-1 | 2025/03/17 07:54:38 pinger| ICMP socket opened. ssrf_proxy-1 | 2025/03/17 07:54:38 pinger| ICMPv6 socket opened nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: using the "epoll" event method sandbox-1 | 2025/03/17 08:27:56 config.go:145: [INFO]using https proxy: http://ssrf_proxy:3128 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: nginx/1.13.8 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: built by gcc 6.3.0 20170516 (Debian 6.3.0-18) nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: OS: Linux 6.8.0-55-generic nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: getrlimit(RLIMIT_NOFILE): 1048576:1048576 api-1 | [2025-03-17 08:27:57 +0000] [1] [INFO] Starting gunicorn 23.0.0 api-1 | [2025-03-17 08:27:57 +0000] [1] [INFO] Listening at: http://0.0.0.0:5001 (1) api-1 | [2025-03-17 08:27:57 +0000] [1] [INFO] Using worker: gevent api-1 | [2025-03-17 08:27:57 +0000] [7] [INFO] Booting worker with pid: 7 api-1 | 2025-03-17 08:28:08,419 INFO [utils.py:149] Note: NumExpr detected 32 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 16. api-1 | 2025-03-17 08:28:08,419 INFO [utils.py:162] NumExpr defaulting to 16 threads. api-1 | /app/api/.venv/lib/python3.12/site-packages/opik/evaluation/metrics/heuristics/regex_match.py:8: SyntaxWarning: invalid escape sequence '\d' nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker processes nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 19 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 20 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 21 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 22 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 23 api-1 | """ web-1 | $ pm2 startup nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 24 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 25 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 26 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 27 ssrf_proxy-1 | 2025/03/17 07:54:39| storeLateRelease: released 0 objects ssrf_proxy-1 | 2025/03/17 08:27:56| Processing Configuration File: /etc/squid/squid.conf (depth 0) sandbox-1 | 2025/03/17 08:27:56 config.go:154: [INFO]using http proxy: http://ssrf_proxy:3128 ssrf_proxy-1 | 2025/03/17 08:27:56| Processing Configuration File: /etc/squid/conf.d/debian.conf (depth 1) ssrf_proxy-1 | 2025/03/17 08:27:56| Processing Configuration File: /etc/squid/conf.d/rock.conf (depth 1) ssrf_proxy-1 | 2025/03/17 08:27:56| Created PID file (/run/squid.pid) ssrf_proxy-1 | 2025/03/17 08:27:56| Processing Configuration File: /etc/squid/squid.conf (depth 0) ssrf_proxy-1 | 2025/03/17 08:27:56| Processing Configuration File: /etc/squid/conf.d/debian.conf (depth 1) ssrf_proxy-1 | 2025/03/17 08:27:56| Processing Configuration File: /etc/squid/conf.d/rock.conf (depth 1) ssrf_proxy-1 | 2025/03/17 08:27:56| Created PID file (/run/squid.pid) ssrf_proxy-1 | 2025/03/17 08:27:56| Set Current Directory to /var/spool/squid ssrf_proxy-1 | 2025/03/17 08:27:56| Creating missing swap directories ssrf_proxy-1 | 2025/03/17 08:27:56| No cache_dir stores are configured. ssrf_proxy-1 | 2025/03/17 08:27:56| Removing PID file (/run/squid.pid) web-1 | nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 28 web-1 | To go further checkout: ssrf_proxy-1 | 2025/03/17 08:27:56| Set Current Directory to /var/spool/squid nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 29 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 30 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 31 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 32 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 33 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 34 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 35 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 36 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 37 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 38 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 39 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 40 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 41 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 42 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 43 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 44 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 45 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 46 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 47 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 48 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 49 nginx-1 | 2025/03/17 08:27:57 [notice] 10#10: start worker process 50 sandbox-1 | 2025/03/17 08:27:56 server.go:20: [INFO]config init success sandbox-1 | 2025/03/17 08:27:56 server.go:26: [INFO]runner dependencies init success sandbox-1 | 2025/03/17 08:27:56 cocrrent.go:31: [INFO]setting max requests to 50 sandbox-1 | 2025/03/17 08:27:56 cocrrent.go:13: [INFO]setting max workers to 4 sandbox-1 | 2025/03/17 08:27:56 server.go:47: [INFO]installing python dependencies... sandbox-1 | 2025/03/17 08:27:56 server.go:53: [INFO]python dependencies installed sandbox-1 | 2025/03/17 08:27:56 server.go:55: [INFO]initializing python dependencies sandbox... sandbox-1 | [GIN] 2025/03/17 - 08:28:26 | 200 | 67.85µs | ::1 | GET "/health" sandbox-1 | [GIN] 2025/03/17 - 08:28:28 | 404 | 963ns | :: | GET "/squid-internal-dynamic/netdb" sandbox-1 | 2025/03/17 08:28:30 env.go:30: [WARN]python lib path /usr/lib/python3.10 is not available ssrf_proxy-1 | 2025/03/17 08:27:56| Creating missing swap directories ssrf_proxy-1 | 2025/03/17 08:27:56| No cache_dir stores are configured. ssrf_proxy-1 | 2025/03/17 08:27:56| Removing PID file (/run/squid.pid) ssrf_proxy-1 | [ENTRYPOINT] starting squid ssrf_proxy-1 | 2025/03/17 08:27:56| Processing Configuration File: /etc/squid/squid.conf (depth 0) ssrf_proxy-1 | 2025/03/17 08:27:56| Processing Configuration File: /etc/squid/conf.d/debian.conf (depth 1) ssrf_proxy-1 | 2025/03/17 08:27:56| Processing Configuration File: /etc/squid/conf.d/rock.conf (depth 1) ssrf_proxy-1 | 2025/03/17 08:27:56| Created PID file (/run/squid.pid) ssrf_proxy-1 | 2025/03/17 08:27:56| Set Current Directory to /var/spool/squid ssrf_proxy-1 | 2025/03/17 08:27:56| Starting Squid Cache version 6.10 for x86_64-pc-linux-gnu... ssrf_proxy-1 | 2025/03/17 08:27:56| Service Name: squid ssrf_proxy-1 | 2025/03/17 08:27:56| Process ID 45 ssrf_proxy-1 | 2025/03/17 08:27:56| Process Roles: master worker web-1 | http://pm2.io/ web-1 | web-1 | web-1 | ------------- web-1 | ssrf_proxy-1 | 2025/03/17 08:27:56| With 1024 file descriptors available ssrf_proxy-1 | 2025/03/17 08:27:56| Initializing IP Cache... ssrf_proxy-1 | 2025/03/17 08:27:56| DNS IPv6 socket created at [::], FD 8 sandbox-1 | 2025/03/17 08:28:30 env.go:30: [WARN]python lib path /usr/lib/python3 is not available sandbox-1 | 2025/03/17 08:28:49 env.go:30: [WARN]python lib path /run/systemd/resolve/stub-resolv.conf is not available sandbox-1 | 2025/03/17 08:28:49 env.go:30: [WARN]python lib path /run/resolvconf/resolv.conf is not available sandbox-1 | [GIN] 2025/03/17 - 08:28:56 | 200 | 92.186µs | ::1 | GET "/health" sandbox-1 | 2025/03/17 08:28:59 server.go:60: [INFO]python dependencies sandbox initialized sandbox-1 | [GIN] 2025/03/17 - 08:29:26 | 200 | 43.821µs | ::1 | GET "/health" web-1 | pm2 launched in no-daemon mode (you can add DEBUG="*" env variable to get more messages) web-1 | 2025-03-17T08:27:56: PM2 log: Launching in no daemon mode web-1 | 2025-03-17T08:27:56: PM2 log: [PM2] Starting /app/web/server.js in cluster_mode (2 instances) web-1 | 2025-03-17T08:27:56: PM2 log: App [dify-web:0] starting in -cluster mode- web-1 | 2025-03-17T08:27:56: PM2 log: App [dify-web:0] online web-1 | 2025-03-17T08:27:56: PM2 log: App [dify-web:1] starting in -cluster mode- web-1 | 2025-03-17T08:27:56: PM2 log: App [dify-web:1] online web-1 | 2025-03-17T08:27:56: PM2 log: [PM2] Done. web-1 | 2025-03-17T08:27:56: PM2 log: ┌────┬─────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐ web-1 | │ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │ web-1 | ├────┼─────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤ web-1 | │ 0 │ dify-web │ default │ 1.0.1 │ cluster │ 23 │ 0s │ 0 │ online │ 0% │ 50.8mb │ undefin… │ disabled │ web-1 | │ 1 │ dify-web │ default │ 1.0.1 │ cluster │ 30 │ 0s │ 0 │ online │ 0% │ 47.8mb │ undefin… │ disabled │ web-1 | └────┴─────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘ web-1 | 2025-03-17T08:27:56: PM2 log: [--no-daemon] Continue to stream logs web-1 | 2025-03-17T08:27:56: PM2 log: [--no-daemon] Exit on target PM2 exit pid=7 web-1 | 08:27:57 0|dify-web | ▲ Next.js 14.2.15 web-1 | 08:27:57 0|dify-web | - Local: http://dda44796e48b:3000 web-1 | 08:27:57 0|dify-web | - Network: http://172.18.0.2:3000 ssrf_proxy-1 | 2025/03/17 08:27:56| DNS IPv4 socket created at 0.0.0.0, FD 9 ssrf_proxy-1 | 2025/03/17 08:27:56| Adding nameserver 127.0.0.11 from /etc/resolv.conf ssrf_proxy-1 | 2025/03/17 08:27:56| Adding domain . from /etc/resolv.conf ssrf_proxy-1 | 2025/03/17 08:27:56| Adding ndots 1 from /etc/resolv.conf ssrf_proxy-1 | 2025/03/17 08:27:56| Logfile: opening log daemon:/var/log/squid/access.log ssrf_proxy-1 | 2025/03/17 08:27:56| Logfile Daemon: opening log /var/log/squid/access.log ssrf_proxy-1 | 2025/03/17 08:27:56| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec ssrf_proxy-1 | 2025/03/17 08:27:56| Store logging disabled ssrf_proxy-1 | 2025/03/17 08:27:56| Swap maxSize 0 + 262144 KB, estimated 20164 objects ssrf_proxy-1 | 2025/03/17 08:27:56| Target number of buckets: 1008 ssrf_proxy-1 | 2025/03/17 08:27:56| Using 8192 Store buckets ssrf_proxy-1 | 2025/03/17 08:27:56| Max Mem size: 262144 KB web-1 | 08:27:57 0|dify-web | ✓ Starting... web-1 | 08:27:57 1|dify-web | ▲ Next.js 14.2.15 web-1 | 08:27:57 1|dify-web | - Local: http://dda44796e48b:3000 web-1 | 08:27:57 1|dify-web | - Network: http://172.18.0.2:3000 web-1 | 08:27:57 1|dify-web | ✓ Starting... web-1 | 08:27:57 0|dify-web | ✓ Ready in 132ms web-1 | 08:27:57 1|dify-web | ✓ Ready in 118ms web-1 | 2025-03-17T08:27:57: PM2 log: [PM2] This PM2 is not UP TO DATE web-1 | 2025-03-17T08:27:57: PM2 log: [PM2] Upgrade to version 6.0.5 web-1 | 08:27:57 PM2 | [PM2] This PM2 is not UP TO DATE web-1 | 08:27:57 PM2 | [PM2] Upgrade to version 6.0.5 ssrf_proxy-1 | 2025/03/17 08:27:56| Max Swap size: 0 KB ssrf_proxy-1 | 2025/03/17 08:27:56| Using Least Load store dir selection ssrf_proxy-1 | 2025/03/17 08:27:56| Set Current Directory to /var/spool/squid ssrf_proxy-1 | 2025/03/17 08:27:56| Finished loading MIME types and icons. ssrf_proxy-1 | 2025/03/17 08:27:56| HTCP Disabled. ssrf_proxy-1 | 2025/03/17 08:27:56| Pinger socket opened on FD 15 ssrf_proxy-1 | 2025/03/17 08:27:56| Squid plugin modules loaded: 0 ssrf_proxy-1 | 2025/03/17 08:27:56| Adaptation support is off. ssrf_proxy-1 | 2025/03/17 08:27:56| Accepting HTTP Socket connections at conn3 local=[::]:3128 remote=[::] FD 12 flags=9 ssrf_proxy-1 | listening port: 3128 ssrf_proxy-1 | 2025/03/17 08:27:56| Accepting reverse-proxy HTTP Socket connections at conn5 local=[::]:8194 remote=[::] FD 13 flags=9 ssrf_proxy-1 | listening port: 8194 ssrf_proxy-1 | 2025/03/17 08:27:56| Configuring Parent sandbox ssrf_proxy-1 | 2025/03/17 08:27:56 pinger| Initialising ICMP pinger ... ssrf_proxy-1 | 2025/03/17 08:27:56 pinger| ICMP socket opened. ssrf_proxy-1 | 2025/03/17 08:27:56 pinger| ICMPv6 socket opened ssrf_proxy-1 | 2025/03/17 08:27:57| storeLateRelease: released 0 objects sandbox-1 | [GIN] 2025/03/17 - 08:29:56 | 200 | 51.229µs | ::1 | GET "/health" nginx-1 | 192.168.10.24 - - [17/Mar/2025:08:30:08 +0000] "GET /install HTTP/1.1" 200 5723 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-" nginx-1 | 192.168.10.24 - - [17/Mar/2025:08:30:08 +0000] "GET /logo/logo.png HTTP/1.1" 304 0 "http://192.168.60.122/install" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-" nginx-1 | 192.168.10.24 - - [17/Mar/2025:08:30:08 +0000] "GET /favicon.ico HTTP/1.1" 304 0 "http://192.168.60.122/install" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-" sandbox-1 | [GIN] 2025/03/17 - 08:30:26 | 200 | 75.626µs | ::1 | GET "/health" sandbox-1 | [GIN] 2025/03/17 - 08:30:56 | 200 | 46.015µs | ::1 | GET "/health" sandbox-1 | [GIN] 2025/03/17 - 08:31:26 | 200 | 41.737µs | ::1 | GET "/health" sandbox-1 | [GIN] 2025/03/17 - 08:31:56 | 200 | 48.89µs | ::1 | GET "/health" sandbox-1 | [GIN] 2025/03/17 - 08:32:26 | 200 | 66.098µs | ::1 | GET "/health" db-1 | 2025-03-17 08:32:56.443 UTC [27] LOG: checkpoint starting: time db-1 | 2025-03-17 08:32:56.455 UTC [27] LOG: checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.003 s, sync=0.002 s, total=0.013 s; sync files=2, longest=0.002 s, average=0.001 s; distance=0 kB, estimate=0 kB sandbox-1 | [GIN] 2025/03/17 - 08:32:56 | 200 | 122.52µs | ::1 | GET "/health" redis-1 | 1:M 17 Mar 2025 08:32:57.057 * 100 changes in 300 seconds. Saving... redis-1 | 1:M 17 Mar 2025 08:32:57.058 * Background saving started by pid 80 redis-1 | 80:C 17 Mar 2025 08:32:57.061 * DB saved on disk redis-1 | 80:C 17 Mar 2025 08:32:57.062 * RDB: 0 MB of memory used by copy-on-write redis-1 | 1:M 17 Mar 2025 08:32:57.158 * Background saving terminated with success sandbox-1 | [GIN] 2025/03/17 - 08:33:26 | 200 | 92.302µs | ::1 | GET "/health" sandbox-1 | [GIN] 2025/03/17 - 08:33:56 | 200 | 345.227µs | ::1 | GET "/health" sandbox-1 | [GIN] 2025/03/17 - 08:34:26 | 200 | 69.099µs | ::1 | GET "/health" sandbox-1 | [GIN] 2025/03/17 - 08:34:56 | 200 | 44.548µs | ::1 | GET "/health" sandbox-1 | [GIN] 2025/03/17 - 08:35:27 | 200 | 43.733µs | ::1 | GET "/health" sandbox-1 | [GIN] 2025/03/17 - 08:35:57 | 200 | 49.636µs | ::1 | GET "/health" sandbox-1 | [GIN] 2025/03/17 - 08:36:27 | 200 | 45.804µs | ::1 | GET "/health" sandbox-1 | [GIN] 2025/03/17 - 08:36:57 | 200 | 59.466µs | ::1 | GET "/health" sandbox-1 | [GIN] 2025/03/17 - 08:37:27 | 200 | 49.485µs | ::1 | GET "/health" sandbox-1 | [GIN] 2025/03/17 - 08:37:57 | 200 | 92.702µs | ::1 | GET "/health" redis-1 | 1:M 17 Mar 2025 08:37:58.026 * 100 changes in 300 sec onds. Saving... redis-1 | 1:M 17 Mar 2025 08:37:58.027 * Background saving star ted by pid 141 redis-1 | 141:C 17 Mar 2025 08:37:58.030 * DB saved on disk redis-1 | 141:C 17 Mar 2025 08:37:58.031 * RDB: 0 MB of memory used by copy-on-write redis-1 | 1:M 17 Mar 2025 08:37:58.128 * Background saving term inated with success sandbox-1 | [GIN] 2025/03/17 - 08:38:27 | 200 | 54.726µs | ::1 | GET "/health" sandbox-1 | [GIN] 2025/03/17 - 08:38:57 | 200 | 45.51µs | ::1 | GET "/health" sandbox-1 | [GIN] 2025/03/17 - 08:39:27 | 200 | 43.136µs | ::1 | GET "/health" ``` Above is the content of the log ### ✔️ Expected Behavior Open the page and perform the next step ### ❌ Actual Behavior Stuck on page, page keeps loading
yindo added the 🐞 bug🤔 cant-reproduce labels 2026-02-21 18:58:57 -05:00
yindo closed this issue 2026-02-21 18:58:57 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#11377