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]An error occurred when I Create group by api after set webhook 'callbackBeforeMemberJoinGroupCommand' #2364

Open
yanqinsc opened this issue Jun 26, 2024 · 3 comments
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@yanqinsc
Copy link

OpenIM Server Version

3.7

Operating System and CPU Architecture

Windows (AMD)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

An error occurred when I Create group by api after set webhook 'callbackBeforeMemberJoinGroupCommand'。
Logs show that the error occurred before the webhook arrive.
Debug log as follows:

local.DEBUG: apiCall res: {"errCode":90004,"errMsg":"HTTP request failed: Post "http://127.0.0.1/api/callback/callbackBeforeMemberJoinGroupCommand\": context deadline exceeded, post url=http://127.0.0.1/api/callback/callbackBeforeMemberJoinGroupCommand: 90004 NetworkError","errDlt":"HTTP request failed: Post "http://127.0.0.1/api/callback/callbackBeforeMemberJoinGroupCommand\": context deadline exceeded, post url=http://127.0.0.1/api/callback/callbackBeforeMemberJoinGroupCommand: 90004 NetworkError"}
[2024-06-26 15:23:22] local.INFO: webhook:callbackBeforeMemberJoinGroupCommand {"callbackCommand":"callbackBeforeMemberJoinGroupCommand","groupID":"56","userID":"9267410449","ex":null,"groupEx":"{"niceId":56}"}

Screenshots Link

No response

@yanqinsc yanqinsc added the bug Categorizes issue or PR as related to a bug. label Jun 26, 2024
@icey-yu
Copy link
Collaborator

icey-yu commented Jun 27, 2024

Can you provide more details? For example, request parameters or more error information.
Please make sure that you have correctly set the webhook URL and that the corresponding service is enabled.

@skiffer-git
Copy link
Member

Has the webhook URL been set up, and is the API functioning properly?

@yanqinsc
Copy link
Author

Can you provide more details? For example, request parameters or more error information. Please make sure that you have correctly set the webhook URL and that the corresponding service is enabled.

The webhook's config is correct. the webhook been called in 4 places. err occurred only in createGroup methond. create group by server api .

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