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

Creating a second bucket using REST API gives error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 1.8.1
    • Fix Version/s: None
    • Component/s: RESTful-APIs
    • Security Level: Public
    • Labels:
      None
    • Environment:
      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"}

        }

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

        Activity

        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        would you please specify the exact curl command you have used to create the bucket ?

        can you also grab diagnostics from this node and attach the zipped version to the ticket ?

        most likely you are trying to create a bucket on a port which already has moxi server running

        Show
        farshid Farshid Ghods (Inactive) added a comment - would you please specify the exact curl command you have used to create the bucket ? can you also grab diagnostics from this node and attach the zipped version to the ticket ? most likely you are trying to create a bucket on a port which already has moxi server running
        Hide
        anil Anil Kumar added a comment -

        Haven't heard back so closing it.

        Show
        anil Anil Kumar added a comment - Haven't heard back so closing it.

          People

          • Assignee:
            steve Steve Yen
            Reporter:
            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