firebase / firebase/firebase-js-sdk

Cannot use https schemes with useEmulator

Open
#4,124 17 comments 9 reactions 0 assignees View on GitHub
api: functions feature request internal-bug-filed
Dominant language
TypeScript
Stars
5.1k
Forks
1k
Avg merge
2d 21h
Merged PRs (30d)
37

Description

### Describe your environment

* Operating System version: Mac OS Catalina 10.15.7
* Browser version: Chrome Version 87.0.4280.67 (Build officiel) (x86_64)
* Firebase SDK version: 8.0.1
* Firebase Product: Functions

### Describe the problem

When I use `useEmulator` I cannot use `https` event if I set a port at `443`. But with deprecated `useFunctionsEmulator` I can use `https`

#### Steps to reproduce:
##### Code
```typescript
useEmulator('blabla.com', 443)
```
##### Chrome console
```console
index.esm.js?7dc7:490 POST http://blabla.com:443/my-project-id/europe-...
```

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.