Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [keti-dev] Discussion Chanel to discuss setup issues

The HttpClient exception in the response body does not have enough detail.  Do you see more details in the Keti logs?

On Mon, May 6, 2019 at 5:04 AM Arun Gupta <guptaarun11@xxxxxxxxx> wrote:
Thanks for your reply Sanjeev. Below is the raw request and response for reference. 

Also attached is the uaa.yml file which I have used. May be I made some mistake in configuration.

#########################    Request    ##################################

curl -X PUT \
  -H 'Accept: */*' \
  -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsImprdSI6Imh0dHBzOi8vbG9jYWxob3N0OjgwODAvdWFhL3Rva2VuX2tleXMiLCJraWQiOiJsZWdhY3ktdG9rZW4ta2V5IiwidHlwIjoiSldUIn0.eyJqdGkiOiI1N2Y1M2FlMzQ0MDg0NWE2YjRjZGU0NzAyYzNlOTE3NCIsInN1YiI6ImFjc19hZG1pbiIsImF1dGhvcml0aWVzIjpbImFjcy5wb2xpY2llcy5yZWFkIiwiYWNzLnBvbGljaWVzLndyaXRlIiwiYWNzLmF0dHJpYnV0ZXMucmVhZCIsInByZWRpeC1hY3Muem9uZXMuZGVtby51c2VyIiwiYWNzLmF0dHJpYnV0ZXMud3JpdGUiLCJhY3Muem9uZXMuYWRtaW4iLCJwcmVkaXgtYWNzLnpvbmVzLmRlbW8uYWRtaW4iXSwic2NvcGUiOlsiYWNzLnBvbGljaWVzLnJlYWQiLCJhY3MucG9saWNpZXMud3JpdGUiLCJhY3MuYXR0cmlidXRlcy5yZWFkIiwicHJlZGl4LWFjcy56b25lcy5kZW1vLnVzZXIiLCJhY3MuYXR0cmlidXRlcy53cml0ZSIsImFjcy56b25lcy5hZG1pbiIsInByZWRpeC1hY3Muem9uZXMuZGVtby5hZG1pbiJdLCJjbGllbnRfaWQiOiJhY3NfYWRtaW4iLCJjaWQiOiJhY3NfYWRtaW4iLCJhenAiOiJhY3NfYWRtaW4iLCJncmFudF90eXBlIjoiY2xpZW50X2NyZWRlbnRpYWxzIiwicmV2X3NpZyI6ImViNjI2OTc5IiwiaWF0IjoxNTU3MTQzOTQ1LCJleHAiOjE1NTcxODcxNDUsImlzcyI6Imh0dHA6Ly9sb2NhbGhvc3Q6ODA4MC91YWEvb2F1dGgvdG9rZW4iLCJ6aWQiOiJ1YWEiLCJhdWQiOlsiYWNzX2FkbWluIiwiYWNzLmF0dHJpYnV0ZXMiLCJhY3Muem9uZXMiLCJwcmVkaXgtYWNzLnpvbmVzLmRlbW8iLCJhY3MucG9saWNpZXMiXX0.-btR_hOGHUqL2lDiR9ROIAEkZ9IArY53DUXAXA4yHWg' \
  -H 'Cache-Control: no-cache' \
  -H 'Connection: keep-alive' \
  -H 'Content-Type: application/json' \
  -H 'Host: localhost:8181' \
  -H 'Postman-Token: ac221c75-c3f6-40d8-82a3-a0274b68e616,8535d3c2-5120-41cf-b9dc-debbf40feadc' \
  -H 'User-Agent: PostmanRuntime/7.11.0' \
  -H 'accept-encoding: gzip, deflate' \
  -H 'cache-control: no-cache' \
  -H 'content-length: 75' \
  -d '{
  "name" : "demo",
  "description" : "demo",
  "subdomain" : "demo"
}'



############################# Response ###################################################

{"timestamp":1557143961744,"status":500,"error":"Internal Server Error","exception":"org.springframework.web.client.HttpClientErrorException","message":"org.springframework.web.client.HttpClientErrorException: 401 ","path":"/v1/zone/demo"}

Regards,
Arun

On Sun, May 5, 2019 at 11:54 PM Sanjeev Chopra <sanjeevxchopra@xxxxxxxxx> wrote:
Hello Arun,
This is the right forum to discuss this.  Are you following the steps at https://github.com/eclipse/keti/blob/master/docs/keti-demo.org ?

Please post the raw response from your PUT request, assuming your client creation and token get call were successful?
_______________________________________________
keti-dev mailing list
keti-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/keti-dev
_______________________________________________
keti-dev mailing list
keti-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/keti-dev

Back to the top