Skip to content

Eureka docker 1.3.1 instance registrations failing #46

Closed
@jquatier

Description

@jquatier

I recently started using the netflixoss/eureka:1.3.1 docker image but I'm getting a 400 Bad Request error on all registrations. This issue doesn't seem to exist on 1.1.147, which is very odd.

The error in the response is: {error:'cannot parse request body'}

Here's my POST body:

{
    "instance": {
        "app": "jqservice",
        "hostName": "localhost",
        "ipAddr": "127.0.0.1",
        "port": 8080,
        "vipAddress": "jq.test.something.com",
        "dataCenterInfo": {
            "name": "MyOwn"
        },
        "status": "UP"
    }
}

URL: http://192.168.99.100:8080/eureka/v2/apps/jqservice

Headers:
Content-Type: application/json
Accept: application/json

If I switch back to netflixoss/eureka:1.1.147 the request succeeds with no other changes. Was there any major changes to the request body that I'm missing? I don't see anything in the server log around the bad request when this happens. If there's anything else I should try, let me know. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions