N
Neon•11mo ago
rival-black

Non-default branch compute hours limit on free plan prevents use of default branch compute hours

I reached the free-tier 5 compute hour limit for non-default branches, so I am trying to swap to the default main branch. However, all default branch computing seems to be suspended as well. I double-checked my env file's database url to ensure that I am targeting the main default branch, so I believe it is not a user error.
No description
8 Replies
rival-black
rival-blackOP•11mo ago
For more context, this is the error I receive when connecting to the database using the default branch: django.db.utils.OperationalError: connection is bad: connection to server at "2600:1f14:3392:6b30:d28d:658c:574f:408f", port 5432 failed: Network is unreachable Is the server running on that host and accepting TCP/IP connections? Is there anything that I can do to fix this?
provincial-silver
provincial-silver•11mo ago
Hmm, are you able to run queries against the default branch from the Neon console's SQL editor?
rival-black
rival-blackOP•11mo ago
Yes, I was able to query the default branch using the SQL editor. I created a table, inserted into it, read its contents, and deleted it. The error above is the result of a connection from a Django app.
provincial-silver
provincial-silver•11mo ago
Hmm, so the issue is likely related to your app/network. Are you running into this error locally or in production?
rival-black
rival-blackOP•11mo ago
Locally. The app is not deployed. The connection worked fine until I reached the 5 hour non-default branch limit.
provincial-silver
provincial-silver•11mo ago
Hmm, you should be able to connect the default branch 🤔
rival-black
rival-blackOP•11mo ago
Well thank you for trying. I will wait until the end of the month and see if I can get past 5 compute hours if I simply do not use non-default branches.
xenial-black
xenial-black•7mo ago
I also reached the 5 hours locally but not sure how, do you know how I can investigate that? (I just have a user table with 2 rows ...)

Did you find this page helpful?