encointer/encointer-wallet-flutter

logo fails to load from ipfs upon onboarding new install

Closed this issue · 0 comments

reprodce in AVD:

  1. uninstall app
  2. install and start
  3. create account
  4. select Nyota community
  5. wait.
  6. balance will load, logo not

app log says this every few seconds:

[log] [ERROR]  ==> : [getCommunityIcon] get icon with cid: Qmbbrr4dci7SyrAzjB7W8513wgZoPx57aezqmszfqZAAL8 
[log] [ERROR]  ==> : [getCommunityIcon]: got icon: null 

cid is correct and data is available at the time of testing
on infura:
https://encointer.infura-ipfs.io/ipfs/Qmbbrr4dci7SyrAzjB7W8513wgZoPx57aezqmszfqZAAL8
but not on our own gateway:
http://ipfs.encointer.org:8080/api/v0/object/get?arg=Qmbbrr4dci7SyrAzjB7W8513wgZoPx57aezqmszfqZAAL8/community_icon.svg

ok. had to restart ipfs service on our encointer GW. now it works

related: #805