Open Gargo opened 1 year ago
Hi @Gargo this should be fixed by now, let us know if you still get the error message.
@dianaafanador3 I posted a bug. Then you didn't fix it (no commits) but immediately wrote to confirm if the error message persists. What do you mean?
@Gargo This is something that is not code related, this is something in our backend where we track some debug metrics to ensure a better developer experience. I tested this and seems like the backend is not returning this error anymore, if you still see it, please let us know.
@dianaafanador3 I confirm this issue persists. How to disable these logs if they don't work properly?
I can confirm a local only Realm project using the above code compiles and works correctly with no errors at this time.
@Jaycyn in my case it compiles and works to but shows these inner realm errors. Does it depend on cpu (m2)?
@Gargo I don't believe so. It's working on both Intel and Apple Silicon for me, and am not seeing any error, inner or otherwise.
@Gargo it seems like an error parsing the metrics data we send to our backend, which could be caused from something specific to your environment, causing the data not be parsed correctly. The only way we can check this will be with an example of the payload. If you can send this to us that will be very helpful. Have in mind that the console log error doesn't mean that there is an issue on the realm or anything related to your data, and everything should be working fine.
@dianaafanador3 how to do that?
I actually was able to read this in our side, and this is caused by a no-common character which is not been encoded correctly and causing the error on our server, most probably is caused because your computer is in a language which is not completely supported, we'll take a look at this. Again, have in mind that the console log error doesn't mean that there is an issue on the realm or anything related to your data, and everything is working fine.
I have the same problem with console log.
@null-z which language do you have setup in your Mac?
@dianaafanador3 English
On which target OS are you running your App when this log?, Can you please share it?, you can get this by running po ProcessInfo.processInfo.operatingSystemVersion
on your Xcode console, while running the App.
@dianaafanador3
Also on the device the logs are slightly different
I'm using realm for the first time and when calling it I get an error.( let realm = try! Realm() Task <29112259-955B-4804-B7E2-641CEDBFADF1>.<2> HTTP load failed, 2752/0 bytes (error code: -1017 [4:-1])
@ZefsAl Can you include more context to the error? That line of code
let realm = try! Realm()
Is a local only realm but the error code indicates you may be using a sync'd realm?
Can you supply a minimal code example and also include your versions of the os, Realm, cocoapods (if used) and Xcode?
Also, if you add a breakpoint and step through your code line by line, does it crash on that specific line or elsewhere.
Lastly, do you have sandboxing turned on?
That's all I do: IOS App UIKit macOS Monterey 12.6.1 XCode 14/13
pod 'RealmSwift', '~>10' import RealmSwift let realm = try! Realm()
Everything seems to be working, I would like to know how to ignore/hide this error in the console (since it is quite large) I have attached the file, Thanks!
Just started getting this error again on a completely fresh project on a new Mac Studio
NSErrorFailingURLKey=https://data.mongodb-api.com/app/realmsdkmetrics-zmhtm/endpoint/metric_webhook/metric?data=...
Realm 10.44.0 macOS app SwiftUI macOS Sonoma 14.0 XCode 14 SPM to add Realm.
How frequently does the bug occur?
Always
Description
I just try to create realm database from your quick start and write something to this database: https://www.mongodb.com/docs/realm/sdk/swift/quick-start/ But even this simple code produces strange errors in console log
Stacktrace & log output
Can you reproduce the bug?
Always
Reproduction Steps
I just create a sample app with storyboards, connect RealmSwift through Cocoapods and change ViewController's code to the following:
Version
10.37.0
What Atlas Services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
iOS 16.2 (simulator)
Build environment
Xcode version: 14.2 Dependency manager and version: Cocoapods 1.12.0