Docker container open from android

You only posted the ui_led node, not the button.

I edited your previous post and changed all the single quotes to backticks, which is what they should be.

I suspect that might be the problem.
Can you remind me, if you configure the docker container to use port 1880 does it work correctly.

No, It does not work.

I run it using port 1880 and the dev tools shows that:

DevTools failed to load source map: Could not load content for http://127.0.0.1:1880/ui/js/angular-chart.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
app.min.js:530 Rendered http://127.0.0.1:1880/ui/css/app.min.less successfully.
app.min.js:530 CSS for http://127.0.0.1:1880/ui/css/app.min.less generated in 471ms
app.min.js:530 Less has finished. CSS generated in 471ms
app.min.js:150 You are using the ngTouch module. 
AngularJS Material already has mobile click, tap, and swipe support... 
ngTouch is not supported with AngularJS Material!
(anonymous) @ app.min.js:150
e @ app.min.js:470
invoke @ app.min.js:66
(anonymous) @ app.min.js:68
r @ app.min.js:29
fb @ app.min.js:68
c @ app.min.js:43
Wc @ app.min.js:43
Ee @ app.min.js:42
(anonymous) @ app.min.js:372
e @ app.min.js:20
t @ app.min.js:20
setTimeout (async)
(anonymous) @ app.min.js:20
c @ app.min.js:20
fireWith @ app.min.js:20
fire @ app.min.js:20
c @ app.min.js:20
fireWith @ app.min.js:20
ready @ app.min.js:20
B @ app.min.js:20
app.min.js:135 GET http://127.0.0.1:1880/ui/loading.html 404 (Not Found)
(anonymous) @ app.min.js:135
s @ app.min.js:130
(anonymous) @ app.min.js:128
(anonymous) @ app.min.js:162
$digest @ app.min.js:174
$apply @ app.min.js:177
(anonymous) @ app.min.js:43
invoke @ app.min.js:66
c @ app.min.js:43
Wc @ app.min.js:43
Ee @ app.min.js:42
(anonymous) @ app.min.js:372
e @ app.min.js:20
t @ app.min.js:20
setTimeout (async)
(anonymous) @ app.min.js:20
c @ app.min.js:20
fireWith @ app.min.js:20
fire @ app.min.js:20
c @ app.min.js:20
fireWith @ app.min.js:20
ready @ app.min.js:20
B @ app.min.js:20
websocket.js:88 WebSocket connection to 'ws://127.0.0.1:1880/ui/socket.io/?EIO=4&transport=websocket&sid=o2rE29A0xNQdCg7EAAAC' failed: 

OK, can you post the flow please? Perhaps you missed my previous comment, you only posted the led node before.

Sorry, this is the flow including the button:

[{"id":"d93c7b18.5537b8","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"26bf2ac2.39ecc6","type":"ui_base","theme":{"name":"theme-light","lightTheme":{"default":"#0094CE","baseColor":"#0094CE","baseFont":"-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif","edited":false},"darkTheme":{"default":"#097479","baseColor":"#097479","baseFont":"-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif","edited":false},"customTheme":{"name":"Untitled Theme 1","default":"#4B7930","baseColor":"#4B7930","baseFont":"-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif"},"themeState":{"base-color":{"default":"#0094CE","value":"#0094CE","edited":false},"page-titlebar-backgroundColor":{"value":"#0094CE","edited":false},"page-backgroundColor":{"value":"#fafafa","edited":false},"page-sidebar-backgroundColor":{"value":"#ffffff","edited":false},"group-textColor":{"value":"#1bbfff","edited":false},"group-borderColor":{"value":"#ffffff","edited":false},"group-backgroundColor":{"value":"#ffffff","edited":false},"widget-textColor":{"value":"#111111","edited":false},"widget-backgroundColor":{"value":"#0094ce","edited":false},"widget-borderColor":{"value":"#ffffff","edited":false},"base-font":{"value":"-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif"}},"angularTheme":{"primary":"indigo","accents":"blue","warn":"red","background":"grey","palette":"light"}},"site":{"name":"Node-RED Dashboard","hideToolbar":"false","allowSwipe":"false","lockMenu":"false","allowTempTheme":"true","dateFormat":"DD/MM/YYYY","sizes":{"sx":48,"sy":48,"gx":6,"gy":6,"cx":6,"cy":6,"px":0,"py":0}}},{"id":"3febc928.86e386","type":"ui_tab","name":"Tab 1","icon":"dashboard","order":1},{"id":"656bf4f9.18cb7c","type":"ui_group","name":"Group 1","tab":"3febc928.86e386","order":1,"disp":true,"width":6},{"id":"97a01d6.4bffce","type":"ui_button","z":"d93c7b18.5537b8","name":"","group":"656bf4f9.18cb7c","order":0,"width":0,"height":0,"passthru":false,"label":"button","tooltip":"","color":"","bgcolor":"","className":"","icon":"","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":420,"y":220,"wires":[["444d6f28.d2ae1"]]},{"id":"444d6f28.d2ae1","type":"ui_led","z":"d93c7b18.5537b8","order":1,"group":"656bf4f9.18cb7c","width":0,"height":0,"label":"","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"#ff0000","value":"false","valueType":"bool"},{"color":"#008000","value":"true","valueType":"bool"}],"allowColorForValueInMessage":false,"shape":"circle","showGlow":true,"name":"","x":640,"y":220,"wires":[]}]

In the editor, does the debug pane work if you feed an inject node directly into an debug node?

Hello Colin,
yes, it works well. As you can see on picture below the inject node send the topic to the debug node and it is shon in debug pane.

Sorry, I am out of ideas. I think you should start a new thread with a title that describes the problem, refer back to this thread and particularly the websocket connection error, which I am sure is the problem. Then hopefully someone with more knowledge in that area will help.

Just to check though, this isn't specifically an Android question is it?

1 Like

Yes, you are right these last questions are not android-docker questions.

I will start a new thread, thank you so much for your help.

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