Giter Club home page Giter Club logo

Comments (15)

kissthink avatar kissthink commented on May 16, 2024

我重新运行了一次,今天居然可以了 !!!

root@7209df7aeb96:/go/src/github.com/cnlh# go get github.com/cnlh/easyProxy
package github.com/cnlh/easyProxy: no Go files in /go/src/github.com/cnlh/easyProxy
root@7209df7aeb96:/go/src/github.com/cnlh# ls
easyProxy
root@7209df7aeb96:/go/src/github.com/cnlh# cd easyProxy/
root@7209df7aeb96:/go/src/github.com/cnlh/easyProxy# ls
LICENSE README.md bridge client cmd conf image server utils web
root@7209df7aeb96:/go/src/github.com/cnlh/easyProxy# go build cmd/proxy_
proxy_client/ proxy_server/
root@7209df7aeb96:/go/src/github.com/cnlh/easyProxy# go build cmd/proxy_client/proxy_client.go
root@7209df7aeb96:/go/src/github.com/cnlh/easyProxy#
root@7209df7aeb96:/go/src/github.com/cnlh/easyProxy#
root@7209df7aeb96:/go/src/github.com/cnlh/easyProxy# go build cmd/proxy_server/proxy_server.go
root@7209df7aeb96:/go/src/github.com/cnlh/easyProxy#
root@7209df7aeb96:/go/src/github.com/cnlh/easyProxy#
root@7209df7aeb96:/go/src/github.com/cnlh/easyProxy#

from nps.

kissthink avatar kissthink commented on May 16, 2024

关闭这个问题把。。。太诡异了。 是不是跟新代码了?

from nps.

kissthink avatar kissthink commented on May 16, 2024

另外文档需要升级一下 目录结构变了。。。

go get github.com/cnlh/easyProxy
go build cmd/proxy_client/proxy_client.go
go build cmd/proxy_server/proxy_server.go

from nps.

kissthink avatar kissthink commented on May 16, 2024

另外release里面,没有下载编译好的文件,还是源码,希望修正下

from nps.

cnlh avatar cnlh commented on May 16, 2024

release有编译好的,各个版本都有,难道你那不显示?

from nps.

kissthink avatar kissthink commented on May 16, 2024

现在有了,昨天还没有。。。

from nps.

kissthink avatar kissthink commented on May 16, 2024

提一个bug,查看编辑功能点击直接白版

客户端管理=》查看编辑

这类链接 client/edit?id=2

from nps.

cnlh avatar cnlh commented on May 16, 2024

是否这个id不存在或者信息有误?我没有发现这个错误,建议你看server端下日志

from nps.

kissthink avatar kissthink commented on May 16, 2024

id是存在的

debug模式下显示这个错误

2019/02/02 16:02:01.496 [D] [server.go:2619] | 182.51**| 200 | 36.178386ms| match| GET /client/list r:/client/list/*
2019/02/02 16:02:08.156 [D] [controller.go:282] template Execute err: template: client/edit.html:49:52: executing "client/edit.html" at <.c.Cnf.Mux>: can't evaluate field Mux in type utils.Config
2019/02/02 16:02:08.156 [E] [server.go:2619] template: client/edit.html:49:52: executing "client/edit.html" at <.c.Cnf.Mux>: can't evaluate field Mux in type utils.Config
2019/02/02 16:02:08.156 [D] [server.go:2619] | 182.51.**| 200 | 2.230583ms| match| GET /client/edit r:/client/edit/

2019/02/02 16:02:08.312 [D] [server.go:2619] | 182.51.| 404 | 191.744µs| nomatch| GET /favicon.ico
2019/02/02 16:02:10.477 [D] [server.go:2619] | 182.51.
| 200 | 41.031053ms| match| GET /client/list r:/client/list/

还有一个新问题,稳定性有问题。

2019/02/01 17:15:11.459 [D] [server.go:2619] | 58.132***| 404 | 234.082µs| nomatch| GET /web.php
2019/02/02 01:20:51 数据压缩格式错误

挂机测试,没有活过1天进程就死了。

from nps.

kissthink avatar kissthink commented on May 16, 2024

查看代码发现 ,是此处报错,是不是获取的配置有问题?

//判断压缩方式
func GetCompressType(compress string) (int, int) {
switch compress {
case "":
return COMPRESS_NONE_DECODE, COMPRESS_NONE_ENCODE
case "snappy":
return COMPRESS_SNAPY_DECODE, COMPRESS_SNAPY_ENCODE
default:
log.Fatalln("数据压缩格式错误")
}
return COMPRESS_NONE_DECODE, COMPRESS_NONE_ENCODE
}

from nps.

kissthink avatar kissthink commented on May 16, 2024

还有一个问题 第一次链接很慢 有时候就没有反应 但是第二次就很快 。 如果再隔一段时间不访问,然后再进行访问的首次又是很慢,第二次会立马变正常。、
这个算是一个bug么?

from nps.

cnlh avatar cnlh commented on May 16, 2024

你的是否是从老版本直接升级过来的?conf下的文件必须得清空才行,不能用以前的 ,因为变动较大,不兼容

from nps.

cnlh avatar cnlh commented on May 16, 2024

向你邮件发送了微信,方便的话可以加我一下

from nps.

cnlh avatar cnlh commented on May 16, 2024

这种情况进程被杀死,可能是产生错误,建议你看下日志,如果日志没有错误,考虑是你的系统进程管理问题,我们是生产环境可以稳定长期运行的

from nps.

cnlh avatar cnlh commented on May 16, 2024

连接很慢暂时考虑到的是你客户端与你的目标创建tcp连接比较慢,建议检查下相关环境,可以继续沟通。

from nps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.