cisagov / cisagov/XFD

Scans Fail in Local Environment

Open
#15 0 comments 0 reactions 1 assignee Claimed by @Matthew-Grayson View on GitHub
bug
Dominant language
Python
Stars
30
Forks
22
Avg merge
1d 21h
Merged PRs (30d)
22

Description

# 🐛 Summary #

Multiple scans fail with the same error. It is possibly a linking error with the db-1 container.

## To reproduce ##

1. Run Crossfeed locally
2. Navigate to localhost in browser
3. Create an organization
4. Create and run a scan
5. Confirm that scan fails with an error similar to below

```
2024-03-06 17:25:37 Error: getaddrinfo ENOTFOUND db
2024-03-06 17:25:37 at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {
2024-03-06 17:25:37 errno: -3008,
2024-03-06 17:25:37 code: 'ENOTFOUND',
2024-03-06 17:25:37 syscall: 'getaddrinfo',
2024-03-06 17:25:37 hostname: 'db'
2024-03-06 17:25:37 }
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.