Skip to content

tesseract serve --network host does not work as expected #410

@andrinr

Description

@andrinr

Description

Currently, higher order tessseracts don't work when used with built images because of networking issues. The only way to make it work is by having one tesseract on another machine or by using from_tesseract_api on the HOT instance.

Steps to reproduce

A reproducer can be found here:

https://github.com/pasteurlabs/tesseract-core/blob/main/demo/_showcase/ansys-shapeopt/optimization_os.ipynb.

if we replace

design_tess = Tesseract.from_tesseract_api("sdf_fd/tesseract_api.py")

with

sdf_fd_tess = Tesseract.from_image("sdf_fd")
sdf_fd_tess .serve()

we get a connection error.
I have tried setting

sdf_fd_tess = Tesseract.from_image("sdf_fd", network="host")
sdf_fd_tess .serve()

but without sucess.

Logs

OS

Linux

Tesseract version

1.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions