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] dns error: dial tcp: lookup test.abc.com on [::1]:53: read udp [::1]:65132->[::1]:53: read: connection refused: #775

Closed
codingOOatOOyi opened this issue Nov 13, 2024 · 1 comment
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@codingOOatOOyi
Copy link

OpenIM SDK Version

3.5.0

OpenIM Server Version

3.4.2

SDK Platform

iOS SDK

Device Model

iphone 8

Operating System Version

ios16

Bug Description and Steps to Reproduce

{
"errMsg": "error *errors.withStack not implement CodeError: ApiPost http.Client.Do failed Post "https://test.abc.com:30002/user/get_users_info\": dial tcp: lookup test.abc.com on [::1]:53: read udp [::1]:65132->[::1]:53: read: connection refused: 10000 NetworkError",
"errCode": 10005,
"data": ""
}
1./openim-sdk-core/# make ios
2.use framework
3.iphone 8 get error
4.how to fix it?

Screenshots Link

No response

@codingOOatOOyi codingOOatOOyi added the bug Categorizes issue or PR as related to a bug. label Nov 13, 2024
@codingOOatOOyi codingOOatOOyi changed the title [BUG] dns error: dial tcp: lookup test.smartjoygames.com on [::1]:53: read udp [::1]:65132->[::1]:53: read: connection refused: [BUG] dns error: dial tcp: lookup test.abc.com on [::1]:53: read udp [::1]:65132->[::1]:53: read: connection refused: Nov 13, 2024
@zhaolibo1989
Copy link
Contributor

zhaolibo1989 commented Nov 18, 2024

Try to link libresolv.tbd to you xcode project.
xcode-add-libresolv

In my case, I use go1.20 to build SDK, but build iOS APP failed, until I link with that library.

God bless you, budy.

Thanks reply from @bcmills: here

@github-actions github-actions bot deleted a comment from codingOOatOOyi Nov 19, 2024
@github-actions github-actions bot deleted a comment from OpenIM-Robot Nov 19, 2024
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