Openag UI Server Connection Error 404


#1

Does anyone else have a connection problem pop-up occur when they try to access the Openag UI at localhost:5984/app/_design/app/_rewrite ? I’ve attached two screenshots below of the issue. It prevents me from accessing the database to add a new recipe. I followed the instructions from @rbaynes located here https://wiki.openag.media.mit.edu/contributors/rob.baynes/rpisetup after reinstalling Rasbpian.

I’ve also attached the debug output from localhost:5984/app/_design/app/?debug=true

{"_id":"_design/app","_rev":“1-759d93fd15eafb2613e0714c0de7f024”,“rewrites”:[{“from”:"/",“to”:“index.html”},{“from”:"/api",“to”:"…/…/"},{“from”:"/api/",“to”:"…/…/"},{“from”:"/",“to”:""}],“views”:{},“validate_doc_update”:“function (newDoc, oldDoc, userCtx) { \n if (newDoc._deleted === true && userCtx.roles.indexOf(’_admin’) === -1) {\n throw “Only admin can delete documents on this database.”;\n } \n}”,“attachments_md5”:{“index.html”:{“revpos”:1,“md5”:“ca76dc233e619622604ad597488b0501”},“assets/camera.svg”:{“revpos”:1,“md5”:“ffad29f71d6a90352255948b01643827”},“assets/d3-chart.css”:{“revpos”:1,“md5”:“4e78bc2e59fec33fc1b786201c813ec8”},“assets/loading.svg”:{“revpos”:1,“md5”:“e0143f3268d7bfece18a4ced929b9c31”},“assets/env.png”:{“revpos”:1,“md5”:“2492f3937b41b3ed38eb3ad7531c58a9”},“assets/main.css”:{“revpos”:1,“md5”:“f4d002c5e87d30bb46af2bec9e266daa”},“assets/sprite.png”:{“revpos”:1,“md5”:“334eed40b046b66d8b1368b5575413ef”},“assets/stripes-dark-blue.png”:{“revpos”:1,“md5”:“8e790486d6831582322a5a9def5de84f”},“vendor/normalize/normalize.css”:{“revpos”:1,“md5”:“7a5aa073a980af0b0d27ed89afe1dc37”},“scripts/main.js”:{“revpos”:1,“md5”:“b796224d9069ab0bf4726a9446c3ef4b”}},"_attachments":{“index.html”:{“content_type”:“text/html”,“revpos”:1,“digest”:“md5-7Cx8CYeTzyxFab9uwmgG7w==”,“length”:591,“stub”:true},“assets/camera.svg”:{“content_type”:“image/svg+xml”,“revpos”:1,“digest”:“md5-9ksBPGcAlqjT+sQNLs3PrQ==”,“length”:486,“stub”:true},“assets/d3-chart.css”:{“content_type”:“text/css”,“revpos”:1,“digest”:“md5-kzNjXzqX3A0JztTbcvd2uA==”,“length”:3853,“stub”:true},“assets/loading.svg”:{“content_type”:“image/svg+xml”,“revpos”:1,“digest”:“md5-kQrEnjbnylkS0ql3ToRtOQ==”,“length”:703,“stub”:true},“assets/env.png”:{“content_type”:“image/png”,“revpos”:1,“digest”:“md5-Pr6+2M9APDcQm6mBhF4kjQ==”,“length”:44280,“stub”:true},“assets/main.css”:{“content_type”:“text/css”,“revpos”:1,“digest”:“md5-nwA1xDZm/+TwzhjAZ9aJtA==”,“length”:20611,“stub”:true},“assets/sprite.png”:{“content_type”:“image/png”,“revpos”:1,“digest”:“md5-gh+T6zwL4Q2ZJNdoYuH0ug==”,“length”:18666,“stub”:true},“assets/stripes-dark-blue.png”:{“content_type”:“image/png”,“revpos”:1,“digest”:“md5-s3lSaAO6QeT4eq1etcjtLA==”,“length”:535,“stub”:true},“vendor/normalize/normalize.css”:{“content_type”:“text/css”,“revpos”:1,“digest”:“md5-5JNVnlrDqwJNotPA5yBDIQ==”,“length”:6947,“stub”:true},“scripts/main.js”:{“content_type”:“text/javascript”,“revpos”:1,“digest”:“md5-f0dDWQ2jPwucqZF8c8nL+Q==”,“length”:1095766,“stub”:true}}}


#2

Hello, @ekoziol
Open a terminal and try

rosrun openag_brain main --screen personal_food_computer.launch

then use the WebUI to see is it the case.

the openag_brain.service may not start automatical as wanted to be.


Problem getting the UI to work, PFC2
#3

@silo That worked! Thanks.


#4

Dear, you are wellcome. If you can put top image to WebUI please let me know your way. I am looking forward to seeing that happen soon.


#5

Yeah it worked for me also. Thanks @silo :slightly_smiling_face:


Dealer Management Software | Pharma Billing Software