alibaba / alibaba/lightproxy

[bug] 不断重启 且无法开启代理

Open
#292 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.2k
Forks
274
PR merge metrics
No merged PRs in 30d

Description

![image](https://user-images.githubusercontent.com/5418569/223666186-1bcfbf9c-b411-407e-9e17-dff274185c02.png)
报错提示
[error] [pid 75044]stderr: internal/fs/utils.js:307
throw err;
^

Error: EROFS: read-only file system, open '/whistle.log'
at Object.openSync (fs.js:476:3)
at Object.writeFileSync (fs.js:1467:35)
at process. (/Users/xxx/Library/Application Support/LightProxy/files/node/node_modules/whistle/lib/index.js:206:8)
at process.emit (events.js:315:20)
at process._fatalException (internal/process/execution.js:163:25) {
errno: -30,
syscall: 'open',
code: 'EROFS',
path: '/whistle.log'
}

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the startup failure and inspect whistle/lib/index.js around line 206, where the stack trace shows the failing log-file operation. Check the proxy startup path under the reported read-only filesystem condition. Done means the proxy can start without repeated restarts or an EROFS error.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.