You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm calling _database.setPersistenceEnabled(true) and also called FirebaseDart.setup(storagePath: 'E:/firebasedart');
but whenever i'm calling ref() but this is not working
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Failed host lookup: 'firebasestorage.googleapis.com'
#0 IOClient.send (package:http/src/io_client.dart:88:7)
this stack trace has to do with firebase storage, not the database. It seems you are getting this error when uploading a file to storage. So, I don't see how this can be related to setting persistence.
I'm calling _database.setPersistenceEnabled(true) and also called FirebaseDart.setup(storagePath: 'E:/firebasedart');
but whenever i'm calling ref() but this is not working
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Failed host lookup: 'firebasestorage.googleapis.com'
#0 IOClient.send (package:http/src/io_client.dart:88:7)
#1 Future.timeout. (dart:async/future_impl.dart:871:15)
#2 HttpClient.send (package:firebase_dart/src/storage/impl/http_client.dart:34:9)
#3 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93:32)
#4 ResourceClient.multipartUpload (package:firebase_dart/src/storage/impl/resource_client.dart:127:20)
#5 UploadTaskImpl._oneShotUpload (package:firebase_dart/src/storage/impl/task.dart:334:23)
#6 UploadTaskImpl._start. (package:firebase_dart/src/storage/impl/task.dart:146:9)
#7 objectSynchronized. (package:synchronized/src/extension_impl.dart:37:18)
#8 BasicLock.synchronized (package:synchronized/src/basic_lock.dart:33:16)
#9 objectSynchronized (package:synchronized/src/extension_impl.dart:34:12)
please correct me if I'm doing something wrong
The text was updated successfully, but these errors were encountered: