TuningFork:Web: java.io.FileNotFoundException:
- Dominant language
- C#
- Stars
- 62
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
Hello! Im trying to use Android Performance Tuner in Unity, but on sending data have this error
01-18 09:03:54.184 27895 28078 I TuningFork:Web: Response code: 403
01-18 09:03:54.184 27895 28078 I TuningFork:Web: Response message: Forbidden
01-18 09:03:54.185 27895 28078 W TuningFork:Web: java.io.FileNotFoundException: https://performanceparameters.googleapis.com/v1/applications/com.company.name/apks/30:uploadTelemetry
01-18 09:03:54.185 27895 28078 W TuningFork.GE: Error 15 when sending UPLOAD request
Also on initialition step i have this
01-18 09:03:53.836 27895 27964 I UnityTuningfork: libunity.so is found
01-18 09:03:53.836 27895 27964 I UnityTuningfork: UnitySwappy_injectTracer is found
01-18 09:03:53.836 27895 27964 I UnityTuningfork: libunity.so is found
01-18 09:03:53.836 27895 27964 I UnityTuningfork: UnitySwappy_version is found
01-18 09:03:53.836 27895 27964 I UnityTuningfork: Unity Swappy version: [65543]
01-18 09:03:53.836 27895 27964 I TuningFork: Got settings from tuningfork/tuningfork_settings.bin
01-18 09:03:53.836 27895 27964 I TuningFork: Using local file cache at /data/user/0/com.war.no/cache/tuningfork
01-18 09:03:53.838 27895 27964 I TuningForkUtils: OpenGL version 3.2
01-18 09:03:53.838 27895 27964 I TuningFork: TuningFork.GoogleEndpoint: OK
01-18 09:03:53.839 27895 27964 E TuningFork: Could not open /proc/0/status
01-18 09:03:53.839 27895 27964 I TuningFork: TuningFork Settings:
01-18 09:03:53.839 27895 27964 I TuningFork: method: 1
01-18 09:03:53.839 27895 27964 I TuningFork: interval: 30000
01-18 09:03:53.839 27895 27964 I TuningFork: n_ikeys: 4
01-18 09:03:53.839 27895 27964 I TuningFork: n_annotations: 1
01-18 09:03:53.839 27895 27964 I TuningFork: n_histograms: 4
01-18 09:03:53.839 27895 27964 I TuningFork: base_uri: https://performanceparameters.googleapis.com/v1/
01-18 09:03:53.839 27895 27964 I TuningFork: api_key: AIzaSyBAR95TgOerOeUXsR8DjlhxM0GabWWGIzQ
01-18 09:03:53.839 27895 27964 I TuningFork: fp filename: dev_tuningfork_fidelityparams_1.bin
01-18 09:03:53.839 27895 27964 I TuningFork: itimeout: 1000
01-18 09:03:53.839 27895 27964 I TuningFork: utimeout: 100000
01-18 09:03:53.839 27895 27964 I TuningFork: Settings::Histograms
01-18 09:03:53.839 27895 27964 I TuningFork: ikey: 64000 min: 6.540000 max: 60.000000 nbkts: 200
01-18 09:03:53.839 27895 27964 I TuningFork: ikey: 64001 min: 10.000000 max: 40.000000 nbkts: 30
01-18 09:03:53.839 27895 27964 I TuningFork: ikey: 64003 min: 0.000000 max: 20.000000 nbkts: 30
01-18 09:03:53.839 27895 27964 I TuningFork: ikey: 64002 min: 0.000000 max: 20.000000 nbkts: 30
01-18 09:03:53.839 27895 27964 I TFCrashHandler: CrashHandler initialized
01-18 09:03:53.839 27895 27964 I TuningFork: Got PAUSED histograms: {"name": "applications/com.war.no/apks/30", "session_context": {"device": {"brand": "motorola", "build_version": "30", "cpu_core_freqs_hz": [2000000000, 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, 2000000000], "device": "kyoto", "fingerprint": "motorola/kyoto_retaile/kyoto:11/RRKS31.Q3-19-97-12/f2fd37:user/release-keys", "gles_version": {"major": 3, "minor": 2}, "model": "motorola edge 20 lite", "product": "kyoto_retaile", "soc_manufacturer": "", "soc_model": "", "swap_total_bytes": 6015520768, "total_memory_bytes": 8020701184}, "game_sdk_info": {"session_id": "f2659c25-35b9-45da-b7f9-358a6151a3e5", "swappy_version": "1.7.0", "version": "1.5.0"}, "time_period": {"end_time": "2023-01-18T13:57:07.250035Z", "start_time": "2023-01-18T13:56:37.253468Z"}}, "telemetry": [{"context": {"annotations": "CAI=", "duration": "29.99656654s", "tuning_parameters": {"experiment_id": "", "serialized_fidelity_parameters": ""}}, "report": {"memory": {"memory_event": [{"avail_mem
01-18 09:03:53.839 27895 28078 I TuningFork:Web: Connecting to: https://performanceparameters.googleapis.com/v1/applications/com.war.no/apks/30:uploadTelemetry
01-18 09:03:53.839 27895 27964 I TuningFork: Deserializing saved session
01-18 09:03:53.839 27895 27964 I TuningFork: TuningFork initialized
01-18 09:03:53.839 27895 27964 I UnityTuningfork: Swappy backend: 2
01-18 09:03:53.844 27895 28079 E TuningFork: Could not open /proc/0/oom_score
I have INTERNET ACCESS and WIFI ACCESS in my manifest
My be you can say what could be wrong ?
Contributor guide
Research direction
Start with the Unity Android Performance Tuner integration and the logged TuningFork.GoogleEndpoint configuration, then review the manifest and the 403 request to the uploadTelemetry URL. Reproduce the reported initialization and upload logs; done means identifying the configuration or authorization cause and documenting a verified successful upload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, csharp, unity
- Domain
- api, game-dev, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100