Error: TIMEOUT: Port 8080 on localhost was not active within 30000ms
See original GitHub issuefirebase-debug.log
Cloud Firestore emulator quickstart
I am getting the Timeout error running the emulators:exec
command on an unchanged project.
I tried other ports 8081, 8082
and
$ sudo firebase emulators:exec --only firestore 'npm test'
$ firebase emulators:exec 'npm test'
$ firebase emulators:start
produced the same Timeout error.
./firebase/quickstart-nodejs/firestore-emulator/javascript-quickstart
macOS v 10.15.6
$ firebase --version
8.4.2
$ node --version
v14.4.0
$
$ firebase emulators:exec --only firestore 'npm test'
i emulators: Starting emulators: firestore
i firestore: Firestore Emulator logging to firestore-debug.log
i emulators: Shutting down emulators.
Error: TIMEOUT: Port 8080 on localhost was not active within 30000ms
Issue Analytics
- State:
- Created 3 years ago
- Reactions:13
- Comments:63 (14 by maintainers)
Top Results From Across the Web
Firebase cloud functions emulator times out after 30000 ms
... http://localhost:5001 i Shutting down emulators. i Stopping functions emulator Error: TIMEOUT: Port 5001 was not active within 30000ms.
Read more >Port 8080 is not open on localhost, could not start Firestore ...
This error is because of the failed quitting from firebase emulator. You already have the process of previous firebase emulator.
Read more >Firebase emulator (Firestore) times out on large dataset - Reddit
This causes a timeout error as follows: Error: TIMEOUT: Port 4000 was not active within 30000ms . Is there a way to increase...
Read more >Firebase Emulator で 8080 ポートにアクセスできない - Zenn
Error : TIMEOUT: Port 8080 on localhost was not active within 30000ms ... emulator quickstart I am getting the Timeout error running the...
Read more >JDBC_PING can not join Keycloak (AWS) instances - JBoss.org
GMS", but I get a timeout error, after which it turns to standalone mode. ... but they actively talk to the DB, and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I got the emulators running again by specifying host as “127.0.0.1” instead of the default “localhost”. I have no idea what changed that caused it to stop working on localhost. All I did was modify firebase.json like so to add
host
As @stansotn mentioned, downgrade to 16 node work for me too. Catalina (10.15.7), tools - 9.22.0