cookieY / Yearning

🐳 A most popular sql audit platform for mysql
http://next.yearning.io/
GNU Affero General Public License v3.0
8.46k stars 1.99k forks source link

[Question] 二次开发改了代码后build的二进制需要使用rpc吗 #1102

Open showsmall opened 13 hours ago

showsmall commented 13 hours ago

描述问题 二次开发改了代码后build的二进制需要使用rpc吗?我使用3.1.8的源代码改了一些东西,编译后执行查询sql,提示rpc调用失败,发现需要配置rpc,但是我用作者编译的包就不需要,2024/09/19 11:10:04 dial tcp: missing address ,求解答,然后还有就是 //go:embed chat/server/app/index.html var chatindex string 这个资源在哪里呢?chat的静态资源,没有找到

复现 重现该行为的步骤:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

期望的结果 清晰而简洁地描述你希望得到的结果

截图

image

部署方式

环境 (请填写环境信息):

额外的日志信息 在这里添加有关该问题的所有日志。

Issues-translate-bot commented 13 hours ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: [Question] Does the binary built after changing the code in secondary development need to use rpc?

showsmall commented 7 hours ago

image 实在是不知道怎么弄的了,v3.1.8的二进制版本官方打包需要rpc,我自己编译打包的就需用rpc,不知道哪里没弄好

Issues-translate-bot commented 7 hours ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


image I really don’t know how to do it. The official packaging of the binary version of v3.1.8 requires rpc. When I compile and package it myself, I need rpc. I don’t know what I didn’t get it right.

showsmall commented 7 hours ago

@cookieY help

showsmall commented 7 hours ago

v3.1.8的二进制版本官方打包不需要rpc,我自己编译打包的就需要rpc,不知道哪里没弄好

Issues-translate-bot commented 7 hours ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


The official packaging of the binary version of v3.1.8 does not require rpc. The one I compiled and packaged myself requires rpc. I don’t know what I didn’t get it right.