Skip to content
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

Address Search Function Not Working #360

Open
FrankieBurton opened this issue Oct 22, 2018 · 3 comments
Open

Address Search Function Not Working #360

FrankieBurton opened this issue Oct 22, 2018 · 3 comments
Assignees

Comments

@FrankieBurton
Copy link

Hi there,

Idil and I are both having issues using the address search function for https://adoptadrain.sfwater.org/. When we search nothing happens at all for many addresses (see image below). Please help since this is one of the main features of the app!

image

Thanks!

@jszwedko jszwedko self-assigned this Oct 23, 2018
@jszwedko
Copy link
Member

@FrankieBurton thanks for reporting this! That is a pretty big bug.

I'm pretty sure this happened due to the change in licensing terms of Google Maps recently; they no longer allow unauthenticated requests. If this is true, this has probably been broken for at least a few weeks.

I've went ahead and created a Google API key for the Geocoding API (which the search uses) and configured the application to use it. The limit on the key for free usage is 5000 requests per 100 seconds which I think should be suitable for the amount of traffic we see. It would be good for another person to have access to these credentials in case I am unavailable. Is there anyone at the PUC that might be a good candidate for that?

I would have expected this to show up in the error reporting, which would have alerted us. I dug around a little bit, but I'm not immediately sure why it wasn't surfaced there. Unfortunately, I don't have more time today, but this could be something for a future explorer to take a look at.

@FrankieBurton can you verify that it is working now for you?

@FrankieBurton
Copy link
Author

FrankieBurton commented Oct 23, 2018

Hi @jszwedko,

It is working now! Thanks so much. What kind of technical skill does the SFPUC person need to have to have access to those credentials? Could you train them (when you're back from Spain)? If someone in Communications does not have the skills then someone in the IT department may.

Thanks so much! I hope Spain is great! :)

@jszwedko
Copy link
Member

Hi @FrankieBurton,

The credentials are available via a web UI (Google API Console), but it is a little technical. I double checked that at least the Code for SF core team has access so that might be sufficient in terms of redundancy, but in terms of ownership let me know if you'd still like me to give access to someone (I'd just need an email address that is associated with a Google account). I'm happy to do a video call to quickly walk through the basics.

🇪🇸 is great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants