Hey there
I’m working on a bot that builds off of the headless Linux sample. It runs perfectly when launched with the included Docker Compose file. However, now that I’m building it to build an image and run that, I’m encountering an issue with docker run. Specifically, when I start the bot this way, it joins the meeting but gets stuck at MEETING_STATUS_CONNECTING, with no further events coming in.
There are no SDK errors or anything, the bot even joins the meeting, but I am not getting any other events from Zoom after the connecting status change (It should get the in-meeting status after joining). I have also tried to send it messages, which should also get registered, but it still does not work. Interestingly, if I end the meeting while the bot is still connected, it actually receives the disconnect and end events.
To build the image I am using:
docker build --tag TAG .
and to run image:
docker run IMAGE
Here are the full logs:
Consolidate compiler generated dependencies of target zoomsdk
[ 9%] Building CXX object CMakeFiles/zoomsdk.dir/src/main.cpp.o
[ 18%] Building CXX object CMakeFiles/zoomsdk.dir/src/Zoom.cpp.o
[ 27%] Building CXX object CMakeFiles/zoomsdk.dir/src/Config.cpp.o
[ 36%] Linking CXX executable zoomsdk
[100%] Built target zoomsdk
INFO:root:Initializing bot...
INFO:root:Joining meeting with URL: https://us05web.zoom.us/j/88177075948?pwd=2TrM0wyHY4gdsbfaiia2nah4jnckl5.1
INFO:root:Server waiting for connections...
INFO:root:Client connected
INFO:root:ZOOM_OUT: ✅ configure
INFO:root:ZOOM_OUT: ✅ initialize
INFO:root:ZOOM_OUT: ✅ join a meeting
INFO:root:New Meeting status: MEETING_STATUS_CONNECTING (1)
INFO:root:ZOOM_OUT: Meeting Status MEETING_STATUS_CONNECTING
INFO:root:Connecting to meeting after idle
INFO:root:ZOOM_OUT: ⏳ connecting to the meeting
The ones with ZOOM_OUT are the ones directly from the headless Linux sample. I have built a Python app that runs it and manages all of the bot logic. I am not using the raw audio recording but instead the Meeting Chat Events. I should note that nothing comes after the last log above, it just freezes. The bot joins the meeting, but it does not receive any events from Zoom. I am not sure which version of the SDK I am using, but I think it is the one from around April this year. I have tried to update it, but that just broke it. I can give it another shot if you think that might have something to do with it.
Here are the logs from when I end the meeting:
INFO:root:ZOOM_OUT: Meeting Status MEETING_STATUS_DISCONNECTING
INFO:root:New Meeting status: MEETING_STATUS_DISCONNECTING (4)
INFO:root:ZOOM_OUT: ⏳ disconnecting from the meeting
INFO:root:ZOOM_OUT: Meeting Status MEETING_STATUS_ENDED
INFO:root:New Meeting status: MEETING_STATUS_ENDED (7)
INFO:root:ZOOM_OUT: ✅ meeting ended
INFO:root:ZOOM_OUT: ⏳ Meeting End
INFO:root:Connection closed, initiating shutdown
INFO:root:Cleaning up resources
INFO:root:Main process exiting
I am not quite sure what version of the Linux SDK I am currently using, but I’m using a fork of the meetingsdk-headless-linux-sample Github from the end of March 2024.
There is nothing between the previous logs and these. I am not sure what exactly to log to help debug this issue, any guidance would be much appreciated.
Thank you,
Noah