akhil-8607 commented on issue #10: URL: https://github.com/apache/airavata-custos-portal/issues/10#issuecomment-651365668
Hi @isururanawaka , I have cloned that repo ( https://github.com/isururanawaka/custos_pocs) in the same virtual environment where python sdk is installed and have run the TestingClient.py file and got the below error . Error occurred while fetching JWKS request Traceback (most recent call last): File "/Users/akhil/Documents/Custos/airavata-custos-portal/venv/lib/python3.6/site-packages/clients/resource_secret_management_client.py", line 82, in get_JWKS msg = self.resource_sec_client.getJWKS(request=request, metadata=metadata) File "/Users/akhil/Documents/Custos/airavata-custos-portal/venv/lib/python3.6/site-packages/grpc/_channel.py", line 826, in __call__ return _end_unary_response_blocking(state, call, False, None) File "/Users/akhil/Documents/Custos/airavata-custos-portal/venv/lib/python3.6/site-packages/grpc/_channel.py", line 729, in _end_unary_response_blocking raise _InactiveRpcError(state) grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with: status = StatusCode.INTERNAL details = "Error occurred while pulling JWKS INTERNAL: Error occurred while pulling certsJSONObject["error"] not found." debug_error_string = "{"created":"@1593464150.347659000","description":"Error received from peer ipv4:149.165.168.38:31499","file":"src/core/lib/surface/call.cc","file_line":1055,"grpc_message":"Error occurred while pulling JWKS INTERNAL: Error occurred while pulling certsJSONObject["error"] not found.","grpc_status":13}" > Traceback (most recent call last): File "TestingClient.py", line 97, in <module> get_decoding_secret() File "TestingClient.py", line 92, in get_decoding_secret jwks = secret_client.get_JWKS(token=token) File "/Users/akhil/Documents/Custos/airavata-custos-portal/venv/lib/python3.6/site-packages/clients/resource_secret_management_client.py", line 82, in get_JWKS msg = self.resource_sec_client.getJWKS(request=request, metadata=metadata) File "/Users/akhil/Documents/Custos/airavata-custos-portal/venv/lib/python3.6/site-packages/grpc/_channel.py", line 826, in __call__ return _end_unary_response_blocking(state, call, False, None) File "/Users/akhil/Documents/Custos/airavata-custos-portal/venv/lib/python3.6/site-packages/grpc/_channel.py", line 729, in _end_unary_response_blocking raise _InactiveRpcError(state) grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with: status = StatusCode.INTERNAL details = "Error occurred while pulling JWKS INTERNAL: Error occurred while pulling certsJSONObject["error"] not found." debug_error_string = "{"created":"@1593464150.347659000","description":"Error received from peer ipv4:149.165.168.38:31499","file":"src/core/lib/surface/call.cc","file_line":1055,"grpc_message":"Error occurred while pulling JWKS INTERNAL: Error occurred while pulling certsJSONObject["error"] not found.","grpc_status":13}" > Let me know if am doing it in the right way ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
