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

[TOOLS][IMPROVMENT] Http Errors need to be more verbose #1080

Open
moljac opened this issue Jan 24, 2025 · 4 comments
Open

[TOOLS][IMPROVMENT] Http Errors need to be more verbose #1080

moljac opened this issue Jan 24, 2025 · 4 comments

Comments

@moljac
Copy link
Contributor

moljac commented Jan 24, 2025

Android framework version

Other

Affected platform version

all

Description

Latest updates revealed more issues with HttpClient exception handling - logging needs more love (detailed info about artifacts with failed HTTP requests)

Dependency errors : 1
1
	System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at System.Net.Http.HttpClient.GetStreamAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)

Different cases in comments

Relevant log output

@moljac
Copy link
Contributor Author

moljac commented Jan 24, 2025

Dagger, Picasso

The problem is that update script uses version 2.55.0 while "correct" version is 2.55

      {
        "groupId": "com.google.dagger",
        "artifactId": "dagger",
        "version": "2.55.0",
        "nugetVersion": "2.55.0.1",
        "nugetId": "Xamarin.Google.Dagger",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "com.squareup.picasso",
        "artifactId": "picasso",
        "version": "2.71828.0",
        "nugetVersion": "2.71828.0",
        "nugetId": "Square.Picasso",
        "frozen": true,
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },

correct:

      {
        "groupId": "com.google.dagger",
        "artifactId": "dagger",
        "version": "2.55",
        "nugetVersion": "2.55.0.1",
        "nugetId": "Xamarin.Google.Dagger",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "com.squareup.picasso",
        "artifactId": "picasso",
        "version": "2.8",
        "nugetVersion": "2.8.0",
        "nugetId": "Square.Picasso",
        "frozen": true,
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },

@moljac moljac changed the title [TOOLS][IMPROVMENT] Http Errors [TOOLS][IMPROVMENT] Http Errors need to be more verbose Jan 24, 2025
@moljac
Copy link
Contributor Author

moljac commented Jan 24, 2025

Kotlin

    {
        "groupId": "org.jetbrains.kotlin",
        "artifactId": "kotlin-stdlib",
        "version": "2.1.0",
        "nugetVersion": "2.1.0",
        "nugetId": "Xamarin.Kotlin.StdLib",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlin",
        "artifactId": "kotlin-stdlib-common",
        "version": "2.1.0",
        "nugetVersion": "2.1.0",
        "nugetId": "Xamarin.Kotlin.StdLib.Common",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral",
        "metadata": {
          "friendlyName": "Common"
        }
      },
      {
        "groupId": "org.jetbrains.kotlin",
        "artifactId": "kotlin-stdlib-jdk7",
        "version": "2.1.0",
        "nugetVersion": "2.1.0",
        "nugetId": "Xamarin.Kotlin.StdLib.Jdk7",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral",
        "metadata": {
          "friendlyName": "JDK 7 extension"
        }
      },
      {
        "groupId": "org.jetbrains.kotlin",
        "artifactId": "kotlin-stdlib-jdk8",
        "version": "2.1.0",
        "nugetVersion": "2.1.0",
        "nugetId": "Xamarin.Kotlin.StdLib.Jdk8",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral",
        "metadata": {
          "friendlyName": "JDK 8 extension"
        }
      },

working

      {
        "groupId": "org.jetbrains.kotlin",
        "artifactId": "kotlin-stdlib",
        "version": "2.0.21",
        "nugetVersion": "2.0.21.2",
        "nugetId": "Xamarin.Kotlin.StdLib",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlin",
        "artifactId": "kotlin-stdlib-common",
        "version": "2.0.21",
        "nugetVersion": "2.0.21.2",
        "nugetId": "Xamarin.Kotlin.StdLib.Common",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral",
        "metadata": {
          "friendlyName": "Common"
        }
      },
      {
        "groupId": "org.jetbrains.kotlin",
        "artifactId": "kotlin-stdlib-jdk7",
        "version": "2.0.21",
        "nugetVersion": "2.0.21.2",
        "nugetId": "Xamarin.Kotlin.StdLib.Jdk7",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral",
        "metadata": {
          "friendlyName": "JDK 7 extension"
        }
      },
      {
        "groupId": "org.jetbrains.kotlin",
        "artifactId": "kotlin-stdlib-jdk8",
        "version": "2.0.21",
        "nugetVersion": "2.0.21.2",
        "nugetId": "Xamarin.Kotlin.StdLib.Jdk8",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral",
        "metadata": {
          "friendlyName": "JDK 8 extension"
        }
      },

@moljac
Copy link
Contributor Author

moljac commented Jan 24, 2025

KotlinX

Depends on Kotlin 2.1.0 (see previous comment)

      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "atomicfu",
        "version": "0.27.0",
        "nugetVersion": "0.27.0",
        "nugetId": "Xamarin.KotlinX.AtomicFU",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "atomicfu-jvm",
        "version": "0.27.0",
        "nugetVersion": "0.27.0",
        "nugetId": "Xamarin.KotlinX.AtomicFU.Jvm",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },

and

      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-coroutines-android",
        "version": "1.10.1",
        "nugetVersion": "1.10.1",
        "nugetId": "Xamarin.KotlinX.Coroutines.Android",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-coroutines-core",
        "version": "1.10.1",
        "nugetVersion": "1.10.1",
        "nugetId": "Xamarin.KotlinX.Coroutines.Core",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-coroutines-core-jvm",
        "version": "1.10.1",
        "nugetVersion": "1.10.1",
        "nugetId": "Xamarin.KotlinX.Coroutines.Core.Jvm",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-coroutines-guava",
        "version": "1.10.1",
        "nugetVersion": "1.10.1",
        "nugetId": "Xamarin.KotlinX.Coroutines.Guava",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-coroutines-jdk8",
        "version": "1.10.1",
        "nugetVersion": "1.10.1",
        "nugetId": "Xamarin.KotlinX.Coroutines.Jdk8",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-coroutines-play-services",
        "version": "1.10.1",
        "nugetVersion": "1.10.1",
        "nugetId": "Xamarin.KotlinX.Coroutines.Play.Services",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-coroutines-reactive",
        "version": "1.10.1",
        "nugetVersion": "1.10.1",
        "nugetId": "Xamarin.KotlinX.Coroutines.Reactive",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-coroutines-rx2",
        "version": "1.10.1",
        "nugetVersion": "1.10.1",
        "nugetId": "Xamarin.KotlinX.Coroutines.Rx2",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-coroutines-rx3",
        "version": "1.10.1",
        "nugetVersion": "1.10.1",
        "nugetId": "Xamarin.KotlinX.Coroutines.Rx3",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-serialization-core",
        "version": "1.8.0",
        "nugetVersion": "1.8.0",
        "nugetId": "Xamarin.KotlinX.Serialization.Core",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-serialization-core-jvm",
        "version": "1.8.0",
        "nugetVersion": "1.8.0",
        "nugetId": "Xamarin.KotlinX.Serialization.Core.Jvm",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-serialization-protobuf",
        "version": "1.8.0",
        "nugetVersion": "1.8.0",
        "nugetId": "Xamarin.KotlinX.Serialization.Protobuf",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-serialization-protobuf-jvm",
        "version": "1.8.0",
        "nugetVersion": "1.8.0",
        "nugetId": "Xamarin.KotlinX.Serialization.Protobuf.Jvm",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },

working:

      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "atomicfu",
        "version": "0.26.1",
        "nugetVersion": "0.26.1.1",
        "nugetId": "Xamarin.KotlinX.AtomicFU",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "atomicfu-jvm",
        "version": "0.26.1",
        "nugetVersion": "0.26.1.1",
        "nugetId": "Xamarin.KotlinX.AtomicFU.Jvm",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-coroutines-android",
        "version": "1.9.0",
        "nugetVersion": "1.9.0.2",
        "nugetId": "Xamarin.KotlinX.Coroutines.Android",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-coroutines-core",
        "version": "1.9.0",
        "nugetVersion": "1.9.0.2",
        "nugetId": "Xamarin.KotlinX.Coroutines.Core",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-coroutines-core-jvm",
        "version": "1.9.0",
        "nugetVersion": "1.9.0.2",
        "nugetId": "Xamarin.KotlinX.Coroutines.Core.Jvm",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-coroutines-guava",
        "version": "1.9.0",
        "nugetVersion": "1.9.0.2",
        "nugetId": "Xamarin.KotlinX.Coroutines.Guava",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-coroutines-jdk8",
        "version": "1.9.0",
        "nugetVersion": "1.9.0.2",
        "nugetId": "Xamarin.KotlinX.Coroutines.Jdk8",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-coroutines-play-services",
        "version": "1.9.0",
        "nugetVersion": "1.9.0.2",
        "nugetId": "Xamarin.KotlinX.Coroutines.Play.Services",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-coroutines-reactive",
        "version": "1.9.0",
        "nugetVersion": "1.9.0.2",
        "nugetId": "Xamarin.KotlinX.Coroutines.Reactive",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-coroutines-rx2",
        "version": "1.9.0",
        "nugetVersion": "1.9.0.2",
        "nugetId": "Xamarin.KotlinX.Coroutines.Rx2",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-coroutines-rx3",
        "version": "1.9.0",
        "nugetVersion": "1.9.0.2",
        "nugetId": "Xamarin.KotlinX.Coroutines.Rx3",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-serialization-core",
        "version": "1.7.3",
        "nugetVersion": "1.7.3.2",
        "nugetId": "Xamarin.KotlinX.Serialization.Core",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-serialization-core-jvm",
        "version": "1.7.3",
        "nugetVersion": "1.7.3.2",
        "nugetId": "Xamarin.KotlinX.Serialization.Core.Jvm",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-serialization-protobuf",
        "version": "1.7.3",
        "nugetVersion": "1.7.3.2",        
        "nugetId": "Xamarin.KotlinX.Serialization.Protobuf",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.jetbrains.kotlinx",
        "artifactId": "kotlinx-serialization-protobuf-jvm",
        "version": "1.7.3",
        "nugetVersion": "1.7.3.2",
        "nugetId": "Xamarin.KotlinX.Serialization.Protobuf.Jvm",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },

@moljac
Copy link
Contributor Author

moljac commented Jan 24, 2025

TensorFlow 2.17.0

Problems:

      {
        "groupId": "org.tensorflow",
        "artifactId": "tensorflow-android",
        "version": "1.13.1",
        "nugetVersion": "1.13.1.12",
        "nugetId": "Xamarin.TensorFlow.Android",
        "assemblyName": "org.tensorflow.tensorflow-android",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.tensorflow",
        "artifactId": "tensorflow-lite",
        "version": "2.17.0",
        "nugetVersion": "2.17.0",
        "nugetId": "Xamarin.TensorFlow.Lite",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.tensorflow",
        "artifactId": "tensorflow-lite-api",
        "version": "2.17.0",
        "nugetVersion": "2.17.0",
        "nugetId": "Xamarin.TensorFlow.Lite.Api",
        "assemblyName": "org.tensorflow.tensorflow-lite-api",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.tensorflow",
        "artifactId": "tensorflow-lite-gpu",
        "version": "2.17.0",
        "nugetVersion": "2.17.0",
        "nugetId": "Xamarin.TensorFlow.Lite.Gpu",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.tensorflow",
        "artifactId": "tensorflow-lite-gpu-api",
        "version": "2.17.0",
        "nugetVersion": "2.17.0",
        "nugetId": "Xamarin.TensorFlow.Lite.Gpu.Api",
        "assemblyName": "org.tensorflow.tensorflow-lite-gpu-api",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.tensorflow",
        "artifactId": "tensorflow-lite-select-tf-ops",
        "version": "2.17.0",
        "nugetVersion": "2.17.0",
        "nugetId": "Xamarin.TensorFlow.Lite.Select.TF.Ops",
        "assemblyName": "org.tensorflow.tensorflow-lite-select-tf-ops",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },

Working:

      {
        "groupId": "org.tensorflow",
        "artifactId": "tensorflow-lite",
        "version": "2.16.1",
        "nugetVersion": "2.16.1.4",
        "nugetId": "Xamarin.TensorFlow.Lite",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.tensorflow",
        "artifactId": "tensorflow-lite-api",
        "version": "2.16.1",
        "nugetVersion": "2.16.1.4",
        "nugetId": "Xamarin.TensorFlow.Lite.Api",
        "assemblyName": "org.tensorflow.tensorflow-lite-api",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.tensorflow",
        "artifactId": "tensorflow-lite-gpu",
        "version": "2.16.1",
        "nugetVersion": "2.16.1.4",
        "nugetId": "Xamarin.TensorFlow.Lite.Gpu",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.tensorflow",
        "artifactId": "tensorflow-lite-gpu-api",
        "version": "2.16.1",
        "nugetVersion": "2.16.1.4",
        "nugetId": "Xamarin.TensorFlow.Lite.Gpu.Api",
        "assemblyName": "org.tensorflow.tensorflow-lite-gpu-api",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },
      {
        "groupId": "org.tensorflow",
        "artifactId": "tensorflow-lite-select-tf-ops",
        "version": "2.16.1",
        "nugetVersion": "2.16.1.4",
        "nugetId": "Xamarin.TensorFlow.Lite.Select.TF.Ops",
        "assemblyName": "org.tensorflow.tensorflow-lite-select-tf-ops",
        "type": "androidlibrary",
        "mavenRepositoryType": "MavenCentral"
      },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant