Canvas 0.1.2015

I'm finding 0.1.2015 pretty unstable compared to 0.1.2002 (which seemed flawless).

I see the following errors and on the UI I have had it stuck on "Canvas is loading" and once past that had it display pink banner with 404 error at the top of the workpad whenever I put an element on the workpad.

I'm running in docker.

I've seen the following errors

kibana | {"type":"error","@timestamp":"2018-06-20T07:52:09Z","tags":["warning","process"],"pid":1,"level":"error","error":{"message":"Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)","name":"UnhandledPromiseRejectionWarning","stack":"Error: Not Found\n at Object.createGenericNotFoundError (/usr/share/kibana/src/server/saved_objects/client/lib/errors.js:81:34)\n at SavedObjectsClient.get (/usr/share/kibana/src/server/saved_objects/client/saved_objects_client.js:402:25)\n at "},"message":"Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)"}

kibana | {"type":"response","@timestamp":"2018-06-20T08:21:20Z","tags":[],"pid":1,"method":"put","statusCode":404,"req":{"url":"/api/canvas/workpad/workpad-91c0cc96-61e4-4633-a253-bf8083aefb2f","method":"put","headers":{"host":"localhost:5601","accept":"application/json","accept-language":"en-gb","accept-encoding":"gzip, deflate","content-type":"application/json","origin":"http://localhost:5601","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.1 Safari/605.1.15","connection":"keep-alive","referer":"http://localhost:5601/app/canvas","content-length":"725","kbn-xsrf":"professionally-crafted-string-of-text"},"remoteAddress":"172.18.0.1","userAgent":"172.18.0.1","referer":"http://localhost:5601/app/canvas"},"res":{"statusCode":404,"responseTime":25,"contentLength":9},"message":"PUT /api/canvas/workpad/workpad-91c0cc96-61e4-4633-a253-bf8083aefb2f 404 25ms - 9.0B"}

-NiCK

Hi,
Am tagging few canvas dev for this discuss ticket. @rashid @w33ble

any suggestions?

Thanks
Rashmi

The error you're seeing is caused by a missing saved object in Kibana. Most likely this is coming from a missing workpad. It's possible that you are loading a route for a workpad that no longer exists (an error that we sadly don't handle well yet).

There was a fix that went out in 2015 that had to do with unhandled errors in the Workpad API, so it's possible the error you're seeing has always been there, but wasn't being caught before. Just a guess though.

If you load up /app/canvas#/ instead of simply /app/canvas, does the error go away? This will load Canvas at the "Home screen," instead of trying to load the last workpad you had open.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.