I have a deploy timeout error

Hi, I am trying to deploy my site and i have a deployment timeout error at 29 minutes,
I was wondering if we could increase it at 60 minutes at least.

the site name is: final-project-deployment-pge5
Site id: 8bb64dec-1056-47e2-b0e6-194047f3d026

Build Logs:
2:42:26 PM: Netlify Build
2:42:26 PM: ────────────────────────────────────────────────────────────────
2:42:26 PM: ​
2:42:26 PM: ❯ Version
2:42:26 PM: @netlify/build 29.56.1
2:42:26 PM: ​
2:42:26 PM: ❯ Flags
2:42:26 PM: accountId: 618265f133bc9fb93b1211a2
2:42:26 PM: baseRelDir: true
2:42:26 PM: buildId: 6739f238092fe6ef6b19df8a
2:42:26 PM: deployId: 6739f238092fe6ef6b19df8c
2:42:26 PM: ​
2:42:26 PM: ❯ Current directory
2:42:26 PM: /opt/build/repo
2:42:26 PM: ​
2:42:26 PM: ❯ Config file
2:42:26 PM: No config file was defined: using default values.
2:42:26 PM: ​
2:42:26 PM: ❯ Context
2:42:26 PM: production
2:42:26 PM: ​
2:42:26 PM: Build command from Netlify app
2:42:26 PM: ────────────────────────────────────────────────────────────────
2:42:26 PM: ​
2:42:26 PM: $ gunicorn app.app:app
2:42:26 PM: [2024-11-17 13:42:26 +0000] [5642] [INFO] Starting gunicorn 23.0.0
2:42:26 PM: [2024-11-17 13:42:26 +0000] [5642] [INFO] Listening at: http://127.0.0.1:8000 (5642)
2:42:26 PM: [2024-11-17 13:42:26 +0000] [5642] [INFO] Using worker: sync
2:42:26 PM: [2024-11-17 13:42:26 +0000] [5644] [INFO] Booting worker with pid: 5644
2:42:28 PM: Creating new Ultralytics Settings v0.0.6 file :white_check_mark:
2:42:28 PM: View Ultralytics Settings with ‘yolo settings’ or at ‘/opt/buildhome/.config/Ultralytics/settings.json’
2:42:28 PM: Update Settings with ‘yolo settings key=value’, i.e. ‘yolo settings runs_dir=path/to/dir’. For help see Quickstart - Ultralytics YOLO Docs.
3:12:24 PM: Failed during stage ‘building site’: Command did not finish within the time limit
3:12:24 PM: Execution timed out after 29m59.989101491s
3:12:24 PM: Failing build: Failed to build site
3:12:24 PM: Finished processing build request in 32m4.543s

my build settings:

Done, it’s now upgraded to an hour.

@hrishikesh
Thank you very much, the build succeeded but still deployment failed whereas i don’t have any indication of a failure:


Build logs:
7:05:46 PM: Netlify Build
7:05:46 PM: ────────────────────────────────────────────────────────────────
7:05:46 PM: ​
7:05:46 PM: ❯ Version
7:05:46 PM: @netlify/build 29.56.1
7:05:46 PM: ​
7:05:46 PM: ❯ Flags
7:05:46 PM: accountId: 618265f133bc9fb93b1211a2
7:05:46 PM: baseRelDir: true
7:05:46 PM: buildId: 673a2ff1d624ef32db3c6dda
7:05:46 PM: deployId: 673a2ff1d624ef32db3c6ddc
7:05:46 PM: ​
7:05:46 PM: ❯ Current directory
7:05:46 PM: /opt/build/repo
7:05:46 PM: ​
7:05:46 PM: ❯ Config file
7:05:46 PM: No config file was defined: using default values.
7:05:46 PM: ​
7:05:46 PM: ❯ Context
7:05:46 PM: production
7:05:46 PM: ​
7:05:46 PM: Build command from Netlify app
7:05:46 PM: ────────────────────────────────────────────────────────────────
7:05:46 PM: ​
7:05:46 PM: $ gunicorn app.app:app --log-level debug
7:05:46 PM: [2024-11-17 18:05:46 +0000] [5643] [DEBUG] Current configuration:
7:05:46 PM: config: ./gunicorn.conf.py
7:05:46 PM: wsgi_app: None
7:05:46 PM: bind: [‘127.0.0.1:8000’]
7:05:46 PM: backlog: 2048
7:05:46 PM: workers: 1
7:05:46 PM: worker_class: sync
7:05:46 PM: threads: 1
7:05:46 PM: worker_connections: 1000
7:05:46 PM: max_requests: 0
7:05:46 PM: max_requests_jitter: 0
7:05:46 PM: timeout: 30
7:05:46 PM: graceful_timeout: 30
7:05:46 PM: keepalive: 2
7:05:46 PM: limit_request_line: 4094
7:05:46 PM: limit_request_fields: 100
7:05:46 PM: limit_request_field_size: 8190
7:05:46 PM: reload: False
7:05:46 PM: reload_engine: auto
7:05:46 PM: reload_extra_files:
7:05:46 PM: spew: False
7:05:46 PM: check_config: False
7:05:46 PM: print_config: False
7:05:46 PM: preload_app: False
7:05:46 PM: sendfile: None
7:05:46 PM: reuse_port: False
7:05:46 PM: chdir: /opt/build/repo
7:05:46 PM: daemon: False
7:05:46 PM: raw_env:
7:05:46 PM: pidfile: None
7:05:46 PM: worker_tmp_dir: None
7:05:46 PM: user: 2500
7:05:46 PM: group: 2500
7:05:46 PM: umask: 0
7:05:46 PM: initgroups: False
7:05:46 PM: tmp_upload_dir: None
7:05:46 PM: secure_scheme_headers: {‘X-FORWARDED-PROTOCOL’: ‘ssl’, ‘X-FORWARDED-PROTO’: ‘https’, ‘X-FORWARDED-SSL’: ‘on’}
7:05:46 PM: forwarded_allow_ips: [‘127.0.0.1’, ‘::1’]
7:05:46 PM: accesslog: None
7:05:46 PM: disable_redirect_access_to_syslog: False
7:05:46 PM: access_log_format: %(h)s %(l)s %(u)s %(t)s “%(r)s” %(s)s %(b)s “%(f)s” “%(a)s”
7:05:46 PM: errorlog: -
7:05:46 PM: loglevel: debug
7:05:46 PM: capture_output: False
7:05:46 PM: logger_class: gunicorn.glogging.Logger
7:05:46 PM: logconfig: None
7:05:46 PM: logconfig_dict: {}
7:05:46 PM: logconfig_json: None
7:05:46 PM: syslog_addr: udp://localhost:514
7:05:46 PM: syslog: False
7:05:46 PM: syslog_prefix: None
7:05:46 PM: syslog_facility: user
7:05:46 PM: enable_stdio_inheritance: False
7:05:46 PM: statsd_host: None
7:05:46 PM: dogstatsd_tags:
7:05:46 PM: statsd_prefix:
7:05:46 PM: proc_name: None
7:05:46 PM: default_proc_name: app.app:app
7:05:46 PM: pythonpath: None
7:05:46 PM: paste: None
7:05:46 PM: on_starting: <function OnStarting.on_starting at 0x7fac82ff60d0>
7:05:46 PM: on_reload: <function OnReload.on_reload at 0x7fac82ff61f0>
7:05:46 PM: when_ready: <function WhenReady.when_ready at 0x7fac82ff6310>
7:05:46 PM: pre_fork: <function Prefork.pre_fork at 0x7fac82ff6430>
7:05:46 PM: post_fork: <function Postfork.post_fork at 0x7fac82ff6550>
7:05:46 PM: post_worker_init: <function PostWorkerInit.post_worker_init at 0x7fac82ff6670>
7:05:46 PM: worker_int: <function WorkerInt.worker_int at 0x7fac82ff6790>
7:05:46 PM: worker_abort: <function WorkerAbort.worker_abort at 0x7fac82ff68b0>
7:05:46 PM: pre_exec: <function PreExec.pre_exec at 0x7fac82ff69d0>
7:05:46 PM: pre_request: <function PreRequest.pre_request at 0x7fac82ff6af0>
7:05:46 PM: post_request: <function PostRequest.post_request at 0x7fac82ff6b80>
7:05:46 PM: child_exit: <function ChildExit.child_exit at 0x7fac82ff6ca0>
7:05:46 PM: worker_exit: <function WorkerExit.worker_exit at 0x7fac82ff6dc0>
7:05:46 PM: nworkers_changed: <function NumWorkersChanged.nworkers_changed at 0x7fac82ff6ee0>
7:05:46 PM: on_exit: <function OnExit.on_exit at 0x7fac83000040>
7:05:46 PM: ssl_context: <function NewSSLContext.ssl_context at 0x7fac83000160>
7:05:46 PM: proxy_protocol: False
7:05:46 PM: proxy_allow_ips: [‘127.0.0.1’, ‘::1’]
7:05:46 PM: keyfile: None
7:05:46 PM: certfile: None
7:05:46 PM: ssl_version: 2
7:05:46 PM: cert_reqs: 0
7:05:46 PM: ca_certs: None
7:05:46 PM: suppress_ragged_eofs: True
7:05:46 PM: do_handshake_on_connect: False
7:05:46 PM: ciphers: None
7:05:46 PM: raw_paste_global_conf:
7:05:46 PM: permit_obsolete_folding: False
7:05:46 PM: strip_header_spaces: False
7:05:46 PM: permit_unconventional_http_method: False
7:05:46 PM: permit_unconventional_http_version: False
7:05:46 PM: casefold_http_method: False
7:05:46 PM: forwarder_headers: [‘SCRIPT_NAME’, ‘PATH_INFO’]
7:05:46 PM: header_map: drop
7:05:46 PM: [2024-11-17 18:05:46 +0000] [5643] [INFO] Starting gunicorn 23.0.0
7:05:46 PM: [2024-11-17 18:05:46 +0000] [5643] [DEBUG] Arbiter booted
7:05:46 PM: [2024-11-17 18:05:46 +0000] [5643] [INFO] Listening at: http://127.0.0.1:8000 (5643)
7:05:46 PM: [2024-11-17 18:05:46 +0000] [5643] [INFO] Using worker: sync
7:05:46 PM: [2024-11-17 18:05:46 +0000] [5645] [INFO] Booting worker with pid: 5645
7:05:46 PM: [2024-11-17 18:05:46 +0000] [5643] [DEBUG] 1 workers
7:05:48 PM: Creating new Ultralytics Settings v0.0.6 file :white_check_mark:
7:05:48 PM: View Ultralytics Settings with ‘yolo settings’ or at ‘/opt/buildhome/.config/Ultralytics/settings.json’
7:05:48 PM: Update Settings with ‘yolo settings key=value’, i.e. ‘yolo settings runs_dir=path/to/dir’. For help see Quickstart - Ultralytics YOLO Docs.

@hrishikesh
Hello, please could you help me understand what failed?

Hi, @Harold-debug. You are starting a gunicorn server in the build system. The build system is intended to build your site and not to run a server.

In other words, the type of site you are trying to deploy is not able to be hosted on Netlify. You will need to find another hosting service for this site as you cannot host this type of site at Netlify.

There is more information in a another thread opened about this here: