Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session Replays: dashboard is empty #9

Open
iramzyy opened this issue Sep 30, 2024 · 4 comments
Open

Session Replays: dashboard is empty #9

iramzyy opened this issue Sep 30, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@iramzyy
Copy link

iramzyy commented Sep 30, 2024

Expected Behavior

I should see the recorded sessions on the dashboard

Current Behavior

The dashboard is empty and i'm getting this error in the Xcode consle:

Error: [StorageCoordinator] Failed to upload block file:///var/mobile/Containers/Data/Application/725D448F-E8AD-424C-AF73-416FEB9D40D5/Library/Application%20Support/com.amplitude.sessionreplay/f18ccdf553d28a4794706249bb383587/CA9152FD-6347-43BF-9976-5CB6C6F0BAAC_1727772540273_0.replay: Error Domain=NSCocoaErrorDomain Code=260 "The file “CA9152FD-6347-43BF-9976-5CB6C6F0BAAC_1727772540273_0.replay” couldn’t be opened because there is no such file." UserInfo={NSURL=file:///var/mobile/Containers/Data/Application/725D448F-E8AD-424C-AF73-416FEB9D40D5/Library/Application%20Support/com.amplitude.sessionreplay/f18ccdf553d28a4794706249bb383587/CA9152FD-6347-43BF-9976-5CB6C6F0BAAC_1727772540273_0.replay, NSFilePath=/var/mobile/Containers/Data/Application/725D448F-E8AD-424C-AF73-416FEB9D40D5/Library/Application Support/com.amplitude.sessionreplay/f18ccdf553d28a4794706249bb383587/CA9152FD-6347-43BF-9976-5CB6C6F0BAAC_1727772540273_0.replay, NSUnderlyingError=0x301610c00 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}

Steps to Reproduce

My current Implementation is:

import AmplitudeSwift
import AmplitudeSwiftSessionReplayPlugin

    let amplitude = Amplitude(configuration: Configuration(apiKey: XXXX,
                                                           logLevel: .DEBUG,
                                                           autocapture: [.appLifecycles,
                                                                                           .sessions]))

   amplitude.add(plugin: AmplitudeSwiftSessionReplayPlugin(sampleRate: 1))

And i have enabled the session replay from the dashboard settings
Screenshot 2024-09-30 at 4 47 01 PM

Environment

I'm Using iOS SDK

  • AmplitudeSessionReplay 0.0.2
  • AmplitudeSwift 1.9.2
  • AmplitudeSwiftSessionReplayPlugin (0.0.2)
@iramzyy iramzyy added the bug Something isn't working label Sep 30, 2024
@iramzyy iramzyy changed the title Session Replays dashboard is empty Session Replays: dashboard is empty Sep 30, 2024
@iramzyy iramzyy closed this as completed Oct 1, 2024
@iramzyy iramzyy reopened this Oct 8, 2024
@iramzyy
Copy link
Author

iramzyy commented Oct 8, 2024

Session is recorded only if it's the first launch after i open the app for the second time i'm getting this error and sessions is not recorded

Error: [StorageCoordinator] Failed to clean up block file:///Users/ahmedramzy/Library/Developer/CoreSimulator/Devices/CFBDF940-2876-4E25-9347-41499DF3F854/data/Containers/Data/Application/FCF208A8-624E-465F-AD10-64C5CAEC1E81/Library/Application%20Support/com.amplitude.sessionreplay/f18ccdf553d28a4794706249bb383587/7DE226AB-B695-43E9-9234-187BED76195B_1728387223326_1.replay

@crleona
Copy link
Collaborator

crleona commented Oct 9, 2024

Hi @iramzyy, please update to v0.0.8 if you haven't already.

@iramzyy
Copy link
Author

iramzyy commented Oct 10, 2024

Already updated and still the same problem @crleona

@crleona
Copy link
Collaborator

crleona commented Nov 5, 2024

Hi @iramzyy, sorry for the delayed replay. We've fixed a few more setup issues in the latest version (0.0.12). If that still doesn't resolve the issue, could I ask you to share your full Amplitude setup code? (ie, are there any additional configurations around serverZone or serverURL)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants