workspaces-issues icon indicating copy to clipboard operation
workspaces-issues copied to clipboard

[Bug] - Starting the signal workspace starts the container but it fails to create a QR code for login.

Open gtgcerint opened this issue 1 year ago • 6 comments

Existing Resources

  • [x] Please search the existing issues for related problems
  • [x] Consult the product documentation : Docs
  • [x] Consult the FAQ : FAQ
  • [x] Consult the Troubleshooting Guide : Guide
  • [x] Reviewed existing training videos: Youtube

Describe the bug Starting the signal workspace starts the container but it fails to create a QR code for login.

To Reproduce Start the signal workspace Wait for the QR code to load it will display an error

Expected behavior Expected to genrate a QR code

Screenshots image

Workspaces Version Version 1.14 kasmweb/signal:1.14.0

Workspaces Installation Method Single Server

Client Browser (please complete the following information):

  • OS: Windows
  • Browser chrome, firefox
  • Version Latest

Workspace Server Information (please provide the output of the following commands):

  • uname -a

image

  • cat /etc/os-release

image

  • sudo docker info

image

  • sudo docker ps | grep kasm

image

Additional context If i start the ubuntu Jammy workspace and start the signal app in there i get the same problem. However if i run update and upgrade inside the ubuntu workspace then the signal app works. I wonder if the docker image for kasm/signal needs an update.

gtgcerint avatar Feb 14 '24 08:02 gtgcerint

Try updating your workspace entry for signal to use the "rolling" tag which is updated daily

kasmweb/signal:1.14.0-rolling

You can do the same for the other images if you wish

j-travis avatar Feb 15 '24 07:02 j-travis

I tried that but unfortunately, the update fails because it can't get the image.

Error Getting Image: (kasmweb/signal:1.14.0-rolling) : 401 Client Error for http+docker://localhost/v1.44/auth: Unauthorized ("Get "https://registry-1.docker.io/v2/": unauthorized: incorrect username or password") Traceback (most recent call last): File "docker/api/client.py", line 268, in _raise_for_status File "requests/models.py", line 1021, in raise_for_status requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: http+docker://localhost/v1.44/auth

gtgcerint avatar Mar 12 '24 22:03 gtgcerint

I made a workaround for this. I am spinning up a ubuntu instance and run: sudo apt update && sudo apt install signal-desktop

then i can use signal from within the ubuntu instance. It takes a lot more resources but its a way.

gtgcerint avatar Apr 06 '24 16:04 gtgcerint

FWIW, I seemed to have no issues with the kasmweb/signal:1.14.0-rolling release/tag, and did not face the same authentication errors. But I can confirm having the same issue as reported; the QR code generation times out and you can't link the client on the normal 1.14.0 release. Rolling has had sorted it out somewhere, though.

That said, I assume you used persistent profiles for your Ubuntu workspace? If so, maybe you can configure the same persistent profile path for the Signal workspace/image and see if it'll come up already linked.

Edit: You may run into database versioning errors. At least from a basic test getting the rolling update to work, I can't use the original 1.14.0 image on my persistent profile. But I think in concept my suggestion could be considered while devising a better workaround.

kachunkachunk avatar Aug 02 '24 01:08 kachunkachunk

Similar issue.

I cannot get Signal, as a standalone image, or through Ubuntu to run. I have tried using the -rolling tags but this makes no difference. signal-kasm-error

Deleting a restarting does not fix the problem.

Kasm version 1.15.0 Ubuntu Server 24.04 LTS

My current workaround:

Create an executable file in file mapping for the workspace. Screenshot 2024-08-29 192734

Main body:

#!/usr/bin/env bash
set -ex
apt-get update
apt-get install -y signal-desktop
notify-send "Script Complete" "signal is now installed"

Destination path: /dockerstartup/kasm_post_run_root.sh

sts64 avatar Aug 29 '24 18:08 sts64

Looks like signal pushed a bad update which is causing the DB error. They've released a patch today so the rolling tags should pick it up tomorrow: https://github.com/signalapp/Signal-Desktop/issues/6996

j-travis avatar Aug 29 '24 20:08 j-travis