Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Json prase probelm #38

Description

@dweber019

When I try to login with a user I get the following error appears:

Unable to communicate with server - Could not read JSON: No content to map due to end-of-input at [Source: org.apache.http.conn.EofSensorInputStream@161e6025; line: 1, column: 2482]; nested exception is com.fasterxml.jackson.databind.JsonMappingException: No content to map due to end-of-input
 at [Source: org.apache.http.conn.EofSensorInputStream@161e6025; line: 1, column: 2482]

This is the response I get from my token endpoint, which is for the CF-CLI fully valid and works.

{"access_token":"eyJhbGciOiJSUzI1NiJ9...","token_type":"bearer","refresh_token":"eyJhbGciOiJSUiJ9...","expires_in":599,"scope":["password.write","cloud_controller.write","openid","cloud_controller.read"],"jti":"0eb132c2-f400-4b27-bfd5-8a0315284d2e","sub":"123321-1233-4353-8490-e1df73ef239c","client_id":"cf","cid":"cf","azp":"cf","grant_type":"password","user_id":"1234567-1234-2343-8490-e1df73ef239c","user_name":"username1","email":"my@mail.com","iat":1427816165,"exp":1427816765,"iss":"https:\/\/uaa.xyx.ch\/oauth\/token","aud":["cf","password","cloud_controller","openid"]}

Thanks for you help
Dave

Here some more information:
Plugin version: 1.8.1 (A collegue of mine also tried this with version 1.8)
This happens when I try to login into a CF within the wizard of creating a new CF server.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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