Closed mgburns closed 2 months ago
Hey, Gitub issues aren't to be used for support, please open a help thread in either of the Forum or Discord links the bot has sent above.
@brody192 Apologies -- my assumption was that this is either a bug with the template or a lack of documentation, which I had thought was appropriate here:
This repository handles GitHub focused discussions about Railway templates. We handle Template bounties, feature requests, and bug reports here.
I'll move the discussion to the forum and report back if it is in fact a bug.
I'm attempting to deploy the Chroma template (introduced in https://github.com/railwayapp/templates/issues/434) and connect it to a Flask app.
Connection code:
Flask service stack trace
```txt [2024-04-05 13:42:46 +0000] [11] [INFO] Worker exiting (pid: 11) [2024-04-05 13:42:46 +0000] [7] [INFO] Shutting down: Master [2024-04-05 13:42:46 +0000] [7] [INFO] Reason: Worker failed to boot. [2024-04-05 13:43:13 +0000] [7] [INFO] Starting gunicorn 20.0.4 [2024-04-05 13:43:13 +0000] [7] [INFO] Listening at: http://0.0.0.0:6731/ (7) [2024-04-05 13:43:13 +0000] [7] [INFO] Using worker: sync [2024-04-05 13:43:13 +0000] [11] [INFO] Booting worker with pid: 11 [2024-04-05 13:43:19 +0000] [11] [ERROR] Exception in worker process Traceback (most recent call last): File "/opt/venv/lib/python3.8/site-packages/urllib3/connection.py", line 198, in _new_conn sock = connection.create_connection( File "/opt/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 60, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/root/.nix-profile/lib/python3.8/socket.py", line 918, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -2] Name or service not known The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/opt/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 793, in urlopen response = self._make_request( File "/opt/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 496, in _make_request conn.request( File "/opt/venv/lib/python3.8/site-packages/urllib3/connection.py", line 400, in request self.endheaders() File "/root/.nix-profile/lib/python3.8/http/client.py", line 1251, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/root/.nix-profile/lib/python3.8/http/client.py", line 1011, in _send_output self.send(msg) File "/root/.nix-profile/lib/python3.8/http/client.py", line 951, in send self.connect() File "/opt/venv/lib/python3.8/site-packages/urllib3/connection.py", line 238, in connect self.sock = self._new_conn() File "/opt/venv/lib/python3.8/site-packages/urllib3/connection.py", line 205, in _new_conn raise NameResolutionError(self.host, self, e) from e urllib3.exceptions.NameResolutionError:I set up a simple repro here:
Help!