Skip to content

Firebase with nameko #529

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

Closed
Riglanto opened this issue Feb 1, 2021 · 3 comments
Closed

Firebase with nameko #529

Riglanto opened this issue Feb 1, 2021 · 3 comments

Comments

@Riglanto
Copy link

Riglanto commented Feb 1, 2021

Calling firebase admin from nameko rpc results in blocked api calls to:

Making request: POST https://oauth2.googleapis.com/token
Starting new HTTPS connection (1): oauth2.googleapis.com:443 # After that nothing happens

I've even created as SO post about that - you can see more details here: https://stackoverflow.com/questions/65959369/firestore-https-calls-blocked-inside-the-nameko-rpc-function

Difficult to say if that's an issue or async calls are still not supported as discussed here: #104

As REST is no longer supported - Database secrets are currently deprecated - the only workaround is to call it via separated python script and subprocess.run() method.

Looking forward to any comments or clarification.

@google-oss-bot
Copy link

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

@hiranya911
Copy link
Contributor

Not familiar with nameko. You should probably try running the google-cloud-firestore package directly within your framework to see if that's supported.

@hiranya911
Copy link
Contributor

I'm going to close this. If the problem continues to exist, I'd suggest reaching out to the Firestore Python project or the Nameko community.

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

No branches or pull requests

3 participants