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] 404 page not found #2900

Closed
KylinSpace opened this issue Nov 28, 2024 · 9 comments
Closed

[BUG] 404 page not found #2900

KylinSpace opened this issue Nov 28, 2024 · 9 comments
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@KylinSpace
Copy link

KylinSpace commented Nov 28, 2024

OpenIM Server Version

e.g 3.

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

image
image

你好
App Server (Chat) 通过源码部署
10008 chat 服务的接口报错 "404 page not found", *network.ApiResponse) failed invalid character 'p' after top-level value: 10006 Internal SDK error"}

服务器端口确认都已经打开。
客户端是flutter_openim_sdk 3.8.0 以及 3.8.2 都试过了。

OpenIM.iMManager.login 正常可以联接上服务器,但是10008的接口都无法访问。

Screenshots Link

No response

@KylinSpace KylinSpace added the bug Categorizes issue or PR as related to a bug. label Nov 28, 2024
@OpenIM-Robot OpenIM-Robot changed the title [BUG] [BUG] Nov 28, 2024
@OpenIM-Robot
Copy link

Hello! Thank you for filing an issue.

If this is a bug report, please include relevant logs to help us debug the problem.

Join slack 🤖 to connect and communicate with our developers.

@KylinSpace KylinSpace changed the title [BUG] [BUG] 404 page not found Nov 28, 2024
@skiffer-git
Copy link
Member

What is the specific network request?

@KylinSpace
Copy link
Author

What is the specific network request?

http://xxx.xxx.xx:10008/user/get_users_info

Specifically, 404 appears in all 10008 requests.
After I successfully logged in with OpenIM.iMManager.login,

all requests via OpenIM.iMManager.userManager or OpenIM.iMManager.friendshipManager appeared
"url": "http://xx.xxx.231.157:10008/friend/get_black_list", "status": "404 Not Found", "body": "404 page not found"}
I/GoLog (17467): 2024-11-28 07:55:42.652 ERROR [PID:17467] [v3.8.2] [flutter/Android] [network/http_client.go:136] ApiResponse {"operationID": "1732780532484 ", "type": "api code parse", "error": "invalid character 'p' after top-level value"}
or

"url": "http://xxx.xxx.xxx.157:10008/group/get_recv_group_applicationList", "status": "404 Not Found", "body": "404 page not found"}

Or

"1732780532484", "duration": "67ms", "api": "/group/get_recv_group_applicationList", "state": "failed", "error": "api /group/get_recv_group_applicationList json.Unmarshal("404 page not found", *network.ApiResponse) failed invalid character 'p' after top-level value: 10006 Internal SDK error"}


I confirmed that the big service is running, 10008, and the port 10008 is open for access.

@skiffer-git
Copy link
Member

post

@OpenIM-Robot
Copy link

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


post

@skiffer-git
Copy link
Member

You should use the Flutter SDK from https://github.com/openimsdk/open-im-sdk-flutter.

@skiffer-git
Copy link
Member

@KylinSpace
Copy link
Author

thanks is my mistake

@OpenIM-Robot
Copy link

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


thanks is my mistake

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