Coder Social home page Coder Social logo

Comments (4)

tjb avatar tjb commented on June 10, 2024

I dived into this a bit! Please assign to me @saraolson :)

I am seeing the image container rendering at 70x70 using the inspector but the image is not showing as mentioned in the above ticket. So this lead me to believe this may be a fetching issue.

Taking a deeper dive I looked at the URL being generated and see that we are storing images in S3. When I try to access the url for the image in the browser I get the following:

<Error>
  <Code>AccessDenied</Code>
  <Message>Access Denied</Message>
  <RequestId>MZNMXAW99XH84WEE</RequestId>
  <HostId>wexKvCj4uD2Rrq+LO3YzmH2zJKvgO6BOo3MIieGtPGDL1xwTFcAm2ezGZka7cZ+f0qbDalLGtNI=. 
  </HostId>
</Error>

The URL in question: https://habitica-assets.s3.amazonaws.com/mobileApp/images/stable_Mount-Icon-Orca-Base.png

I have also tested a public image and built it via URL(string: "...") and the image shows. Could this be an access issue to the S3 bucket?

@saraolson is there someone from the web/infra team that could weigh in? cc: @phillipthelen

from habitica-ios.

phillipthelen avatar phillipthelen commented on June 10, 2024

No this would t be a permission error. S3 responds with access denied when the image at the path does not exist as well. So it might just be the app generating the wrong url. Looking at it I can't see anything obviously wrong. Is the url it uses to show the mount icon in the collection view cell a different one?

from habitica-ios.

tjb avatar tjb commented on June 10, 2024

I didn't think to check there!

I can check later tonight as I am about to head out for the day -- good call @phillipthelen!

from habitica-ios.

saraolson avatar saraolson commented on June 10, 2024

@tjb assigned, thanks for taking a look into this!

from habitica-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.