aau-zid / BigBlueButton-liveStreaming

Streams a given BBB Meeting to an RTMP Server.
GNU General Public License v3.0
201 stars 160 forks source link

Docker Compose Error: Temporary Failure in Name Resolution for BigBlueButton Instance #170

Open CommitSithLord opened 1 year ago

CommitSithLord commented 1 year ago

Hey, I already have this working on 1 instance and I wanted to setup another instance using this but it is giving errors while installing this repo- I tried this with both 2.3 and 2.6 and got this-

docker-compose up
Starting liveStreaming ... done
Attaching to liveStreaming
liveStreaming   | Skipping nsswrapper setup - already initialized
liveStreaming   | Starting pulseaudio...
liveStreaming   | Waiting for pulseaudio to start...
liveStreaming   | Skipping nsswrapper setup - already initialized
liveStreaming   | Traceback (most recent call last):
liveStreaming   |   File "/usr/lib/python3.6/urllib/request.py", line 1325, in do_open
liveStreaming   |     encode_chunked=req.has_header('Transfer-encoding'))
liveStreaming   |   File "/usr/lib/python3.6/http/client.py", line 1281, in request
liveStreaming   |     self._send_request(method, url, body, headers, encode_chunked)
liveStreaming   |   File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
liveStreaming   |     self.endheaders(body, encode_chunked=encode_chunked)
liveStreaming   |   File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
liveStreaming   |     self._send_output(message_body, encode_chunked=encode_chunked)
liveStreaming   |   File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
liveStreaming   |     self.send(msg)
liveStreaming   |   File "/usr/lib/python3.6/http/client.py", line 980, in send
liveStreaming   |     self.connect()
liveStreaming   |   File "/usr/lib/python3.6/http/client.py", line 952, in connect
liveStreaming   |     (self.host,self.port), self.timeout, self.source_address)
liveStreaming   |   File "/usr/lib/python3.6/socket.py", line 704, in create_connection
liveStreaming   |     for res in getaddrinfo(host, port, 0, SOCK_STREAM):
liveStreaming   |   File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
liveStreaming   |     for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
liveStreaming   | socket.gaierror: [Errno -3] Temporary failure in name resolution
liveStreaming   | 
liveStreaming   | During handling of the above exception, another exception occurred:
liveStreaming   | 
liveStreaming   | Traceback (most recent call last):
liveStreaming   |   File "stream.py", line 250, in <module>
liveStreaming   |     while bbb.is_meeting_running(args.id).is_meeting_running() != True:
liveStreaming   |   File "/usr/local/lib/python3.6/dist-packages/bigbluebutton_api_python/bigbluebutton.py", line 59, in is_meeting_running
liveStreaming   |     response = self.__send_api_request(ApiMethod.IS_MEETING_RUNNING, params)
liveStreaming   |   File "/usr/local/lib/python3.6/dist-packages/bigbluebutton_api_python/bigbluebutton.py", line 135, in __send_api_request
liveStreaming   |     response = urlopen(url).read()
liveStreaming   |   File "/usr/lib/python3.6/urllib/request.py", line 223, in urlopen
liveStreaming   |     return opener.open(url, data, timeout)
liveStreaming   |   File "/usr/lib/python3.6/urllib/request.py", line 526, in open
liveStreaming   |     response = self._open(req, data)
liveStreaming   |   File "/usr/lib/python3.6/urllib/request.py", line 544, in _open
liveStreaming   |     '_open', req)
liveStreaming   |   File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain
liveStreaming   |     result = func(*args)
liveStreaming   |   File "/usr/lib/python3.6/urllib/request.py", line 1353, in http_open
liveStreaming   |     return self.do_open(http.client.HTTPConnection, req)
liveStreaming   |   File "/usr/lib/python3.6/urllib/request.py", line 1327, in do_open
liveStreaming   |     raise URLError(err)
liveStreaming   | urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
liveStreaming exited with code 1

any idea how to fix this ?