Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR ProxyAddr Empty #23

Closed
yinqinghe opened this issue Jan 18, 2024 · 28 comments
Closed

ERROR ProxyAddr Empty #23

yinqinghe opened this issue Jan 18, 2024 · 28 comments
Assignees
Labels
bug Something isn't working

Comments

@yinqinghe
Copy link

image
image

@DVKunion
Copy link
Owner

能在浏览器 localhost:7777 看一下配置信息吗?

@yinqinghe
Copy link
Author

image

@DVKunion
Copy link
Owner

带vpc的那个域名无法使用的,是属于阿里云内部网络访问的域名,不要填写,使用*.fcapp.run即可;然后需要加上协议头:ws://ws-node-seamoon-xxxxxxx.fcapp.run。

@yinqinghe
Copy link
Author

image

这又是什么问题?

@DVKunion
Copy link
Owner

服务端连接失败了,使用的是哪种函数部署的方式呢?

@yinqinghe
Copy link
Author

阿里云的

@DVKunion
Copy link
Owner

试了一下,阿里云的go运行时好像还是1.18的版本,导致实际部署时候失败了(v1.2.0-beta.1升级go版本到了1.21);可以看一下阿里云的控制台部署是否真实成功了;如果部署失败了的话那可能是这个bug问题,我一会修一下;也可以试一下降低一个版本使用v1.1.3的代码,相对会稳定些。

@yinqinghe
Copy link
Author

https://seamoon.dvkunion.cn/guide/start/#%F0%9F%95%B9-%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B
根据这上面的文档做的,申请AK,SK,填入运行。
今天才部署阿里云应用,但没有成功
image

@DVKunion
Copy link
Owner

是的,日志显示了 go 版本为1.18 ,在 seamoon v1.2.0-beta 我尝试升级go版本到 1.21 了,看上去过于果断了而导致阿里云部署编译失败。文档还没有更新,仍停留在 v1.1.3 版本的文档。

稍后我将修复这个问题,感谢反馈。 :)

@DVKunion DVKunion self-assigned this Jan 18, 2024
@DVKunion DVKunion added the bug Something isn't working label Jan 18, 2024
@yinqinghe
Copy link
Author

https://seamoon.dvkunion.cn/guide/start/#%F0%9F%95%B9-%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B
我就是按着这个文档做的,可以得到部署好的两个地址,还是运行bad handshake

是需要按照这个文档再部署吗?https://seamoon.dvkunion.cn/guide/deploy/aliyun/#%E4%B8%89%E6%AD%A5%E9%83%A8%E7%BD%B2%E5%88%B0%E9%98%BF%E9%87%8C%E4%BA%91

@DVKunion
Copy link
Owner

#24 已修复。请删除 clone 的仓库和阿里云创建的应用,使用最新的代码重新按照阿里云的方式部署一次。最终要看到这个效果:

image

@yinqinghe
Copy link
Author

image
可以了,地址在那里看?

@DVKunion
Copy link
Owner

点击对应的资源信息,比如使用websocket的话点击ws-node进入详情页,“触发其管理(URL) " tag下:

image

@yinqinghe
Copy link
Author

还是bad handshake

@DVKunion
Copy link
Owner

客户端保证版本 v1.2.0-beta.1 , 地址协议填写正确并保存, 重启客户端试试。

@yinqinghe
Copy link
Author

image
这个zhen正常吗,很卡

@yinqinghe
Copy link
Author

image

@DVKunion
Copy link
Owner

这个报错正常。现在没处理两边隧道其中一遍挥手后的动作,会导致关闭时的异常。

阿里云整体带宽并不高,加上默认s.yaml中配置是按照最低配置选的,因为便宜,基本上能满足正常流量需求。

推荐 sealos,更便宜且速率快。

@yinqinghe
Copy link
Author

image

image

@DVKunion
Copy link
Owner

版本刚更新 bug 有点多,sealos的手册也是1.1.3的,客户端得对应使用1.1.3 。

@yinqinghe
Copy link
Author

image

@DVKunion
Copy link
Owner

DVKunion commented Jan 18, 2024

image 服务端用错镜像了。

image

@yinqinghe
Copy link
Author

image
成功了

@DVKunion
Copy link
Owner

1.1.3 还是一个比较稳定的版本。1.2.0最近在做很多新功能支持,加上发版的是测试版本,可能问题比较多。再次感谢反馈。

@yinqinghe
Copy link
Author

我可以理解成这就是个梯子吗?我看文档介绍是FaaS/BaaS 实现的 Serverless 云代理/渗透工具集,致力于开启云原生的渗透模式,我就没明白,云里雾里的

@DVKunion
Copy link
Owner

安全部分的应用层功能还没开出来,后续会开放很多安全相关的能力,比如无需服务器的反弹shell、动态的webshell隐匿等,不单单局限于网络层上的代理。但是网络层是整个的理论基础,有了这部分支持才能更好的玩一些新鲜的特性。

@DVKunion
Copy link
Owner

目前开出来的部分还仅仅是个代理 👀,可以关注下给个star接受第一时间的更新~

@yinqinghe
Copy link
Author

好的,已star,期待新的功能开发出来

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants