status-im / status-mobile

a free (libre) open source, mobile OS for Ethereum
https://status.app
Mozilla Public License 2.0
3.88k stars 984 forks source link

Stickers sent from desktop are displayed as a blank message on mobile (Only on release Jenkins builds) #20958

Closed qoqobolo closed 1 day ago

qoqobolo commented 1 month ago

Bug Report

Reproduction

  1. Make mobile and desktop users mutual contacts
  2. Desktop: send a sticker to the chat
  3. Mobile: check the chat

Expected behavior

The sticker is visible

Actual behavior

The sticker is not visible

Screenshot 2024-08-05 at 14 58 26

Additional Information

J-Son89 commented 1 month ago

@ilmotta, @cammellos wdyt? I personally would not worry about this for 2.30 👍

Parveshdhull commented 1 month ago

hi @qoqobolo, Thank you very much for reporting this issue.

I tried latest develop with 2.30.0-rc.5, and stickers are working fine for me. Please can you check using this version.

image

qoqobolo commented 1 month ago

Hey @Parveshdhull, thanks for checking!

I tried latest develop

This is the reason why it's not reproducible for you. I'm using the mobile release version with 2.30.0-rc.5 desktop, and it's still there.

But on develop there is no issue indeed.


Maybe it's a matter of build type settings, i.e. release vs nightly/PR. I'm not sure how stickers actually work in this context. Maybe @flexsurfer can help us with that?

Parveshdhull commented 1 month ago

Thank you @qoqobolo for checking. I will try to reproduce the issue in release builds and see what might be causing the issue.

Parveshdhull commented 4 weeks ago

URL: https://Localhost:34577/ipfs?hash=e30101701220f4aab0a4ff5a5fb2c565ab114d76dd42693302999d6392b467d6753ea9b55c12

Error: error unknown image format

Parveshdhull commented 4 weeks ago
def ipfsGatewayUrl() {
  if (utils.isReleaseBuild() || utils.isNightlyBuild()) {
    return 'https://status-im.infura-ipfs.io/ipfs/'
  } else {
    return 'https://ipfs.status.im/'
  }
}

https://github.com/status-im/status-jenkins-lib/blob/267c022e3af4cde9d416ce49c7399ce89ee7157e/vars/creds.groovy#L38

Parveshdhull commented 4 weeks ago

https://status-im.infura-ipfs.io/ipfs/

Dedicated Gateway Not Found

Parveshdhull commented 4 weeks ago

https://status-im.infura-ipfs.io/ipfs/

Dedicated Gateway Not Found

It seems like ipfs gateway we use for release/nightly builds is down. @jakubgs please can you take a look?

jakubgs commented 3 weeks ago

I have no idea who created that, we have no such thing configured in our Infura account.

siddarthkay commented 3 weeks ago

I see :

and https://ipfs.status.im/ is accessible publicly whereas https://status-im.infura-ipfs.io/ipfs/ is not. A simple solution would be to just use https://ipfs.status.im/ for all builds : PR, release and nightly. I'll make the change in status-jenkins-lib

cc @jakubgs

jakubgs commented 3 weeks ago

The https://ipfs.status.im/ endpoint is deployed via this repo: https://github.com/status-im/infra-ipfs

That setup is probably running quite outdated IPFS software and doesn't really have much monitoring, so if we intend to use it more extensively it might make sense to improve that.

jakubgs commented 3 weeks ago

@siddarthkay opened an issue for alerting config for IPFS cluster: