firebase / firebase/firebase-tools

Auth function not triggered in emulator whenever http_proxy is set

Open
#4,386 4 comments 0 reactions 0 assignees View on GitHub
help-wanted type: bug
Dominant language
TypeScript
Stars
4.5k
Forks
1.3k
Avg merge
1d 12h
Merged PRs (30d)
84

Description

On Windows whenever http_proxy env. variable is set, functions emulator displays the following message instead of user().onCreate() handler being triggered:
`! functions: Firebase Authentication function was not triggered due to emulation error. Please file a bug.`

It does not matter if http_proxy is pointing to a correct proxy server or set to a dummy value. Having no_proxy=localhost does not mitigate the issues either. Seems that logging from HTTP functions is also impaired in that case.

Issue reproduces whether user is created from client side auth emulator UI or from admin SDK.
It was tested with a demo project.

### [REQUIRED] Environment info

firebase-tools: 10.5.0
firebase-functions: 3.19.0
openjdk version: 11.0.8

**Platform:** Windows

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.