[GH-ISSUE #301] 配置文件启动报错 #219

Closed
opened 2026-02-27 23:16:00 +03:00 by kerem · 5 comments
Owner

Originally created by @helllkz on GitHub (Jul 29, 2019).
Original GitHub issue: https://github.com/snail007/goproxy/issues/301

root@ubuntu:/etc/proxy# proxy --version
free_8.0
root@ubuntu:/etc/proxy# /usr/bin/proxy @/etc/proxy/conf.txt
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x9fc535]

goroutine 1 [running]:
main.main()
proxy/main.go:78 +0x145

http
-t tls
-p :58000
-C /etc/proxy/proxy.crt
-K /etc/proxy/proxy.key
--log /tmp/proxy.log
--forever

Originally created by @helllkz on GitHub (Jul 29, 2019). Original GitHub issue: https://github.com/snail007/goproxy/issues/301 root@ubuntu:/etc/proxy# proxy --version free_8.0 root@ubuntu:/etc/proxy# /usr/bin/proxy @/etc/proxy/conf.txt panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x9fc535] goroutine 1 [running]: main.main() proxy/main.go:78 +0x145 http -t tls -p :58000 -C /etc/proxy/proxy.crt -K /etc/proxy/proxy.key --log /tmp/proxy.log --forever
kerem closed this issue 2026-02-27 23:16:00 +03:00
Author
Owner

@snail007 commented on GitHub (Jul 29, 2019):

是不是下载的最新版?8.0发布后更新过。

<!-- gh-comment-id:515880879 --> @snail007 commented on GitHub (Jul 29, 2019): 是不是下载的最新版?8.0发布后更新过。
Author
Owner

@helllkz commented on GitHub (Jul 29, 2019):

是最新的,内容上部分的日志,下部分是配置文件内容

<!-- gh-comment-id:515884893 --> @helllkz commented on GitHub (Jul 29, 2019): 是最新的,内容上部分的日志,下部分是配置文件内容
Author
Owner

@snail007 commented on GitHub (Jul 29, 2019):

不用配置文件有没有问题?

<!-- gh-comment-id:515904910 --> @snail007 commented on GitHub (Jul 29, 2019): 不用配置文件有没有问题?
Author
Owner

@snail007 commented on GitHub (Jul 30, 2019):

重新下载试试,已经更新。

<!-- gh-comment-id:516366032 --> @snail007 commented on GitHub (Jul 30, 2019): 重新下载试试,已经更新。
Author
Owner

@helllkz commented on GitHub (Jul 31, 2019):

不用配置文件有没有问题?

不用配置文件没问题
重新下载了安装文件,手动覆盖后,再把其他文件都放etc/proxy下面后就好了,之前是用那个自动安装脚本。

<!-- gh-comment-id:516664471 --> @helllkz commented on GitHub (Jul 31, 2019): > 不用配置文件有没有问题? 不用配置文件没问题 重新下载了安装文件,手动覆盖后,再把其他文件都放etc/proxy下面后就好了,之前是用那个自动安装脚本。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/goproxy#219
No description provided.