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

[BUG] pc admin and uniapp client can't access #2522

Closed
tonypra opened this issue Aug 15, 2024 · 16 comments
Closed

[BUG] pc admin and uniapp client can't access #2522

tonypra opened this issue Aug 15, 2024 · 16 comments
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@tonypra
Copy link

tonypra commented Aug 15, 2024

OpenIM Server Version

3.8

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

pc client can't access

2024-08-15 12:43:31.071 �[37mDEBUG�[0m �[37m[PID:31422] �[0m �[37mopenim-rpc-msg �[0m [version:3.8.0] [redis/lua_script.go:49] callLua args {"platform": "Web", "connID": "1f5ed01ce4900358ee2d509be39be976", "operationID": "572cf708-3da6-40d5-bd45-8514c082b050", "opUserID": "2433565266", "scriptHash": "e7e31e3374819751918764f823c21c1faf243f34", "keys": "[MESSAGE_CACHE:n_2855090880_0]", "args": "[]"}
2024-08-15 12:43:31.071 �[37mDEBUG�[0m �[37m[PID:31422] �[0m �[37mopenim-rpc-msg �[0m [version:3.8.0] [controller/msg.go:609] db.seq.GetMessagesBySeq {"platform": "Web", "connID": "1f5ed01ce4900358ee2d509be39be976", "operationID": "572cf708-3da6-40d5-bd45-8514c082b050", "opUserID": "2433565266", "userID": "2433565266", "conversationID": "n_2855090880", "seqs": "[0]", "len(successMsgs)": "0", "failedSeqs": "[0]"}
2024-08-15 12:43:31.071 �[33mWARN�[0m �[33m[PID:31422] �[0m �[33mopenim-rpc-msg �[0m [version:3.8.0] [msg/sync_msg.go:67] GetMsgBySeqs error {"platform": "Web", "connID": "1f5ed01ce4900358ee2d509be39be976", "operationID": "572cf708-3da6-40d5-bd45-8514c082b050", "opUserID": "2433565266", "conversationID": "n_2855090880", "seq": "conversationID:"n_2855090880" num:1", "error": "mongo: no documents in result"}
2024-08-15 12:43:31.071 �[34mINFO�[0m �[34m[PID:31422] �[0m �[34mopenim-rpc-msg �[0m [version:3.8.0] [mw/rpc_server_interceptor.go:57] RPC Server Response Success - PullMessageBySeqs {"platform": "Web", "connID": "1f5ed01ce4900358ee2d509be39be976", "operationID": "572cf708-3da6-40d5-bd45-8514c082b050", "opUserID": "2433565266", "funcName": "/openim.msg.msg/PullMessageBySeqs", "resp": ""}
2024-08-15 12:43:31.072 �[34mINFO�[0m �[34m[PID:31442] �[0m �[34mopenim-msggateway �[0m [version:3.8.0] [mw/rpc_client_interceptor.go:47] RPC Client Response Success - PullMessageBySeqs {"platform": "Web", "connID": "1f5ed01ce4900358ee2d509be39be976", "operationID": "572cf708-3da6-40d5-bd45-8514c082b050", "opUserID": "2433565266", "funcName": "/openim.msg.msg/PullMessageBySeqs", "resp": ""}
2024-08-15 12:43:31.072 �[37mDEBUG�[0m �[37m[PID:31442] �[0m �[37mopenim-msggateway �[0m [version:3.8.0] [msggateway/client.go:274] gateway reply message {"platform": "Web", "connID": "1f5ed01ce4900358ee2d509be39be976", "operationID": "572cf708-3da6-40d5-bd45-8514c082b050", "opUserID": "2433565266", "resp": "{"reqIdentifier":1002,"msgIncr":"2433565266_1723697013543860343","operationID":"572cf708-3da6-40d5-bd45-8514c082b050","errCode":0,"errMsg":"","data":null}"}
2024-08-15 12:43:31.072 �[37mDEBUG�[0m �[37m[PID:31442] �[0m �[37mopenim-msggateway �[0m [version:3.8.0] [msggateway/client.go:137] readMessage {"remoteAddr": "113.110.215.62:32416", "platform": "Web", "connID": "1f5ed01ce4900358ee2d509be39be976", "operationID": "1723697012456964944", "opUserID": "2433565266"}
2024-08-15 12:43:31.134 �[37mDEBUG�[0m �[37m[PID:31345] �[0m �[37mopenim-api �[0m [version:3.8.0] [mw/rpc_client_interceptor.go:44] RPC Client Request - parseToken {"operationID": "572cf708-3da6-40d5-bd45-8514c082b050", "funcName": "/openim.auth.Auth/parseToken", "req": "token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VySUQiOiIyNDMzNTY1MjY2IiwiUGxhdGZvcm1JRCI6NSwiZXhwIjoxNzMxNDI0MDkzLCJuYmYiOjE3MjM2NDc3OTMsImlhdCI6MTcyMzY0ODA5M30.ZpAxnE-B25TcQl6-ATf14Oik2fEqZBgegqAlHJLuoPA"", "conn target": "etcd:///openim/auth"}
2024-08-15 12:43:31.135 �[34mINFO�[0m �[34m[PID:31347] �[0m �[34mopenim-rpc-auth �[0m [version:3.8.0] [mw/rpc_server_interceptor.go:48] RPC Server Request - ParseToken {"operationID": "572cf708-3da6-40d5-bd45-8514c082b050", "funcName": "/openim.auth.Auth/ParseToken", "req": "token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VySUQiOiIyNDMzNTY1MjY2IiwiUGxhdGZvcm1JRCI6NSwiZXhwIjoxNzMxNDI0MDkzLCJuYmYiOjE3MjM2NDc3OTMsImlhdCI6MTcyMzY0ODA5M30.ZpAxnE-B25TcQl6-ATf14Oik2fEqZBgegqAlHJLuoPA""}
2024-08-15 12:43:31.135 �[34mINFO�[0m �[34m[PID:31347] �[0m �[34mopenim-rpc-auth �[0m [version:3.8.0] [mw/rpc_server_interceptor.go:57] RPC Server Response Success - ParseToken {"operationID": "572cf708-3da6-40d5-bd45-8514c082b050", "funcName": "/openim.auth.Auth/ParseToken", "resp": "userID:"2433565266" platformID:5 expireTimeSeconds:1731424093"}

Screenshots Link

image
image

@tonypra tonypra added the bug Categorizes issue or PR as related to a bug. label Aug 15, 2024
@tonypra
Copy link
Author

tonypra commented Aug 15, 2024

image
image

@OpenIM-Robot
Copy link

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


image
image

@tonypra
Copy link
Author

tonypra commented Aug 15, 2024

源码部署了,server和chat都正常状态,昨天还可以正常测试,但是现在发现新问题
1、ip:11001/#/contact PC 前端可以正常访问。
2、管理后台不能访问 ip:11002/profile/admin_info
3、uniapp端不能访问

@OpenIM-Robot
Copy link

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


The source code has been deployed, and the server and chat are in normal status. Yesterday, it could be tested normally, but now a new problem has been discovered.

  1. IP:11001/#/contact The PC front end can be accessed normally.
  2. The management background cannot access ip:11002/profile/admin_info
  3. The uniapp side cannot be accessed

@tonypra
Copy link
Author

tonypra commented Aug 15, 2024

image

@tonypra tonypra changed the title [BUG] pc client can't access [BUG] admin pc client can't access Aug 15, 2024
@tonypra tonypra changed the title [BUG] admin pc client can't access [BUG] pc admin and uniapp client can't access Aug 15, 2024
@tonypra
Copy link
Author

tonypra commented Aug 15, 2024

image

@OpenIM-Robot
Copy link

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


image

@tonypra
Copy link
Author

tonypra commented Aug 15, 2024

image

@skiffer-git
Copy link
Member

Navigate to the chat directory, then run mage check

@tonypra
Copy link
Author

tonypra commented Aug 15, 2024

image
image

@OpenIM-Robot
Copy link

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


image
image

@skiffer-git
Copy link
Member

The UniApp version hasn't been updated yet, please use the Flutter version.

@skiffer-git
Copy link
Member

What errors occur when accessing IP:11002? Please provide the browser's error logs

@skiffer-git
Copy link
Member

just visit ip:11002
not ip:11002/profile/admin_info

@tonypra
Copy link
Author

tonypra commented Aug 16, 2024

The UniApp version hasn't been updated yet, please use the Flutter version.
-- When will it be updated?

@skiffer-git
Copy link
Member

this issue has fixed in release-v3.8, I recommend you update to new version. If you run into any new issues, please reopen this issue or create a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants