Giter Club home page Giter Club logo

Comments (2)

daniel-hunt-tessella avatar daniel-hunt-tessella commented on July 20, 2024

Note #71 will address incorrect status and status codes.

There is an additional issue - attempting to create a bucket with a name such as ditto-test-.test returns a 200 response which suggests that everything is fine and the bucket is created.

The bucket is not created however and the logs look like this:

2018-11-29 16:37:34,473 ditto-web-api DEBUG    Called create-bucket handler
DEBUG:ditto-web-api:Called create-bucket handler
2018-11-29 16:37:34,476 ditto-web-api DEBUG    Bucket "ditto-twentyninth.-135678asdf" does not exist
DEBUG:ditto-web-api:Bucket "ditto-twentyninth.-135678asdf" does not exist
2018-11-29 16:37:34,483 ditto-web-api ERROR    S3ResponseError: 400 Bad Request
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>InvalidBucketName</Code><Message>The specified bucket is not valid.</Message><Resource>/ditto-twentyninth.-135678asdf/</Resource><RequestId>156BA5ABC59D794F</RequestId><HostId>3L137</HostId></Error>
ERROR:ditto-web-api:S3ResponseError: 400 Bad Request
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>InvalidBucketName</Code><Message>The specified bucket is not valid.</Message><Resource>/ditto-twentyninth.-135678asdf/</Resource><RequestId>156BA5ABC59D794F</RequestId><HostId>3L137</HostId></Error>
2018-11-29 16:37:34,483 ditto-web-api DEBUG    Could not create bucket "ditto-twentyninth.-135678asdf"
DEBUG:ditto-web-api:Could not create bucket "ditto-twentyninth.-135678asdf"

The reason for this seems to be that adjacent full stops and hyphens are not allowed by S3. The error is not affecting the API response

from ditto.

daniel-hunt-tessella avatar daniel-hunt-tessella commented on July 20, 2024

The status code issues and -. bucket issue have been resolved since the last comment. The bucket creation process has changed with #67 and #82 so the functionality will be tested for those stories

from ditto.

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.