Open akhil-8607 opened 4 years ago
Please post your setting.ini content
I have not changed the default settings.ini content . This is the current content in settings.ini
[CustosServer] SERVER_HOST = custos.scigap.org SERVER_SSL_PORT = 32036 CERTIFICATE_FILE_PATH = ../cert.pem
I have not changed the default settings.ini content . This is the current content in settings.ini
[CustosServer] SERVER_HOST = custos.scigap.org SERVER_SSL_PORT = 32036 CERTIFICATE_FILE_PATH = ../cert.pem
Please use SERVER_SSL_PORT = 31499
I tried it and getting the similar error
I tried it and getting the similar error
refer this https://github.com/isururanawaka/custos_pocs. this a sample usage of python SDK
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
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
I am able to implement all the mentioned steps in the read.me and was able to access the custos portal UI But unable to implement any of the operations from the user interface like user registration , login and given the below mentioned error in UI
__InactiveRpcError at /auth/create-account <_InactiveRpcError of RPC that terminated with: status = StatusCode.UNAVAILABLE details = "failed to connect to all addresses" debug_error_string = "{"created":"@1592695499.255713000","description":"Failed to pick subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":3962,"referenced_errors":[{"created":"@1592695419.144353000","description":"failed to connect to all addresses","file":"src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc","file_line":394,"grpc_status":14}]}"