Touch UI Plugin Not Working

Good Day to you all.

I recently updated to the latest version of Octoprint v1.4.0 and the TouchUI plugin was working before on v1.3.12.
On the Touchscreen all that I am seeing is a white screen with a square 'sad face' in the middle with the following below it" (::1) refused to connect. ?
Please can someone advise on a possible 'fix'?

3 Likes

Hello,
I have the same problem here.
::1 refused to connect

Hello @cyberdwarf!

See @foosel's post and cling to the link.

Hello Ewald,

thx... it works again!

1 Like

is there anyway someone could give me the dumb down version steps please I am really new to all this.
Thanks

Hi,
I just updated my octoprint to 1.4
It works well in general but now TouchUI will not startup on my small RasPi Display anymore.

Any news about that?

THX
Cappy

After some digging it turns out there's an easy fix actually:

tldr: On OctoPi SSH in, run this:

~/oprint/bin/octoprint config set --bool server.allowFraming true
sudo service octoprint restart
sudo service touchui restart

On other installs adjust path to octoprint accordingly and restart OctoPrint and TouchUI.

Reason is a security measure against clickjacking added in 1.4.0 that conflicts with TouchUI's bootloader for local displays.

edit I've also added an FAQ entry on this:

3 Likes

Hello,

raspbian stretch.
Just update to 1.4.0 and same issue...
I try

~/oprint/bin/octoprint config set --bool server.allowFraming true
sudo service octoprint restart
sudo service touchui restart

but nothing new. Still break..

Thank you to tell how to roll back or solve the issue

Hi, new here, and new to this so excuse my lack if knowledge! I successfully ssh in and followed the commands and the sad face went and touch gui loaded again. I started a print, and all looked good! I went back about an hour later (screen had gone to sleep) bug upon waking it, touch UI has gone and now I have a screen showing a page to download Chrome? Like a windows page would look? Any help gratefully received

Perfect, copied and pasted each line one at a time and all fixed for me. Thank you guys.

~/oprint/bin/octoprint config set --bool server.allowFraming true
sudo service octoprint restart
sudo service touchui restart

Thank you very much! this worked for me.