Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
633 views
in Technique[技术] by (71.8m points)

Graphql/Prisma/Postgresql / Error creating a database connection. (Operation timed out (mobc timeout))

I am developing with prisma 2. and it worked on my local development.

However , when I deploy them on heroku, it doesn't work on playground. I don't know what happend.

I made db at the AWS (free tier + postgres)

Do you have Any idea with this error msg below?

After send query, I got this feedback.

 {
      "data": null,
      "errors": [
        {
          "message": "Error creating a database connection. (Operation timed out (mobc timeout))",
          "locations": [
            {
              "line": 2,
              "column": 3
            }
          ],
          "path": [
            "codeByCode"
          ]
        }
      ]
    }

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share

2.1m questions

2.1m answers

62 comments

56.7k users

...