Having trouble with the final step connecting to l...
# replication-troubleshooting
t
Having trouble with the final step connecting to localhost via Google Cloud terminal on my machine for the Google Cloud Platform integration.
Copy code
gcloud --project=$PROJECT_ID beta compute ssh $INSTANCE_NAME -- -L 8000:localhost:8000 -N -f
https://docs.airbyte.com/deploying-airbyte/on-gcp-compute-engine/ I've tried killing that port and trying again, and trying other ports. First time there is no error (after killing the port) but then when I run the command again I get this error again.
Copy code
bind [127.0.0.1]:8000: Address already in use
channel_setup_fwd_listener_tcpip: cannot listen to port: 8000
Could not request local forwarding.
m
Did you logout from the server? Are you running the command in your local terminal? If yes, can you confirm you’' re not running any containers in port 8000?
t
Logout from GCP SSH / cloud terminal?
Yes I am running the command on my local terminal, no local Docker containers (Docker not installed on this machine aside from this)
u
Tim, from previous users having this error they didn't logout from the ssh connection to their cloud instance or they have some service running locally. You can change the port to another one something like this:
gcloud --project=$PROJECT_ID beta compute ssh $INSTANCE_NAME -- -L 8000:localhost:8001 -N -f
t
Thanks Marcos, but i'm still getting the same issue using your command above
same 1
z
@Marcos Marx (Airbyte) I have been getting this same error as well. It seems like the issue w/ you guys changing how to launch GCP & requirement to run script to get it to work instead of compose up has possibly deleted my entire instance. hope that's not the case.
u
Hello Tim Harrison, it's been a while without an update from us. Are you still having problems or did you find a solution?
t
Hi @Marcos Marx (Airbyte) - I've just tried going through the steps again. Everything goes smoothly until this point in the install: When I run
Copy code
docker compose up -d
in terminal, I get the error message: no configuration file provided: not found