Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

Sticker pack not being loaded into element-web #440

Closed
altsalt opened this issue Nov 3, 2021 · 8 comments
Closed

Sticker pack not being loaded into element-web #440

altsalt opened this issue Nov 3, 2021 · 8 comments

Comments

@altsalt
Copy link

altsalt commented Nov 3, 2021

Hi, I'm having issues loading a sticker pack created with sticker bot. When copying the URL into the box and clicking add stickerpack, it does appear with a green slider indicating that it is enabled. However, when I close the Dimension window, the add sticker box remains open with the message "You don't currently have any stickerpacks enabled". Closing that box and re-opening it does not have any effect. Nor does disabling/re-enabling the slider. I've tried this with element-web on both Firefox and Chromium, and on two separate homeservers setup using matrix-docker-ansible-deploy, with the same results.

console log (updated to include complete process after clear cache and reload)
journal log

I realize there are a number of open issues that may be pertinent to this. This one appears more active and often pointed towards:
element-hq/element-desktop#905

@WildDogOne
Copy link

I can second this issue @altsalt
stickers are not being shown up in the sticker select thing or what you want to call it
but are enabled and selected in Dimension itself

so far I've not been able to produce any logs which seem pertinent to the problem sadly
I am still investigating though and will update here if I find anything

@mibmo
Copy link
Contributor

mibmo commented Nov 4, 2021

I'm also having this issue. On mobile though, I can choose to use a different widget for stickerpicking and upon doing so I can access some stickers on mobile (not the ones from Dimension: am I possibly connecting to a different IM?) but I get some 5XX error (likely forbidden; IDR) when trying to use the widget on PC (both element-web and element-desktop).

@phorcys420
Copy link

I can second this issue @altsalt stickers are not being shown up in the sticker select thing or what you want to call it but are enabled and selected in Dimension itself

so far I've not been able to produce any logs which seem pertinent to the problem sadly I am still investigating though and will update here if I find anything

same here, running turt2live/matrix-dimension:latest, on a federated Synapse v1.46.0 server (matrix.phorcys.net).

image
image

I think the easiest (functional-est) solution is just to switch to maunium's sticker picker for the time being.

@Vibeshibe
Copy link

Vibeshibe commented Nov 23, 2021

Can report the same issue here.

Edit: Attached screenshot of error that appears when trying to enable stickers.

image

@Vibeshibe
Copy link

Ok so after playing a bit around, I managed to get it working. This just consisted of me spamming reload on element web and restarting the client over and over until it asked me "Do you trust this integration manager, dimension.example.com" I clicked yes, then removed the widget as it turned to a 504, then clicked add stickers again, enabled a sticker pack and bam it worked for me. I did check the logs of dimension and see some particular errors here I cannot grasp the context of. I will attach them for you all to check out, around the part where it checks the bridges is when it started working for me. The requests after that are from users on my home-server who still cannot use the stickerpicker.
_dimension_logs.txt
r.

@vquicksilver
Copy link

vquicksilver commented Dec 22, 2021

I am seeing the same issue here using Element web 1.9.8, dimension v1.0.0 and synapse 1.49.0 on an un-federated server.

I am able to import stickerpacks from Telegram, and I can see the 4 default packs as well (So I can toggle enable/disable them from the Dimension UI) but whenever I toggle on one of them in any room where I have proper permissions I get the following messages on the browser console:

Action:set_widget failed with message: Missing room_id in request
Failed to check for Dimension sticker picker

The failure seems to stem from the async method addWidget() in the try/catch block (stickerpicker.component.ts), I have no idea of javascript/typescript but it seems like the UI is not sending the room_id somehow, and in the end the stickerpacks are not enabled.

Note that I can for example create a youtube widget in the room successfully, so it seems to be related just to the stickerpacks. I am willing to provide whatever logs you need to further debug the issue, just let me know what you need.

@acheng-floyd
Copy link

acheng-floyd commented Dec 28, 2021

look at this: matrix-org/matrix-react-sdk#7448
it's the problem of matrix-react-sdk, not the matrix-dimension. I compiled element-web using this branch "bink:fix/set-widget-action-room-id-check", then stickers picker is working now!

https://github.com/acheng-floyd/element-web/releases/download/Fix_room_id_check/element-v1.9.8-8-g211f480.tar.gz

image-20211228184955552

@WildDogOne
Copy link

hey everyone, as of patch 1.9.9 Element works with stickers without the manual fix
thanks @acheng-floyd :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants