New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Layer reporting for postgis authentication failure #1046
Comments
What did the auth errors look like for you? |
Sorry, needed more context: this is taken from http://support.mapbox.com/discussions/general-questions/444-mapbox-throws-no-errors-but-doesnt-render-a-map
|
FATAL: password authentication failed for user "your_user"" -- this is what libpq (client library) reports. I appended 'connection_str' in 19deb86 so you should get something like :
In future, we should move fancy error message formatting out of mapnik core into client code (#1044) |
connection string was intentionally NOT printed there so that the password would not appear. If we print it then I think we'll need a custom "safe" version of the connection string. |
Good point :) On Jan 24, 2012 7:31 PM, "Dane Springmeyer" <
|
closing, "Safe" version added in 9afaf09 |
Certain PostGIS failures log the name of the layer and map, like tables not existing, but auth errors include no such metadata. We should add a similar level of logging against errors if possible.
The text was updated successfully, but these errors were encountered: