Can't create socket file correctly, If defined an socket, but connect refused
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 433
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
-
create an new socket, the result is context deadline exceeded
err info: Error creating Thrift client: waiting for unix socket to be available: goosquery.em: context deadline exceeded
exit status 1 -
connect an exist socket file , the result is connection refused
err info: Error creating Thrift client: opening socket transport: dial unix /var/osquery/osquery.em: connect: connection refused
I tried set timout to 200s, It's not available
the socket file can't be created successfully
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing both reported cases: creating a new Unix socket and connecting to an existing socket file. Trace the socket transport setup around the reported context deadline exceeded and connection refused errors. Done means the socket is created successfully and an existing socket can accept a connection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100