Comments (8)
Hello @jbergstroem, this issue will be resolved in version 0.7.5. We have added it to the roadmap
from permify.
Hi @jbergstroem , we resolved this issue in version v0.7.5. Could you try it and close the issue if it's resolved?
from permify.
Right now it seems to exit with the help flag; not sure how useful that is to have in your logs? Perhaps just exit cleanly with "retries exceeded, exiting"
from permify.
Also, the string formatting for the message seems broken (using same docker command as above):
time=2024-02-24T18:27:47.935Z level=ERROR msg="failed to migrate database: %w" !BADKEY="failed to connect to `host=localhost user=user database=db`: dial error (dial tcp [::1]:5432: connect: cannot assign requested address)"
time=2024-02-24T18:28:29.797Z level=ERROR msg="failed to initialize database: %w" !BADKEY="failed to connect to `host=localhost user=user database=db`: dial error (dial tcp [::1]:5432: connect: cannot assign requested address)"
from permify.
Hello @jbergstroem, we've made an update regarding this. Can you try it in v0.7.7?
from permify.
The error stings are now fixed but I still think its strange to exit with a help message? The user is not invoking the command incorrectly, rather passing incorrect options. I would prefer a final error message in style with "Could not connect to database after N retries. Exiting."
from permify.
Can you open a different issue for this? @jbergstroem
from permify.
Closing since it no longer panics.
Move the side thread about exit behavior to #1092
from permify.
Related Issues (20)
- Permify Should Display Error for Unsupported PostgreSQL Versions HOT 8
- Extend # in relation types to support permissions
- Add Permify Helm Charts to Setup Options on Documentation HOT 9
- Allow filtering by attributes/relations on permissions/lookup-entity
- Typos in documentation HOT 1
- Support postgresql schema for database layout
- Permify Config Command for Config Inspection HOT 12
- [BUG] "Enforcement" of the playground not works?
- Support exporting OTLP over gRPC HOT 9
- Don't exit with a help message HOT 9
- support cockroachdb + yugabytedb as additional engine support HOT 1
- Implement Enhanced Backoff Policy for JWKs Retrieval and Validation HOT 8
- [BUG] Flags are not being passed to serve command HOT 2
- Add JSON Output Option for Logger Configuration HOT 11
- Guided Tour Interface For Playground HOT 14
- [BUG/Q] Attribute value Any from Swagger definition HOT 1
- fly.io deployment
- More Meaningful Error Response HOT 6
- Missing Documentation for Service Section in Configuration File HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from permify.