tangsengdaodao / tangsengdaodaoserver Goto Github PK
View Code? Open in Web Editor NEW高颜值 IM 即时通讯,聊天
Home Page: https://tsdaodao.com
License: Apache License 2.0
高颜值 IM 即时通讯,聊天
Home Page: https://tsdaodao.com
License: Apache License 2.0
一直停留到当前这个页面 然后锁屏 进入离线了。然后别人发了消息 再解锁 发现当前页面没有刷新导致有些消息没显示出来
通过gihub action打包,下载该pc安装包进行登陆,发现请求的IP是旧的IP,于是看文档修改了export API_URL="https://10.30.0.23/v1/"
然后再次访问发现地址还是请求的是旧的地址。该怎么动态修改API_URL 呢?需要把 process.env.NODE_ENV 修改成production么?
安卓直接发送语音短信失败,提示下载失败
后台登录名和密码
进不去呢
tsdd-tangsengdaodaoserver-1 | panic: dial tcp 192.168.224.8:3306: connect: connection refused
然后测试添加好友也不能加了
register......
tsdd-wukongim-1 | [GIN] 2023/10/13 - 23:35:32 | 200 | 3.45653ms | 192.168.224.10 | POST "/user/token"
tsdd-tangsengdaodaoserver-1 | panic: dial tcp 192.168.224.8:3306: connect: connection refused
tsdd-tangsengdaodaoserver-1 |
tsdd-tangsengdaodaoserver-1 | goroutine 1 [running]:
tsdd-tangsengdaodaoserver-1 | main.runAPI(0xc0002ccc00)
tsdd-tangsengdaodaoserver-1 | /go/release/main.go:95 +0x1d5
tsdd-tangsengdaodaoserver-1 | main.main()
tsdd-tangsengdaodaoserver-1 | /go/release/main.go:70 +0x3ed
tsdd-mysql-1 | 2023-10-13T15:35:32.587981Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
tsdd-mysql-1 | 2023-10-13T15:35:32.588016Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.27) starting as process 1
tsdd-mysql-1 | 2023-10-13T15:35:32.593107Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for /var/lib/mysql/ is case insensitive
tsdd-mysql-1 | 2023-10-13T15:35:32.603044Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
可以的,所有组件的支持私有化部署
更换成阿里云短信后把 tsdd.yaml配置的smsCode值留空 屏蔽都不管用
手机收到阿里云发的验证码 验证还是走smsCode配置的值
是不是除了 tsdd.yaml配置还有别的地方需要关掉
目前的logo不是很好看
点击截图后是打开了Snipaste的网页,这个下载下来是zip包,可以做到点击截图后调用Snipaste吗?
修改密码能否更改为输入原密码,然后再输入新密码。这样大家就可以自行修改了。
默认的验证码都是一样的,如果告诉大家的话那么所有人都能随意修改手机号了。
希望官方能够有像腾讯云IM服务那种不同客户端SDK文档,例如“含UI集成方案”和”不含UI集成方案“的客户端SDK文档;
官方有计划推出Flutter的SDK吗?如果有,大概什么时间可以出炉呢?
现在官方有计划推出类似像腾讯会议类似的服务,最好可以直接集成在群聊中
IM服务的性能如何?支持集群部署吗?如何保证高可用?IM消息存储?群聊最多支持多人加入?人多之后会有哪些比较大的影响,希望能在官方文档中有一个详细的说明
通过阅读文档,自定义消息需要自己实现,包括各端的显示渲染,这成本太大了,得会三端的开发语言。能不能官方出一个类似于微信的那种卡片消息,发送信息只需要发送对应的模板信息,其他链接、标题、图片、按钮等内容就按照设定好的卡片消息渲染。
修改index.tsx
if(process.env.NODE_ENV === "development") {
WKApp.apiClient.config.apiURL = "http://10.113.3.77:8090/v1/"
}else {
// WKApp.apiClient
WKApp.apiClient.config.apiURL = "http://10.113.3.77:8090/v1/";
}
axios.interceptors.response.use 中报错 Nerwork Error
我在Windows上使用docker部署后,部署成功,验证部署也通过。但是我在访问"唐僧叨叨后台管理"的时候总是出现502(新手开发)
如题,这个项目很不错,希望能开 github repo 讨论,方便大家交流经验。
IOS端 能够正常收到信息推送,Android无法收到信息推送,只有进入APP后才能收到信息.已关闭电池优化,及给预了所有通知权限
测试了多台Android设备
并不是所有的使用者都会 编译客户端
强烈支持,如果有flutter版本立马从openIM转移过来!
func (m *managerDB) queryMsgExtrWithMsgIds(msgIds []int64) ([]*messageExtraModel, error) {
var list []messageExtraModel
_, err := m.session.Select("").From("message_extra").Where("message_id in ?", msgIds).Load(&list)
return list, err
}
类型转换导致索引失效
当条件表达式的数据类型不同时,在查询执行过程中会进行一些隐式的数据类型转换。类型转换有时会应用于条件中的常量,有时会应用于条件中的列。当在列上应用类型转换时,在查询执行期间无法使用索引,可能导致严重的性能问题。
select *
from tangseng.message_extra
where message_extra.message_id in (12332131231231231231)
PawSQL 建议修改为
select *
from tangseng.message_extra
where message_extra.message_id in ('12332131231231231231')
代码中诸如此类sql导致索引失效,如果信息量过多引起mysql严重性能问题
想请问一下作者,两者的区别是什么。
哪种场景用哪种会更好?
这里写现象
这里写日志
PC/web客户端v1.0.0 版本没有发图片功能,是没有加上去么?我看介绍是有发图片功能 的,还是说发送图片上传文件需要收费呢?
android登录后,一直在循环请求http://117.185.56.42:18090/v1/users/5cbe4033e5764322b62f4b1b536240f7/im 和websocket连接tcp,连接成功 解析失败,连接断开流程。端口内部映射 18090 - 8090 15100-5100
2023-08-03 12:12:44.465 24802-24983/? E/WKLoggerV1.0.0: [xNbcPool-1-thread-1(119): SourceFile:52] - 连接成功
2023-08-03 12:12:44.535 24802-24983/? E/WKLoggerV1.0.0: [xNbcPool-1-thread-1(119): SourceFile:123] - 是否不存储:0是否显示红点:1是否只同步一次:1
2023-08-03 12:12:44.535 24802-24983/? E/WKLoggerV1.0.0: [xNbcPool-1-thread-1(119): SourceFile:140] - 消息包类型2
2023-08-03 12:12:44.536 24802-24983/? E/WKLoggerV1.0.0: [xNbcPool-1-thread-1(119): SourceFile:17] - IM连接返回状态:0
2023-08-03 12:12:44.536 24802-24983/? E/WKLoggerV1.0.0: [xNbcPool-1-thread-1(119): SourceFile:295] - sdk解析登录返回错误类型:0
2023-08-03 12:12:44.537 24802-24983/? E/WKLoggerV1.0.0: [xNbcPool-1-thread-1(119): SourceFile:23] - 开始计算IP请求时间
2023-08-03 12:12:44.537 24802-24983/? E/WKLoggerV1.0.0: [xNbcPool-1-thread-1(119): SourceFile:9] - 获取IP中...
2023-08-03 12:12:44.537 24802-24983/? E/WKLoggerV1.0.0: [xNbcPool-1-thread-1(119): SourceFile:123] - 是否不存储:0是否显示红点:0是否只同步一次:0
2023-08-03 12:12:44.538 24802-24983/? E/WKLoggerV1.0.0: [xNbcPool-1-thread-1(119): SourceFile:140] - 消息包类型2
2023-08-03 12:12:44.538 24802-24983/? E/WKLoggerV1.0.0: [xNbcPool-1-thread-1(119): SourceFile:17] - IM连接返回状态:0
2023-08-03 12:12:44.538 24802-24983/? E/WKLoggerV1.0.0: [xNbcPool-1-thread-1(119): SourceFile:295] - sdk解析登录返回错误类型:0
2023-08-03 12:12:44.539 24802-24983/? E/WKLoggerV1.0.0: [xNbcPool-1-thread-1(119): SourceFile:23] - 开始计算IP请求时间
2023-08-03 12:12:44.539 24802-24983/? E/WKLoggerV1.0.0: [xNbcPool-1-thread-1(119): SourceFile:9] - 获取IP中...
2023-08-03 12:12:44.539 24802-24983/? E/WKLoggerV1.0.0: [xNbcPool-1-thread-1(119): SourceFile:123] - 是否不存储:0是否显示红点:0是否只同步一次:0
2023-08-03 12:12:44.540 24802-24983/? E/WKLoggerV1.0.0: [xNbcPool-1-thread-1(119): SourceFile:140] - 消息包类型2
2023-08-03 12:12:44.540 24802-24983/? E/WKLoggerV1.0.0: [xNbcPool-1-thread-1(119): SourceFile:17] - IM连接返回状态:0
2023-08-03 12:12:44.540 24802-24983/? E/WKLoggerV1.0.0: [xNbcPool-1-thread-1(119): SourceFile:295] - sdk解析登录返回错误类型:0
2023-08-03 12:12:44.541 24802-24983/? E/WKLoggerV1.0.0: [xNbcPool-1-thread-1(119): SourceFile:23] - 开始计算IP请求时间
2023-08-03 12:12:44.542 24802-24983/? E/WKLoggerV1.0.0: [xNbcPool-1-thread-1(119): SourceFile:9] - 获取IP中...
2023-08-03 12:12:44.542 24802-24983/? E/WKLoggerV1.0.0: [xNbcPool-1-thread-1(119): SourceFile:123] - 是否不存储:1是否显示红点:1是否只同步一次:1
2023-08-03 12:12:44.542 24802-24983/? E/WKLoggerV1.0.0: [xNbcPool-1-thread-1(119): SourceFile:140] - 消息包类型6
2023-08-03 12:12:44.542 24802-24983/? E/WKLoggerV1.0.0: [xNbcPool-1-thread-1(119): SourceFile:992] - 解析协议类型失败--->:6
2023-08-03 12:12:44.542 24802-24983/? E/WKLoggerV1.0.0: [xNbcPool-1-thread-1(119): SourceFile:123] - 是否不存储:1是否显示红点:0是否只同步一次:1
2023-08-03 12:12:44.543 24802-24983/? E/WKLoggerV1.0.0: [xNbcPool-1-thread-1(119): SourceFile:140] - 消息包类型6
2023-08-03 12:12:44.543 24802-24983/? E/WKLoggerV1.0.0: [xNbcPool-1-thread-1(119): SourceFile:5] - 连接断开
在调用UpdateIMToken成功后,前端用旧的聊天token还能发送消息,导致更新无效
我发现 这个API文档展示 的很酷 , 有几个问题想请教下。
https://apidocs.botgate.cn/
1、 看界面应该基于开源swagger搭建的, https://github.com/swagger-api/swagger-ui。 用的原生swagger吗,还是自己修改过的。
2、 API相关的规范描述swaggon.json 是自己手动编写的吗,还是工具自动生成的。
比如web端的聊天室名字。
开启关闭文件助手。
通用设置内,企业功能点击后程序崩溃重启。
您好,咱们支持在第三方应用可调用im接口批量注册用户到im,并互加好友,创建群聊么?
mac 客户端是免费的么,可以连接自己 搭建的im服?怎么去配置自己的服务IP呢
docker-compose方式启动,数据库默认编码为latin1,导致server初始化数据库失败,无法启动
tangsengdaodaoserver_1 | register......
tangsengdaodaoserver_1 | panic: Error 1366 (HY000): Incorrect string value: '\xE5\x9F\xBA\xE7\xA1\x80...' for column 'name' at row 1 handling common-20230203-01.sql
tangsengdaodaoserver_1 |
tangsengdaodaoserver_1 | goroutine 1 [running]:
tangsengdaodaoserver_1 | main.runAPI(0xc0002f2b00)
tangsengdaodaoserver_1 | /go/release/main.go:95 +0x1d5
tangsengdaodaoserver_1 | main.main()
tangsengdaodaoserver_1 | /go/release/main.go:70 +0x3ed
mysql_1 | 2023-11-09T05:34:12.190718Z 2 [Note] Aborted connection 2 to db: 'im' user: 'root' host: '172.22.0.8' (Got an error reading communication packets)
tangsengdaodaoserver_1 | register......
tangsengdaodaoserver_1 | panic: Error 1050 (42S01): Table 'app_module' already exists handling common-20230203-01.sql
tangsengdaodaoserver_1 |
tangsengdaodaoserver_1 | goroutine 1 [running]:
tangsengdaodaoserver_1 | main.runAPI(0xc0001e0a00)
tangsengdaodaoserver_1 | /go/release/main.go:95 +0x1d5
tangsengdaodaoserver_1 | main.main()
tangsengdaodaoserver_1 | /go/release/main.go:70 +0x3ed
在启动数据库的时候增加默认编码参数
mysql: # mysql数据库
image: mysql
command: --default-authentication-plugin=mysql_native_password --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
如题,GPG签名提交能有效防止供应链攻击,防止冒充,而紧箍咒Server目标是企业内部IM,冒充是有利可图的。
如果可以的话,记得上传公钥到密钥服务器,并在readme里注明主要贡献者的密钥指纹。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.