Samuel Bentley
03/28/2023, 7:24 PME0328 20:15:47.445709000 140704578418304 <http://ssl_transport_security.cc:1495]|ssl_transport_security.cc:1495]> Handshake failed with fatal error SSL_ERROR_SSL: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER.
I'm using Python 3.9, grpcio & grpc-status 1.48.2, pyOpenSSL 23.0.0 and against a local flyte-sandbox (latest version)
Can anyone help? I'm trying to get this working as a proof-of-concept for wider use in my compnay and need to demonstrate that this worksNiels Bantilan
03/28/2023, 7:26 PMpip list
of your environment?Samuel Bentley
03/28/2023, 7:30 PMDavid Espejo (he/him)
03/28/2023, 7:34 PM$HOME/.flyte/config.yaml
file?Samuel Bentley
03/28/2023, 7:36 PMcat: /Users/ksqr180/.flyte/config.yaml: No such file or directory
The code I'm using uses Config.auto()
remote = FlyteRemote(config=Config.auto())
flyte_wf = remote.fetch_workflow(name="<http://workflows.example.wf|workflows.example.wf>")
execution = remote.execute(flyte_wf, inputs={"name": "Kermit"})
admin:
# For GRPC endpoints you might want to use dns:///flyte.myexample.com
endpoint: localhost:30080
authType: Pkce
insecure: true
console:
endpoint: <http://localhost:30080>
logger:
show-source: true
David Espejo (he/him)
03/28/2023, 7:46 PMecho $FLYTECTL_CONFIG
?Samuel Bentley
03/28/2023, 7:47 PMDavid Espejo (he/him)
03/28/2023, 7:48 PMexport FLYTECTL_CONFIG=~/.flyte/config-sandbox.yaml
Samuel Bentley
03/28/2023, 7:59 PMremote = FlyteRemote(config=Config.auto())
flyte_wf = remote.fetch_workflow(project="flytesnacks", domain="development", name="<http://workflows.example.wf|workflows.example.wf>")
execution = remote.execute(flyte_wf, inputs={"name": "Kermit"})
This is the output
flytekit.exceptions.user.FlyteValueException: Value error! Received: name. The FlyteLaunchPlan doesn't have this input key.
David Espejo (he/him)
03/28/2023, 8:09 PMSamuel Bentley
03/28/2023, 8:11 PMpyflyte run --remote workflows/example.py wf --name "Gilgamesh"
export FLYTECTL_CONFIG=~/.flyte/config-sandbox.yaml
⬆️This worked. Thank you SO much! What an amazing community!!!! 🙏🙌🎉David Espejo (he/him)
03/28/2023, 8:27 PMSamuel Bentley
03/28/2023, 8:37 PM