Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-7507

Creating a second bucket using REST API gives error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Major
    • None
    • 1.8.1
    • RESTful-APIs
    • Security Level: Public
    • None
    • Redhat linux, windows

    Description

      Creating a second bucket using curl gives error "port is already in use". (First bucket was created successfully).

      URL=http://myserver:8091/pools/default/buckets

      • About to connect() to myserver port 8091 (#0)
      • Trying 192.168.100.6... % Total % Received % Xferd Average Speed Time Time Time Current
        Dload Upload Total Spent Left Speed
        0 0 0 0 0 0 0 0 -::- -::- -::- 0connected
      • Connected to myserver (192.168.100.6) port 8091 (#0)
      • Server auth using Basic with user 'userId'
        > POST /pools/default/buckets HTTP/1.1
        > Authorization: Basic QWRtaW5pc3RyYXRvcjpub3NxbDA=
        > User-Agent: curl/7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4 OpenSSL/0.9.8r zlib/1.2.5
        > Host: myserver:8091
        > Accept: /
        > Content-Length: 74
        > Content-Type: application/x-www-form-urlencoded
        >
        } [data not shown]
        < HTTP/1.1 400 Bad Request
        < Server: Couchbase Server 1.8.1-937-rel-enterprise
        < Pragma: no-cache
        < Date: Tue, 08 Jan 2013 17:29:23 GMT
        < Content-Type: application/json
        < Content-Length: 339
        < Cache-Control: no-cache
        <
        { [data not shown]
        100 413 100 339 100 74 2443 533 -::- -::- -::- 4237* Connection #0 to host myserver left intact
      • Closing connection #0
        {"errors": {"proxyPort":"port is already in use"}

        ,"summaries":

        Unknown macro: {"ramSummary"}

        }

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            steve Steve Yen
            rajeshh Rajesh Hariharan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty