Hi there! I'm trying to register flyte workflow on...
# flyte-deployment
т
Hi there! I'm trying to register flyte workflow on the demo flyte sandbox I've deployed the sandbox on remove server and it available on domain
flyte.sandbox
This is my
.flyte/config.yaml
Copy code
admin:
  # For GRPC endpoints you might want to use dns:///flyte.myexample.com
  endpoint: flyte.sandbox:30080
  authType: Pkce
  insecure: true
console:
  endpoint: <http://flyte.sandbox:30080>
logger:
  show-source: true
  level: 0
storage:
  connection:
    endpoint: flyte.sandbox:30002
But I got an error, with cmd
pyflyte register workflows
Copy code
pyflyte register workflows                      
Running pyflyte register from /Users/dqunbp/projects/test-project/example-flyte with images ImageConfig(default_image=Image(name='default', fqn='<http://cr.flyte.org/flyteorg/flytekit|cr.flyte.org/flyteorg/flytekit>', tag='py3.10-1.6.1'), images=[Image(name='default', fqn='<http://cr.flyte.org/flyteorg/flytekit|cr.flyte.org/flyteorg/flytekit>', tag='py3.10-1.6.1')]) and image destination folder /root on 1 package(s) ('/Users/dqunbp/projects/sbxrmxd/example-flyte/workflows',)
Registering against flyte.sandbox:30080
Detected Root /Users/dqunbp/projects/test-project/example-flyte, using this to create deployable package...
No output path provided, using a temporary directory at /var/folders/nx/scmwbdl92j12dxc0wh1gkljw0000gn/T/tmp_87706wb instead
Failed with Unknown Exception <class 'requests.exceptions.ConnectionError'> Reason: HTTPConnectionPool(host='localhost', port=30002): Max retries exceeded with url: /my-s3-bucket/flytesnacks/development/RSXYOG4EB6Y3JGW235M236VHII%3D%3D%3D%3D%3D%3D/fastf5549d7958839100393a4ea553562a7c.tar.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minio%2F20230705%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230705T053532Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=content-md5%3Bhost&X-Amz-Signature=21dff243075588b3185a3863034a8cfb3d373459eb7081ea348bb71e78b079f4 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x110d04850>: Failed to establish a new connection: [Errno 61] Connection refused'))
HTTPConnectionPool(host='localhost', port=30002): Max retries exceeded with url: /my-s3-bucket/flytesnacks/development/RSXYOG4EB6Y3JGW235M236VHII%3D%3D%3D%3D%3D%3D/fastf5549d7958839100393a4ea553562a7c.tar.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minio%2F20230705%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230705T053532Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=content-md5%3Bhost&X-Amz-Signature=21dff243075588b3185a3863034a8cfb3d373459eb7081ea348bb71e78b079f4 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x110d04850>: Failed to establish a new connection: [Errno 61] Connection refused'))
Is it something wrong with my config.yaml ?
k
did you update signedUrl config?
Copy code
signedUrl:
        stowConfigOverride:
          endpoint: flyte.sandbox:30002
this config is in the flyteadmin config map