Vapor cloud deploy failed: Sockets Error: Failed trying to connect to http://redis.eu.vapor.cloud:6379

Seto

I setup Vapor project manually with swift package manager. I follow the documentation. It build and runs successfully in my local machine, both for debug and release build.

But it failed to deploy to vapor cloud:

....
....
env: development
db: none
replicas: 1
replica size: free
branch: development
build: clean
Creating deployment [Done]
Connecting to build logs ...
Waiting in Queue [Failed]
Error: Sockets Error: Failed trying to connect to http://redis.eu.vapor.cloud:6379

Identifier: Sockets.SocketsError.connectFailed

Here are some possible causes: 
- The hostname or port is not valid    

Anyone knows what caused this error?

Seto

I open an issue on GitHub and got this response:

Hi, It's usually caused by either a firewall, or a proxy preventing connection to our Redis cluster, that is providing log feedback to the terminal.

We have seen it a couple of times, and are working on allowing to see log output in the dashboard, for these kind of situations :)

Still cannot find the solution.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Redis error: Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379

Cannot Deploy To Vapor Cloud with Swift 4

Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 Heroku

Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 nodejs

Fail to connect to Redis in Kubernetes: Redis connection to localhost:6379 failed

Failed to deploy Cloud Endpoint with OpenApi

GCP deploy cloud function failed

Authentication failed on Laravel Vapor CLI

Laravel Deployment Failed using Vapor

Delete a Firebase Cloud Function which failed with `Deploy Error: undefined`

google cloud app engine deploy failed

Cloud function for Firebase deploy in TypeScript failed?

Requirements error while trying to deploy to Scrapy Cloud

Trying to deploy firebase functions Deploy Error: Failed to configure trigger

Failed to authenticate to Cloud IAP Backend from Cloud Tasks HTTP Request

Cloud Dataproc error - "Failed to load" in GDC

Cloud Run error: Container failed to start

Vapor connect to SQLite Database

GCP slack tutorial 'slash command'; failed to deploy google cloud function

Failed to deploy Cloud Functions after upgrading to node 14

Google Cloud Functions deploy failed with status code 51

Getting a Error: Endpoint read failed when trying to deploy a .bna

How to send a POST request to Firebase Cloud Messaging API in Vapor

How can I use my own domain with vapor cloud

Cloud Functions puppeteer Error: net::ERR_NAME_RESOLUTION_FAILED at http://www.google.com

Android Studio 2.1 failed to connect to google cloud platform VCS

Failed to connect to cloud SQL using proxy despite following the documentation

failed to connect to cloud storage after deploying to gcp app engine

Cloud Run Deploy fails: Container failed to start. Failed to start and then listen on the port defined by the PORT environment variable