ComfyUI deployment on FIPS linux systems - Fatal Error
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 155
Description
### Custom Node Testing
- [x] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)
### Expected Behavior
I expect to be able to run the process, or the contain on a FIPS enabled system.
### Actual Behavior
The process fails to initialize.
### Steps to Reproduce
Get a FIPS enabled system, try to run ComfyUI via python or a container.
### Debug Logs
```powershell
fips.c(145): OpenSSL internal error, assertion failed: FATAL FIPS SELFTEST FAILURE
```
### Other
The solution here is quite simple. the python package AV has made a change in their 15.X version that is causing these deployments to fail. Simple change the AV line to the specific version of 14.4.0:
https://github.com/comfyanonymous/ComfyUI/blob/master/requirements.txt
Change
```
av>=14.2.0
```
to:
```
av==14.4.0
```
Contributor guide
Research direction
Start with requirements.txt and reproduce the reported startup failure on a FIPS-enabled Linux system, checking the av dependency constraint. Done means ComfyUI initializes under FIPS when launched through Python and in the container, with the dependency installation verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devops, security
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 58/100