Hello ,
I've not been able to run the app on my machine :
Can you help ? Thanks in advance !
The app launches ok and disply the default image and its analysis
However , it is unable to handle a new image .
When I try to upload an image I get :
Internal server error
not found
Seems that the connection to to the Watson Service is not established correctly even though the credentials seem correct .
More details form the terminal log:
POST /api/classify 500 901.844 ms - 69
{ Not Found: Not Found
at RequestWrapper.formatError (/Users/pcomte/Documents/GitHub/visual-recognition-code-pattern/node_modules/ibm-cloud-sdk-core/lib/request-wrapper.js:208:21)
at /Users/pcomte/Documents/GitHub/visual-recognition-code-pattern/node_modules/ibm-cloud-sdk-core/lib/request-wrapper.js:196:25
at process._tickCallback (internal/process/next_tick.js:68:7)
name: 'Not Found',
code: 404,
message: 'Not Found',
body: '""',
headers:
{ 'content-type': 'application/json',
'content-length': '0',
'cache-control': 'no-cache, no-store',
'content-security-policy': 'none',
expires: '0',
pragma: 'no-cache',
'strict-transport-security': 'max-age=31536000; includeSubDomains;',
'x-content-type-options': 'nosniff',
'x-xss-protection': '1; mode=block',
'x-global-transaction-id': '78db223d3b6cc61e2a25fc3b5f99d0c4',
'x-dp-watson-tran-id': '78db223d3b6cc61e2a25fc3b5f99d0c4',
'x-edgeconnect-midmile-rtt': '93',
'x-edgeconnect-origin-mex-latency': '434',
date: 'Mon, 16 Mar 2020 12:00:21 GMT',
connection: 'close' } }
POST /api/classify 500 901.750 ms - 69
Hello ,
I've not been able to run the app on my machine :
Can you help ? Thanks in advance !
The app launches ok and disply the default image and its analysis
However , it is unable to handle a new image .
When I try to upload an image I get :
Internal server error
not found
Seems that the connection to to the Watson Service is not established correctly even though the credentials seem correct .
More details form the terminal log:
POST /api/classify 500 901.844 ms - 69
{ Not Found: Not Found
at RequestWrapper.formatError (/Users/pcomte/Documents/GitHub/visual-recognition-code-pattern/node_modules/ibm-cloud-sdk-core/lib/request-wrapper.js:208:21)
at /Users/pcomte/Documents/GitHub/visual-recognition-code-pattern/node_modules/ibm-cloud-sdk-core/lib/request-wrapper.js:196:25
at process._tickCallback (internal/process/next_tick.js:68:7)
name: 'Not Found',
code: 404,
message: 'Not Found',
body: '""',
headers:
{ 'content-type': 'application/json',
'content-length': '0',
'cache-control': 'no-cache, no-store',
'content-security-policy': 'none',
expires: '0',
pragma: 'no-cache',
'strict-transport-security': 'max-age=31536000; includeSubDomains;',
'x-content-type-options': 'nosniff',
'x-xss-protection': '1; mode=block',
'x-global-transaction-id': '78db223d3b6cc61e2a25fc3b5f99d0c4',
'x-dp-watson-tran-id': '78db223d3b6cc61e2a25fc3b5f99d0c4',
'x-edgeconnect-midmile-rtt': '93',
'x-edgeconnect-origin-mex-latency': '434',
date: 'Mon, 16 Mar 2020 12:00:21 GMT',
connection: 'close' } }
POST /api/classify 500 901.750 ms - 69