Hi Courage!
Help me please!

How can I fix this issue:

07:27:35.966 [pool-9-thread-1] WARN  rhythm-logger - Failed to request
permission for application portfolio-v1, in tenant playground.
com.netflix.hystrix.exception.HystrixRuntimeException:
ApplicationPermissionRequestCreator#createApplicationPermission(String,Permission)
failed and no fallback available.
at com.netflix.hystrix.AbstractCommand$22.call(AbstractCommand.java:805)
at com.netflix.hystrix.AbstractCommand$22.call(AbstractCommand.java:790)
......

Caused by: feign.FeignException: status 400 reading
ApplicationPermissionRequestCreator#createApplicationPermission(String,Permission);
content:
{"timestamp":1567668455955,"status":400,"error":"Bad
Request","message":"Header [X-Tenant-Identifier] must be
given!","path":"/identity/v1/applications/rhythm-v1/permissions"}
at feign.FeignException.errorStatus(FeignException.java:62)

Thanks,
Ivan


чт, 5 сент. 2019 г. в 09:42, Ivan Bondarenko <[email protected]>:

> Hi Courage!
>
> I have fixed issues, there were 2 problems:
> 1) Invalid report service name and url  report-ms.name=reporting-v1 (was
> report in config.txt and provision.sh)
> 2) I used broken jar service-boot-0.1.0-BUILD-20190828.082505-4.jar JPA
> mapping is invalid. (switched to prev version
> service-boot-0.1.0-BUILD-20190603.200129-3.jar).
>
> I was trying to create a branch/PR but I don't have permission.
>
> Currently I have only one issue: Rhythm is not authenticated to send a
> beat, working on this.
>
> Thank,
> Ivan
>
> чт, 5 сент. 2019 г. в 06:44, Courage Angeh <[email protected]>:
>
>> Hi Ivan,
>>
>> Can you share a copy of your logs from identity and provisioner?
>>
>> On Wed, Sep 4, 2019 at 2:38 AM Ivan Bondarenko <[email protected]>
>> wrote:
>>
>>> Hello.
>>>
>>> I'm trying to fix provision.sh in fineract-cm-containers.
>>> After my fixes everything works fine except two errors on provisioning:
>>> {
>>>   "timestamp": 1567492233851,
>>>   "status": 404,
>>>   "error": "Not Found",
>>>   "exception": "org.apache.fineract.cn.lang.ServiceException",
>>>   "message": "Application permission 'rhythm-v1.identity__v1__app_self'
>>> doesn't exist.",
>>>   "path":
>>> "/identity/v1/applications/rhythm-v1/permissions/identity__v1__app_self/users/imhotep/enabled"
>>> }
>>> and
>>> {
>>>   "timestamp": 1567492234157,
>>>   "status": 404,
>>>   "error": "Not Found",
>>>   "exception": "org.apache.fineract.cn.lang.ServiceException",
>>>   "message": "Application permission 'rhythm-v1.portfolio__v1__khepri'
>>> doesn't exist.",
>>>   "path":
>>> "/identity/v1/applications/rhythm-v1/permissions/portfolio__v1__khepri/users/imhotep/enabled"
>>> }
>>>
>>> As I understand user for set-application-permission-enabled-for-user is
>>> imhotep? (Tenant was used in original script)
>>> Also after provisioning I can't see menu items "Reports" and "Members".
>>> And corresponding access rights are missing on role creation page.
>>>
>>> Guys, could you help me with this?
>>>
>>> I have attached my changed provision.sh
>>>
>>> Thanks,
>>> Ivan
>>>
>>

Reply via email to