IBM / watson-voice-bot

Create a Watson Assistant chatbot that uses voice over a web browser.

Home Page:https://developer.ibm.com/patterns/create-a-web-based-voice-chatbot/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deploy error at second stage

russchidy opened this issue · comments

Hi guys can anyone help with this deploy error in the second stage;

Waiting for app to start...
FAILED
Start unsuccessful

TIP: use 'cf logs watson-voice-bot-20220513154240582 --recent' for more information
Job execution ended at Fri May 13 15:53:47 UTC 2022

full text is as per below:

Preparing to start the job...
Running on public worker: au-syd-tok05-backup
Job execution started at Fri May 13 15:44:33 UTC 2022
Pipeline image: latest
Preparing the build artifacts...
cf login -a "https://api.us-south.cf.cloud.ibm.com/" -u apikey -p "****" -o "devops@xglobal.com" -s "dev"
API endpoint: https://api.us-south.cf.cloud.ibm.com/
Authenticating...
OK

Targeted org devops@xglobal.com

Targeted space dev

API endpoint: https://api.us-south.cf.cloud.ibm.com/ (API version: 2.180.0)
User: devops@xglobal.com
Org: devops@xglobal.com
Space: dev
Creating service instance wvb-watson-assistant in org devops@xglobal.com / space dev as devops@xglobal.com...
OK

Service wvb-watson-assistant already exists
Creating service instance wvb-text-to-speech in org devops@xglobal.com / space dev as devops@xglobal.com...
OK

Service wvb-text-to-speech already exists
Creating service instance wvb-speech-to-text in org devops@xglobal.com / space dev as devops@xglobal.com...
OK

Service wvb-speech-to-text already exists
Pushing from manifest to org devops@xglobal.com / space dev as devops@xglobal.com...
Using manifest file /workspace/4816dbc4-b309-4a7e-a63e-06b97f68932b/manifest.yml
Getting app info...
Creating app with these attributes...

  • name: watson-voice-bot-20220513154240582
    path: /workspace/4816dbc4-b309-4a7e-a63e-06b97f68932b
    buildpacks:
  • python_buildpack
  • disk quota: 512M
  • instances: 1
  • memory: 128M
    services:
  • wvb-speech-to-text
  • wvb-text-to-speech
  • wvb-watson-assistant
    routes:
  • watson-voice-bot-20220513154240582.mybluemix.net

Creating app watson-voice-bot-20220513154240582...
Mapping routes...
Binding services...
Comparing local files to remote cache...
Packaging files to upload...
Uploading files...

0 B / 1.60 MiB 0.00%
192.00 KiB / 1.60 MiB 11.70%
512.00 KiB / 1.60 MiB 31.20%
1.12 MiB / 1.60 MiB 70.19%
1.60 MiB / 1.60 MiB 100.00%
1.60 MiB / 1.60 MiB 100.00%
1.60 MiB / 1.60 MiB 100.00%
1.60 MiB / 1.60 MiB 100.00%
1.60 MiB / 1.60 MiB 100.00%
1.60 MiB / 1.60 MiB 100.00%
1.60 MiB / 1.60 MiB 100.00%
1.60 MiB / 1.60 MiB 100.00%
1.60 MiB / 1.60 MiB 100.00%
1.60 MiB / 1.60 MiB 100.00% 2s

Waiting for API to complete processing files...

Staging app and tracing logs...
Downloading python_buildpack...
Downloaded python_buildpack (4.5M)
Cell 33a42869-b23a-465a-afc6-9f59595e2625 creating container for instance 46bf4f8c-ee45-489d-bb5a-3655e58ddba6
Cell 33a42869-b23a-465a-afc6-9f59595e2625 successfully created container for instance 46bf4f8c-ee45-489d-bb5a-3655e58ddba6
Downloading app package...
Downloaded app package (1.6M)
-----> Python Buildpack version 1.7.53
-----> Supplying Python
-----> Installing python 3.10.4
Download [https://buildpacks.cloudfoundry.org/dependencies/python/python_3.10.4_linux_x64_cflinuxfs3_e053ca78.tgz]
Using python's pip module
-----> Running Pip Install
Collecting ibm-watson==5.2.3
Downloading ibm-watson-5.2.3.tar.gz (406 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 406.9/406.9 KB 6.8 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting Flask==1.1.1
Downloading Flask-1.1.1-py2.py3-none-any.whl (94 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.5/94.5 KB 4.8 MB/s eta 0:00:00
Collecting python-dotenv==0.10.3
Downloading python_dotenv-0.10.3-py2.py3-none-any.whl (16 kB)
Collecting flask-cors==3.0.9
Downloading Flask_Cors-3.0.9-py2.py3-none-any.whl (14 kB)
Collecting flask-socketio==4.2.1
Downloading Flask_SocketIO-4.2.1-py2.py3-none-any.whl (16 kB)
Collecting requests<3.0,>=2.0
Downloading requests-2.27.1-py2.py3-none-any.whl (63 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.1/63.1 KB 301.0 kB/s eta 0:00:00
Collecting websocket-client==1.1.0
Downloading websocket_client-1.1.0-py2.py3-none-any.whl (68 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 68.7/68.7 KB 1.8 MB/s eta 0:00:00
Collecting ibm-cloud-sdk-core==3.*,>=3.3.6
Downloading ibm-cloud-sdk-core-3.15.1.tar.gz (50 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.9/50.9 KB 667.7 kB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting python-dateutil>=2.5.3
Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 KB 5.5 MB/s eta 0:00:00
Collecting Werkzeug>=0.15
Downloading Werkzeug-2.1.2-py3-none-any.whl (224 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 224.9/224.9 KB 5.7 MB/s eta 0:00:00
Collecting click>=5.1
Downloading click-8.1.3-py3-none-any.whl (96 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 KB 3.1 MB/s eta 0:00:00
Collecting Jinja2>=2.10.1
Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 KB 6.1 MB/s eta 0:00:00
Collecting itsdangerous>=0.24
Downloading itsdangerous-2.1.2-py3-none-any.whl (15 kB)
Collecting Six
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting python-socketio>=4.3.0
Downloading python_socketio-5.6.0-py3-none-any.whl (56 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.2/56.2 KB 3.6 MB/s eta 0:00:00
Collecting urllib3<2.0.0,>=1.26.0
Downloading urllib3-1.26.9-py2.py3-none-any.whl (138 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 139.0/139.0 KB 7.6 MB/s eta 0:00:00
Collecting PyJWT<3.0.0,>=2.0.1
Downloading PyJWT-2.4.0-py3-none-any.whl (18 kB)
Collecting MarkupSafe>=2.0
Downloading MarkupSafe-2.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Collecting bidict>=0.21.0
Downloading bidict-0.22.0-py3-none-any.whl (36 kB)
Collecting python-engineio>=4.3.0
Downloading python_engineio-4.3.2-py3-none-any.whl (52 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.7/52.7 KB 1.7 MB/s eta 0:00:00
Collecting charset-normalizer~=2.0.0
Downloading charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting certifi>=2017.4.17
Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 149.2/149.2 KB 3.7 MB/s eta 0:00:00
Collecting idna<4,>=2.5
Downloading idna-3.3-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 KB 4.4 MB/s eta 0:00:00
Using legacy 'setup.py install' for ibm-cloud-sdk-core, since package 'wheel' is not installed.
Building wheels for collected packages: ibm-watson
Building wheel for ibm-watson (pyproject.toml): started
Building wheel for ibm-watson (pyproject.toml): finished with status 'done'
Created wheel for ibm-watson: filename=ibm_watson-5.2.3-py3-none-any.whl size=403321 sha256=6293495beb9cb2f15a3c774847508825066fe14cc5bea6220677e49da197392f
Stored in directory: /tmp/cache/final/pip_cache/pip/wheels/56/24/2f/1622dfa6e36d96d4f3df7b335822b80fa26ef2b8e219dab52f
Successfully built ibm-watson
Installing collected packages: python-dotenv, certifi, Werkzeug, websocket-client, urllib3, Six, python-engineio, PyJWT, MarkupSafe, itsdangerous, idna, click, charset-normalizer, bidict, requests, python-socketio, python-dateutil, Jinja2, ibm-cloud-sdk-core, Flask, ibm-watson, flask-socketio, flask-cors
WARNING: The script dotenv is installed in '/tmp/contents3222993510/deps/0/python/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script normalizer is installed in '/tmp/contents3222993510/deps/0/python/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Running setup.py install for ibm-cloud-sdk-core: started
Running setup.py install for ibm-cloud-sdk-core: finished with status 'done'
WARNING: The script flask is installed in '/tmp/contents3222993510/deps/0/python/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed Flask-1.1.1 Jinja2-3.1.2 MarkupSafe-2.1.1 PyJWT-2.4.0 Six-1.16.0 Werkzeug-2.1.2 bidict-0.22.0 certifi-2021.10.8 charset-normalizer-2.0.12 click-8.1.3 flask-cors-3.0.9 flask-socketio-4.2.1 ibm-cloud-sdk-core-3.15.1 ibm-watson-5.2.3 idna-3.3 itsdangerous-2.1.2 python-dateutil-2.8.2 python-dotenv-0.10.3 python-engineio-4.3.2 python-socketio-5.6.0 requests-2.27.1 urllib3-1.26.9 websocket-client-1.1.0
Exit status 0
Uploading droplet, build artifacts cache...
Uploading droplet...
Uploading build artifacts cache...
Uploaded build artifacts cache (65M)
Uploaded droplet (66.8M)
Uploading complete
Cell 33a42869-b23a-465a-afc6-9f59595e2625 stopping instance 46bf4f8c-ee45-489d-bb5a-3655e58ddba6
Cell 33a42869-b23a-465a-afc6-9f59595e2625 destroying container for instance 46bf4f8c-ee45-489d-bb5a-3655e58ddba6

Waiting for app to start...
FAILED
Start unsuccessful

TIP: use 'cf logs watson-voice-bot-20220513154240582 --recent' for more information
Job execution ended at Fri May 13 15:53:47 UTC 2022

Finished: FAILED

hi @russchidy same for me as well...have you got any solution?