Skip to content

builder.sign_file is hanging and never returning a manifest #42

@di-rse

Description

@di-rse

I've created an api service for signing files using FastAPI. It's all running in a Docker container and works fine on my local machine. However, when I deploy it to a server, it is failing to sign files at the following line:

c2pa_data = builder.sign_file(signer, file_path, signed_file_path)

I'm not catching any errors, it just completely stalls, which means I have to restart the API service.

I thought it might be related to the server's ability to use the timestamp url, as it's on a University network and there are various restrictions in place. However, I have no problem reaching port 80 of timestamp.digicert.com from the server.

Any thoughts on what else might be causing this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions