GithubHelp home page GithubHelp logo

Comments (10)

bay2 avatar bay2 commented on July 23, 2024 1

I created a bucket in the ap-southeast-1 (Singapore) is uploaded successfully.
I created a bucket in the ap-northeast-1 (Tokyo) is uploaded failure.
I not idea...

from rome.

tmspzz avatar tmspzz commented on July 23, 2024

Hi, thanks for opening an issue. Does this problem only happen with Alamofire? It seems to be an issue with your S3 bucket. Do you have correct permissions & right credentials? Can you post your Romefile?

from rome.

bay2 avatar bay2 commented on July 23, 2024

All of the framework has a problem.I try to use the aws s3 cp Alamofire.framework.dSYM-4.4.0.zip s3://com.sim.carthage/ is a success.

Romefile

[Cache]
  local = ~/Library/Caches/Rome/
  S3-Bucket = com.sim.carthage

[RepositoryMap]
  Alamofire = Alamofire

from rome.

tmspzz avatar tmspzz commented on July 23, 2024

Thanks I will look into it as soon as I am home.

Other debug into that might be useful: Do you have .aws/config and .aws/credentials or are you using environment variables? Are you using the [default] profile? On what region is the bucket?

Can you try a different bucket name? It might be just something stupid like the . in the name.

Just a tip: you don't need the entry in the repository map if the framework name follows the organization/framework_name pattern on Github. Alamofire.framwork does follow this pattern since the repo is called Alamofire/Alamofie

from rome.

tmspzz avatar tmspzz commented on July 23, 2024

@bay2 It's definitely not the . in your bucket name. Can you tell me if you are using credential and config files or environment variables?

Also can you put your Alamofire at Alamofire/iOS/Alamofire.framework-4.4.0.zip on S3 in your bucket and try to rome download ?

I believe this can still be a problem with your S3 permissions. You basically want IAM policies like this:

{
    "Version": "2012-10-17",
    "Id": "Policy1496088162628",
    "Statement": [
        {
            "Sid": "Stmt1496088158429",
            "Effect": "Allow",
            "Principal": "*",
            "Action": "s3:*",
            "Resource": "arn:aws:s3:::com.sim.carthage"
        }
    ]
}

from rome.

tmspzz avatar tmspzz commented on July 23, 2024

@bay2 I have tried with both environment variables and file credentials with a bucket named com.sim2.carthage2 I created on ap-southeast-1 (Singapore)

The bucket policy is the one I pasted above. The ACL for my bucket is Read/Write for Any AWS Authenticated User and I see no problem. If I restrict permissions then the error from Rome is Access denied.

If you have any more that you can share I'll be happy to try to replicate again on my side.

from rome.

tmspzz avatar tmspzz commented on July 23, 2024

@bay2 do you mind it I try with those?

from rome.

bay2 avatar bay2 commented on July 23, 2024

Oh, my S3 configuration problem.Thank you for your help.

from rome.

bay2 avatar bay2 commented on July 23, 2024

@blender Now I uploaded successfully,Thanks

from rome.

tmspzz avatar tmspzz commented on July 23, 2024

@bay2 Great! Can you share your config? Is it any different from what I suggested?

from rome.

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.