This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NR Embedded - Worldmap 404
#1
I am running Node Red Embedded on SignalK 1.23.0
I've installed the worldmap, and it is working on this URL: http://localhost:3000/plugins/signalk-no.../worldmap/
However, it does not work in the URL: http://192.168.1.106:3000/plugins/signal...IZAAAc#%2F

The UI dashboard and the iframe loads, but the content of the iframe (worldmap) gives a 404 error.
When F12 in my browser (Mozilla firefox) I also get these errors:


Code:
SideNav 'left' is not available! Did you use md-component-id='left'?


Code:
Source map error: Error: request failed with status 404 Resource URL: [url=http://192.168.1.106:3000/plugins/signalk-node-red/redApi/ui/js/app.min.js]http://192.168.1.106:3000/plugins/signalk-node-red/redApi/ui/js/app.min.js[/url] Source Map URL: angular-chart.min.js.map

Here is the .json of the flow I am using:


Code:
[{"id":"f247ad6a.ad5f8","type":"tab","label":"Worldmap","disabled":false,"info":""},{"id":"db7e8ee7.50b3a","type":"switch","z":"f247ad6a.ad5f8","name":"Is it nav data?","property":"msg.payload.updates.source.sentence","propertyType":"jsonata","rules":[{"t":"cont","v":"GLL","vt":"str"}],"checkall":"false","outputs":1,"x":380,"y":180,"wires":[["c96dc6f3.1526d"]]},{"id":"c96dc6f3.1526d","type":"change","z":"f247ad6a.ad5f8","name":"create msg.lat etc","rules":[{"t":"set","p":"LAT","pt":"msg","to":"payload.updates.values.value.latitude","tot":"jsonata"},{"t":"set","p":"LONG","pt":"msg","to":"payload.updates.values.value.longitude","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":600,"y":180,"wires":[["5846300e.48d6c"]]},{"id":"5846300e.48d6c","type":"function","z":"f247ad6a.ad5f8","name":"Make JSON","func":"var mymsg = {\"name\":\"MyPlace\",\"lat\":msg.LAT,\"lon\":msg.LONG, icon:\"ship\",\niconColor:\"red\"};\n\nmsg.payload=mymsg;\nreturn msg;","outputs":1,"noerr":0,"x":810,"y":180,"wires":[["7cb660d5.9e377"]]},{"id":"8474c6a.5234738","type":"json","z":"f247ad6a.ad5f8","name":"","pretty":true,"x":190,"y":180,"wires":[["db7e8ee7.50b3a"]]},{"id":"7cb660d5.9e377","type":"worldmap","z":"f247ad6a.ad5f8","name":"","lat":"","lon":"","zoom":"","layer":"Esri Satellite","cluster":"","maxage":"","usermenu":"hide","panit":"true","hiderightclick":"false","coords":"none","path":"","x":990,"y":180,"wires":[]},{"id":"26c63b50.28621c","type":"ui_template","z":"f247ad6a.ad5f8","group":"eb43e8f4.11c598","name":"world-map","order":4,"width":"6","height":"6","format":"<iframe width=\"600\" height=\"600\" src=\"http://localhost:3000/plugins/signalk-node-red/redApi/worldmap/\" frameborder=\"0\" allowfullscreen></iframe>","storeOutMessages":true,"fwdInMessages":true,"templateScope":"local","x":910,"y":240,"wires":[[]]},{"id":"eb43e8f4.11c598","type":"ui_group","z":"","name":"World","tab":"49b0a98d.f2c868","order":5,"disp":true,"width":"6"},{"id":"49b0a98d.f2c868","type":"ui_tab","z":"","name":"Map ","icon":"dashboard","disabled":false,"hidden":false}]


Hope someone can help me, thanks in advance!

Kind regards,

Jamos
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)