mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 00:15:51 +03:00
[GH-ISSUE #301] 配置文件启动报错 #219
Labels
No labels
TODO
bug
duplicate
enhancement
good first issue
help wanted
helpful
invalid
need-confirm
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/goproxy#219
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@snail007 commented on GitHub (Jul 29, 2019):
是不是下载的最新版?8.0发布后更新过。
@helllkz commented on GitHub (Jul 29, 2019):
是最新的,内容上部分的日志,下部分是配置文件内容
@snail007 commented on GitHub (Jul 29, 2019):
不用配置文件有没有问题?
@snail007 commented on GitHub (Jul 30, 2019):
重新下载试试,已经更新。
@helllkz commented on GitHub (Jul 31, 2019):
不用配置文件没问题
重新下载了安装文件,手动覆盖后,再把其他文件都放etc/proxy下面后就好了,之前是用那个自动安装脚本。