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]: Connecting a server using DNS SRV when one of the server fails #447

Open
mdhanif-simformsolutions opened this issue Nov 20, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mdhanif-simformsolutions

Context

I am using the linphone-sdk to develop my own calling app between iOS, android and desktop.

General information

  • Device: Android
  • OS: 14
  • Version of the App:
  • Version of the SDK: 5.3.9

Expected behaviour

Should be able to connect on any other server which is available and found in the SRV records.

To Reproduce

I have a url such as abc.net and with that SRV attached is abc1.net

Now when I connect on abc.net it works as normal connection, but if I put abc.net in maintenance mode theoretically it should have a SRV lookup and get abc1.net and should try to connect there but instead it just throw an error that connection failed and from the logs I can see is that SRV lookup failed.

I have enable SRV lookup in the code using :-
core.enableDnsSrv(true)

I also tried setting DNS URL's using :-
core.setDnsServers()

Both of this didn't work.

Additional context

No response

SDK logs URL

No response

@mdhanif-simformsolutions mdhanif-simformsolutions added the bug Something isn't working label Nov 20, 2024
@mdhanif-simformsolutions
Copy link
Author

@Viish

Interestingly, It got connected to another server but it took almost 2-3 minutes to make connection on a new server.

If I block ip using my firewall then it jumps to another server within seconds, but If I put my server in maintenance mode it take 2-3 minutes to connect on another server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant