Jump to content
  • 0

2.4.x publishTimeoutError


Konrad Piwowar
 Share

Question

Hey Guys,

We're having an issue with Antmedia Enterprise on Ubuntu 18.04

Antmedia 2.3.2 works properly.
Antmedia 2.4.0.2, 2.4.1 and the latest snapshot all timeout webrtc.

Our own app doesn't work on this, and even the built in demo one is erroring.

If I go to https://domain.com:5443/WebRTCAppEE/ and try to publish, I get the following in chrome console

initialized

webrtc_adaptor.js:1157 stream id in init peer connection: stream1 close stream id: stream1

webrtc_adaptor.js:1281 Set local description successfully for stream Id stream1

webrtc_adaptor.js:1078 No event.candidate in the iceCandidate event

(index):737 error callback: "publishTimeoutError"

There is nothing in the error log - in fact, there is no error log file at all. 

root@oregon:/usr/local/antmedia/log# ls -l

total 28

-rw-r--r-- 1 antmedia antmedia 27292 Jan 19 09:15 0.0.0.0_access.2022-01-19.log

root@oregon:/usr/local/antmedia/log#

The firewall is completely disabled, so UDP ports are open. 
root@oregon:/usr/local/antmedia/log# iptables --list

Chain INPUT (policy ACCEPT)

target     prot opt source               destination

 

Chain FORWARD (policy ACCEPT)

target     prot opt source               destination

 

Chain OUTPUT (policy ACCEPT)

target     prot opt source               destination

2.3.2 works perfectly without any issues. This is happening on 2 of 5 servers. All are running Ubuntu 18.04. Three installations went without a hitch and all work perfectly.

I have tried:
- About a dozen various clean installations
- Apt upgrade to update packages
- Rebooting server
- Increasing antmedia timeout from 5s to 10s

Any ideas? Reinstallation of 2.3.2 after 2.4.x works fine.

Link to comment
Share on other sites

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0

Alright nevermind and ignore this -  it seems I got it working. It seems the installation script for 2.4.1 needs to be updated from the previous one we had.

It might be worth it to do something like an install script version check or something into the install script?

 

Link to comment
Share on other sites

  • 0

Hi Konrad,

Firstly, sorry for the trouble you had and it's good to know that it is working now.
Actually, this is a known issue and we had fixed this and for the same a new installation script was provided and therefore we recommend using the latest installation script. 
Here's the issue on our GitHub page https://github.com/ant-media/Ant-Media-Server/issues/3572

Also, thank you for your suggestion. We will definitely consider that.
Have a great day.

--
Best Regards,
Mohit Dubey

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...