Skip to content

Merge pull request #64 from data-exp-lab/fix-rag #39

Merge pull request #64 from data-exp-lab/fix-rag

Merge pull request #64 from data-exp-lab/fix-rag #39

Triggered via push September 11, 2025 21:46
Status Failure
Total duration 1m 8s
Artifacts

deploy_gcp.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error
deploy-to-vm
google-github-actions/ssh-compute failed with: failed to execute gcloud command `gcloud compute ssh user@instance-1 --zone us-central1-f --ssh-key-file /tmp/b042720940f43d0c35ed71c9/google_compute_engine --quiet --tunnel-through-iap --project deepgit --command bash -c "#!/bin/bash # This should be run inside GCP compute engine # pull deploy branch cd ~/projects/deepgit git pull origin deploy # build and deploy the frontend cd ~/projects/deepgit npm install rm -rf dist npm run build touch dist/$(git log -1 --pretty=format:%H) sudo rm -rf /var/www/deepgit-app/* sudo cp -rf ~/projects/deepgit/dist/* /var/www/deepgit-app/. # build and deploy the backend cd ~/projects/deepgit cd backend ~/projects/deepgit/.venv/bin/pip install -r requirements.txt # restart nginx and gunicorn sudo systemctl restart nginx sudo systemctl restart gunicorn "`: Updating project ssh metadata... ...failed. WARNING: To increase the performance of the tunnel, consider installing NumPy. For instructions, please see https://cloud.google.com/iap/docs/using-tcp-forwarding#increasing_the_tcp_upload_bandwidth ERROR: [0] Error during local connection to [stdin]: Error while connecting [4003: 'failed to connect to backend']. (Failed to connect to port 22) Traceback (most recent call last): File "/opt/hostedtoolcache/gcloud/538.0.0/x64/lib/googlecloudsdk/command_lib/compute/iap_tunnel.py", line 775, in RunReceiveLocalData websocket_conn = self._InitiateConnection( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/hostedtoolcache/gcloud/538.0.0/x64/lib/googlecloudsdk/command_lib/compute/iap_tunnel.py", line 744, in _InitiateConnection new_websocket.InitiateConnection() File "/opt/hostedtoolcache/gcloud/538.0.0/x64/lib/googlecloudsdk/api_lib/compute/iap_tunnel_websocket.py", line 152, in InitiateConnection self._WaitForOpenOrRaiseError() File "/opt/hostedtoolcache/gcloud/538.0.0/x64/lib/googlecloudsdk/api_lib/compute/iap_tunnel_websocket.py", line 444, in _WaitForOpenOrRaiseError raise ConnectionCreationError(error_msg) googlecloudsdk.api_lib.compute.iap_tunnel_websocket.ConnectionCreationError while connecting [4003: 'failed to connect to backend']. (Failed to connect to port 22) Connection closed by UNKNOWN port 65535 Recommendation: To check for possible causes of SSH connectivity issues and get recommendations, rerun the ssh command with the --troubleshoot option. gcloud compute ssh instance-1 --project=deepgit --zone=us-central1-f --ssh-key-file=/tmp/b042720940f43d0c35ed71c9/google_compute_engine --troubleshoot Or, to investigate an IAP tunneling issue: gcloud compute ssh instance-1 --project=deepgit --zone=us-central1-f --ssh-key-file=/tmp/b042720940f43d0c35ed71c9/google_compute_engine --troubleshoot --tunnel-through-iap ERROR: (gcloud.compute.ssh) [/usr/bin/ssh] exited with return code [255].