Received status code 401 from server: Unauthorized

Good morning, I have two projects in android studio.

One with version of kotlin ext.kotlin_version = '1.3.61' when compiling the project in android studio, I get the following:

Could not HEAD 'https://jitpack.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom'. Received status code 401 from server: Unauthorized
Disable Gradle 'offline mode' and sync project

Another with version de kotlin ext.kotlin_version = "1.5.0", al compilar el proyecto en android studio me sale otro error:

I do not know what I am doing wrong or what is happening, I am writing here requesting your help, please, very kind, thank you very much.

You are using gradle offline mode,so that dependencies cannot download,please off the offline mode in gradle setting; The second qusetion beacuse you use Androidx in your project,follow the guide to fix it.

You are using gradle offline mode,so that dependencies cannot download,please off the offline mode in gradle setting; The second qusetion beacuse you use Androidx in your project,follow the guide to fix it.

same problem with me, and the gradle is not on offline mode
Could not resolve com.github.barteksc:android-pdf-viewer:2.8.2.      Required by:          project :app > project :react-native-view-pdf       > Could not resolve com.github.barteksc:android-pdf-viewer:2.8.2.          > Could not get resource 'https://jitpack.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom'.             > Could not GET 'https://jitpack.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom'. Received status code 401 from server: Unauthorized

Facing same issue, release blocked, unable to create build, please help.

i think JCenter is become more unstable, since it will be shutdown in february 2022, hope author will move it to MavenCentral soon

Only the version 2.3.0 is working in my case:
implementation 'com.github.barteksc:AndroidPdfViewer:2.3.0'

Try this kotlin version
implementation 'io.github.ahmerafzal1:ahmer-pdfium:1.7.0'
And
implementation 'io.github.ahmerafzal1:ahmer-pdfviewer:1.6.0'
Maybe helps you

Hi, I found the link below and guess they changed the name. I solved it by changing the dependency as follows: implementation 'com.github.barteksc:AndroidPdfViewer:2.8.0'
https://jitpack.io/p/barteksc/AndroidPdfViewer

Thank you so much.

I resolved it by adding jcenter() to my repositories
allprojects {
repositories {
mavenCentral()
google()
jcenter()
}
}
You may need to do so in your buildscript if you are using it as well
Using version com.github.barteksc:android-pdf-viewer:3.2.0-beta.1 right now

dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}

dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
    jcenter()  //  imp
}

}

Working for me. Thanks

When attempting to build, I'm receiving the following error:
`Execution failed for task ':app:checkDebugAarMetadata'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not resolve com.github.barteksc:android-pdf-viewer:2.8.2.
Required by:
project :app > project :react-native-view-pdf
Could not resolve com.github.barteksc:android-pdf-viewer:2.8.2.
Could not get resource 'https://www.jitpack.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom'.
Could not GET 'https://www.jitpack.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom'. Received status code 401 from server: Unauthorized
`

To resolve this, I made the following adjustments in my project:
In android/build.gradle, add/update these configurations:
ext {
    buildToolsVersion = "30.0.3"
    minSdkVersion = 26
    compileSdkVersion = 33
    targetSdkVersion = 34
    ndkVersion = "21.4.7075529"
    androidXBrowser = "1.4.0"
    pdfViewerVersion = "3.1.0-beta.1" // ---->> Add this
}
repositories {
    maven { url "https://plugins.gradle.org/m2/" }
    google()
    mavenCentral()
}
allprojects {
    configurations.all {
        resolutionStrategy {
            force "com.facebook.react:react-native:" + REACT_NATIVE_VERSION
            dependencySubstitution { // ---->> Add this
                substitute(module("com.github.barteksc:android-pdf-viewer")).using(module("com.github.mhiew:android-pdf-viewer:3.2.0-beta.3")).because("401 error in main repo")
            }
        }
    }
}
repositories {
    mavenCentral()   // ---->>> try addoing this
    mavenLocal()   // ---->>> try addoing this
    maven {
        url("$rootDir/../node_modules/react-native/android")
    }
    maven {
        url("$rootDir/../node_modules/jsc-android/dist")
    }
    mavenCentral {
        content {
            excludeGroup "com.facebook.react"
        }
    }
    google()
    maven { url 'https://www.jitpack.io' }
    gradlePluginPortal()  // ---->>> try addoing this
    jcenter() // ---->> Add this
}

Additionally, update android/app/build.gradle by adding the following block after defaultConfig { ... }
packagingOptions {
    pickFirst 'lib/x86/libc++_shared.so'
    pickFirst 'lib/x86_64/libc++_shared.so'
    pickFirst 'lib/armeabi-v7a/libc++_shared.so'
    pickFirst 'lib/arm64-v8a/libc++_shared.so'
}

Here is the solution
Step - 1: Add it in your root build.gradle at the end of repositories:
	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Step - 2: Add the dependency
implementation 'com.github.barteksc:AndroidPdfViewer:2.3.0'

Tried this solution by @tawhidmonowar.

cleared caches, cleaned project and rebuild after
Getting these errors:

Duplicate class com.github.barteksc.pdfviewer.AnimationManager found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.AnimationManager$XAnimation found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.AnimationManager$YAnimation found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.AnimationManager$ZoomAnimation found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.BuildConfig found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.CacheManager found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.CacheManager$PagePartComparator found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.DecodingAsyncTask found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.DragPinchManager found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.PDFView found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.PDFView$1 found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.PDFView$Configurator found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.PDFView$ScrollDir found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.PDFView$State found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.PagesLoader found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.PagesLoader$1 found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.PagesLoader$GridSize found in modules jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.PagesLoader$Holder found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.PagesLoader$RenderRange found in modules jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.PdfFile found in modules jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.RenderingHandler found in modules jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.RenderingHandler$1 found in modules jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.RenderingHandler$2 found in modules jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.RenderingHandler$RenderingTask found in modules jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.exception.FileNotFoundException found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.exception.PageRenderingException found in modules jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.link.DefaultLinkHandler found in modules jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.link.LinkHandler found in modules jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.listener.Callbacks found in modules jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.listener.OnDrawListener found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.listener.OnErrorListener found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.listener.OnLoadCompleteListener found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.listener.OnLongPressListener found in modules jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.listener.OnPageChangeListener found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.listener.OnPageErrorListener found in modules jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.listener.OnPageScrollListener found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.listener.OnRenderListener found in modules jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.listener.OnTapListener found in modules jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.model.LinkTapEvent found in modules jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.model.PagePart found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.scroll.DefaultScrollHandle found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.scroll.DefaultScrollHandle$1 found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.scroll.ScrollHandle found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.source.AssetSource found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.source.ByteArraySource found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.source.DocumentSource found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.source.FileSource found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.source.InputStreamSource found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.source.UriSource found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.util.ArrayUtils found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.util.Constants found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.util.Constants$Cache found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.util.Constants$Pinch found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.util.FileUtils found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.util.FitPolicy found in modules jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.util.MathUtils found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.util.PageSizeCalculator found in modules jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.util.PageSizeCalculator$1 found in modules jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.util.SnapEdge found in modules jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.github.barteksc.pdfviewer.util.Util found in the following modules: jetified-AndroidPdfViewer-2.3.0-runtime (com.github.barteksc:AndroidPdfViewer:2.3.0), jetified-AndroidPdfViewer-4.0.1-runtime (com.github.zacharee:AndroidPdfViewer:4.0.1) and jetified-android-pdf-viewer-3.2.0-beta.3-runtime (com.github.mhiew:android-pdf-viewer:3.2.0-beta.3)
Duplicate class com.shockwave.pdfium.BuildConfig found in modules jetified-pdfium-android-1.5.0-runtime (com.github.barteksc:pdfium-android:1.5.0) and jetified-pdfium-android-1.9.2-runtime (com.github.mhiew:pdfium-android:1.9.2)
Duplicate class com.shockwave.pdfium.PdfDocument found in modules jetified-pdfium-android-1.5.0-runtime (com.github.barteksc:pdfium-android:1.5.0) and jetified-pdfium-android-1.9.2-runtime (com.github.mhiew:pdfium-android:1.9.2)
Duplicate class com.shockwave.pdfium.PdfDocument$Bookmark found in modules jetified-pdfium-android-1.5.0-runtime (com.github.barteksc:pdfium-android:1.5.0) and jetified-pdfium-android-1.9.2-runtime (com.github.mhiew:pdfium-android:1.9.2)
Duplicate class com.shockwave.pdfium.PdfDocument$Meta found in modules jetified-pdfium-android-1.5.0-runtime (com.github.barteksc:pdfium-android:1.5.0) and jetified-pdfium-android-1.9.2-runtime (com.github.mhiew:pdfium-android:1.9.2)
Duplicate class com.shockwave.pdfium.PdfPasswordException found in modules jetified-pdfium-android-1.5.0-runtime (com.github.barteksc:pdfium-android:1.5.0) and jetified-pdfium-android-1.9.2-runtime (com.github.mhiew:pdfium-android:1.9.2)
Duplicate class com.shockwave.pdfium.PdfiumCore found in modules jetified-pdfium-android-1.5.0-runtime (com.github.barteksc:pdfium-android:1.5.0) and jetified-pdfium-android-1.9.2-runtime (com.github.mhiew:pdfium-android:1.9.2)

Remove this implementation 'com.github.barteksc:AndroidPdfViewer:3.2.0-beta.3

5 hours later and no solution works on the internet, even chatGPT cannot help me.

Remove this implementation 'com.github.barteksc:AndroidPdfViewer:3.2.0-beta.3
//plus

Try this kotlin version implementation 'io.github.ahmerafzal1:ahmer-pdfium:1.7.0' And implementation 'io.github.ahmerafzal1:ahmer-pdfviewer:1.6.0' Maybe helps you

Can you tell me how to use these libraries?

5 hours later and no solution works on the internet, even chatGPT cannot help me.

Then how did you solve the problem?

I decided to not display pdf document on the inferior Android version. So we will tell our customers to stop being poor and buy an Apple product with (default sdk PDFView) like normal human being or simply use Windows since our Windows version use Webview2 that display local pdf natively. Android is not worth the effort, only 3% of our customers use these garbage.

went through similar issues for implementation 'com.github.barteksc:android-pdf-viewer:2.8.2'.
I got it working in my android project as:
implementation 'com.github.barteksc:AndroidPdfViewer:master-SNAPSHOT'
also my settings.gradle config looks like this:
repositories {
google()
mavenCentral()
maven { url 'https://www.jitpack.io' }
}
Finally initialised pdf as:
pdfView.fromAsset(PDF_FILE_NAME)
.pages(0, 2, 1, 3, 3, 3)
.enableSwipe(true)
.swipeHorizontal(false)
.enableDoubletap(true)
.defaultPage(0)
.password(null)
.scrollHandle(null)
.enableAntialiasing(true)
.spacing(0)
.load();
its loading the pdf.

import com.github.barteksc.pdfviewer.PDFView
I get : Unresolved reference: com

import com.github.barteksc.pdfviewer.PDFView
I get : Unresolved reference: com

try File > Invalidate Caches

i would if possible still prefer '2.8.2' (or some x.x.x) over master-SNAPSHOT. only thing was that for me master-SNAPSHOT got my project working back. master-SNAPSHOT just pulls the latest commit version of a library. I just hinted for Invalidate caches for removing anything from earlier failed builds in the android studio which could cause conflict.

The AndroidPDFViewer is working the first time the app start, but it only works 1 time. My app has many tabs that can open multiple pdf viewer. So disconnecting the view from my hierarchy and reconnecting it later works for everything, but not the AndroidPDFViewer. Even the loading of a pdf will crash the app in the second pdfviewer without triggering any onError, onPageError and not triggering the try catch inside that I put around the fromFile(... The android log does not say anything that caused the crash.
So AndroidPDFViewr is very unstable and probably useless for an app that dynamically add and remove stuff. I will probably stop trying to use an external library that is obviously not well made. I will render the pdf pages myself with the default Android library and put them inside a scroll.
I tried, but AndroidPDFViewer is broken in its current state.

/**
* For Pdf file
*/
implementation ("com.github.barteksc:AndroidPdfViewer:2.0.2")
maven { url = uri("https://jitpack.io") }

It did not resolve anything.
original setup :
relativeLayoutA
relativeLayouteB
pdfView <----------Display a loaded pdf
disconnect relativeLayoutA.removeAllViews() :
relativeLayouteB
pdfView
reconnect relativeLayoutA.addView(relativeLayoutB) :
relativeLayoutA
relativeLayouteB
pdfView <----------Display nothing
loading another or the same pdf at this point does nothing.

I will simplify my code to reproduce the problem.
relativeLayout.addView(pdfView)
pdfView.load("my file.pdf") //You see the pdf

//20 seconds later
relativeLayout.removeAllViews()
relativeLayout.addView(pdfView)

The pdfView is there and you see it, but the pdf do not display ever again, even if you load() again

	implementation 'com.github.barteksc:AndroidPdfViewer:2.0.2'
try this,  looks like library is renamed.

Thanks, but I already made my own PDF Viewer now. Hope this will help someone else.

/** * For Pdf file */ implementation ("com.github.barteksc:AndroidPdfViewer:2.0.2")
maven { url = uri("https://jitpack.io") }

As of today it works. Thanks @jurabek003

You're welcome, I'm glad I could help you.  pravynandas


OLGA-30

https://youtrack.raccoongang.com/issue/OLGA-30

Codecov Report

Merging #135 into develop will decrease coverage by 0.66%.
The diff coverage is 93.33%.

@@             Coverage Diff             @@
##           develop     #135      +/-   ##
===========================================
- Coverage     97.8%   97.13%   -0.67%
===========================================
  Files           22       23       +1
  Lines          410      454      +44
===========================================
+ Hits           401      441      +40
- Misses           9       13       +4

Impacted Files
Coverage Δ

web/olga/analytics/models.py
97.61% <100%> (+0.03%)
:arrow_up:

...ga/analytics/migrations/0010_auto_20180523_0907.py
100% <100%> (ø)

web/olga/analytics/views.py
96.68% <92.15%> (-2.44%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4cec2c2...7627303. Read the comment docs.


Fix RegisterGuard - When server restarts then user is redirected to register page even if localStorage exists

https://github.com/sopra-fs23-group-07/sopra-fs23-group-07-client/commit/bc5f0915ff4e3e3e953296963585e8ca9b09ff98


Add memory management and concurrency tests plans to our fork of Reac…

…t Native
Please select one of the following

[ ] I am removing an existing difference between facebook/react-native and microsoft/react-native :thumbsup:
[ ] I am cherry-picking a change from Facebook's react-native into microsoft/react-native :thumbsup:
[ ] I am making a fix / change for the macOS implementation of react-native
[X ] I am making a change required for Microsoft usage of react-native

React Native has limited tooling running as it executes tests. We should perform more rigorous memory management checks given the memory issues we've seen in the past with RN. While we're at it, let's add a test plan for code concurrency. RN has a lot of multithreadedness that should have race conditions and execution various orders verified.

Run all tests with main thread checker on to get us a baseline. This is what we already have on all the time.
Run all tests with ASan and Zombie objects on
Run all tests with a random execution order

We should enable TSan as well, but right now so many tests crash with TSan on, it makes more sense to leave it off for now and then go through the tests one at a time and get them working with TSan before turning it on permanently.
Focus areas to test
Only impacts our tests.
Microsoft Reviewers: Open in CodeFlow

Do we plan to submit this change to the FB repo?

Do we plan to submit this change to the FB repo?

Do we plan to submit this change to the FB repo?

Eventually it'd be great to. Short term we're still aiming to just get the proper testing infrastructure up and running, but when we finally merge our branch back into FB's, this should go too.


Swiper modules are not installed in SvelteKit

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/s/eager-archimedes-81jmb
Bug description
Additional Swiper modules are not installed when using SSR SvelteKit.
Probably, the Swiper component from "swiper/esm/svelte/swiper.svelte" and SwiperCore from "swiper/core" get different objects of the Swiper class (core-class.js).
  import Swiper from "swiper/esm/svelte/swiper.svelte";
  import SwiperSlide from "swiper/esm/svelte/swiper-slide.svelte";
  import "swiper/swiper.scss";
  import "swiper/components/pagination/pagination.scss";
  import SwiperCore, { Pagination } from "swiper";

  SwiperCore.use([Pagination]);

//on:swiper
   const onSwiper = (e) => {
      const [swiper] = e.detail;
      console.log(Object.keys(swiper.prototype.modules).join(', ')); // resize, observer - NOT INSTALL Pagination module
    }

Expected Behavior
No response
Actual Behavior
No response
Swiper version
6.7.5
Platform/Target and Browser Versions
Ubuntu Chrome
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[X] I'm willing to open a PR

Duplicate #4705


[OSSC] Add Apache AGE in awesome-postgres

Description
Add Apache AGE in the curated list of Awesome Postgres.
https://github.com/dhamaniasad/awesome-postgres
Required Skills

Basic Git\GitHub skill (i.e. sending PR)

TODO

Create a branch adding AGE (with link and short description) in the "Extensions" section
Have the branch reviewed by the PL before sending the PR

Additional Details
N/A

Completed.


Overlay devices icon

Hi!
I'm trying to improve a bit the vuforia overlay, by making it a bit customizable (now that we have an options object, we can add many optionals parameters).
Do you need to keep the devices icon? It doesn't look essential, and doesn't fit well with what I'm doing.
Thank you!

The devices icon is kind of an artefact... It was added as a 'scan a page with this icon on it' kind of thing
It's not essential, but just removing it wholesale seems a bit permanent... We could make an options flag that allows it to not be added to the screen?

Okay, now the devices icon is optional, and disabled by default! I have some changes to do, I'll do my pull request soon.
Thank you!


bug (more than one decimal points)

you can add more than one decimals in the calculator.

i can fix it but it I am leaving it for any newcomer who want to collaborate in the project.

I would like to attempt this, if that's ok?

@aUsefulMethod ok 👍
I am assigning you this task.
if you want more information about anything in the repository/project then feel free to ask.

@aUsefulMethod well done.


SCB-862 Using different environment variables in image

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Format the pull request title like [SCB-XXX] Fixes bug in ApproximateQuantiles, where you replace SCB-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run go build go test go fmt go vet to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

#424

Coverage decreased (-0.008%) to 76.177% when pulling b4c1199aa1fa9930d89a639ab023d0322afceffe on little-cui:script into 9f55487b6ed2a256a5d66fe028c4e986961921e9 on apache:master.

Codecov Report

Merging #427 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #427   +/-   ##
=======================================
  Coverage   72.97%   72.97%
=======================================
  Files         128      128
  Lines        9978     9978
=======================================
  Hits         7281     7281
  Misses       2221     2221
  Partials      476      476

Impacted Files
Coverage Δ

pkg/util/util.go
61.11% <0%> (-1.39%)
:arrow_down:

server/broker/util.go
53.2% <0%> (-0.27%)
:arrow_down:

server/govern/service.go
73.66% <0%> (+0.33%)
:arrow_up:

server/service/notification/websocket.go
84.51% <0%> (+0.64%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9f55487...b4c1199. Read the comment docs.


Update homeoffice outcome

PT story: https://www.pivotaltracker.com/story/show/109541280
Amend the outcome for unmarried fathers who's child was born before July 1, 2006 with additional details for cases where the child may be registrable with the Foreign and Commonwealth Office (FCO) Overseas Registration Unit.
Fact check
https://intense-ridge-1024.herokuapp.com/register-a-birth
Expected changes

URL on gov.uk
Replaces "You can’t register your child’s birth with the UK authorities abroad" with "You can’t usually register your child’s birth with the Foreign and Commonwealth Office (FCO) Overseas Registration Unit."
Adds two bullet points outline those cases where you can register a birth to an unmarried father

Before

After

I've just rebased this with the master branch and force pushed to the branch of this PR

Looks good to me. Merge when ready.

Have just rebased this with master


Transpiler and CLIP Set Last Layer

CLIP Set Last Layer is not transpiled
workflow (78).json

This is by design. CLIPSetLastLayer(-1) does nothing and is removed for simplicity.
Full list:
https://github.com/Chaoses-Ib/ComfyScript/blob/5aaf6eed7411b01f410e17e940f5893789210e81/src/comfy_script/transpile/passes/__init__.py#L32-L46
https://github.com/Chaoses-Ib/ComfyScript/blob/5aaf6eed7411b01f410e17e940f5893789210e81/src/comfy_script/transpile/passes/__init__.py#L60-L119


Update maintainers

Update maintainers to reflect activty from the past year.

Retire Josh Kneubuhl, Matthew White, Arnaud Le Hors, Nikhil Gupta.
Add Mark Lewis

I would prefer an Emeritus maintainers section, but this is fine

@denyeart Thank you for the updates.
@bestbeforetoday Welcome!


When scanning an EAN-13 bar code the last digit is missing

When scanning an EAN-13 bar code the last digit is missing

The last digit on EAN-13 bar codes is known as the check digit, this digit is not part of the code itself and by default is not included in the scanned code, anyway if you want to include the check digit in the scanned code result you need to set the corresponding property DEC_EAN13_CHECK_DIGIT_TRANSMIT to true in the scanner properties, something like this:
Map<String, dynamic> properties = {
  //here all your required properties like code formats...
};
properties['DEC_EAN13_CHECK_DIGIT_TRANSMIT'] = true;
honeywellScanner.setProperties(properties);

Note: there are lot of properties available to set to the scanner, that properties are part of the honeywell scanner sdk, I will update the README to indicate where to find this set of properties for devs to know what can be done with properties.


Add NationalSecurityAgency.Ghidra 10.3.3

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Exception during executable launch operation System.AggregateException: One or more errors occurred. (The specified executable is not a valid application for this OS platform.)  ---
System.ComponentModel.Win32Exception (216): The specified executable is not a valid application for this OS platform.
--- End of stack trace from previous location where exception was thrown ---    --- End of inner exception stack trace ---    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)

@wingetbot waivers Add Validation-Executable-Error

Automatic Validation ended with:

Exception during executable launch operation System.AggregateException: One or more errors occurred. (The specified executable is not a valid application for this OS platform.)  ---
System.ComponentModel.Win32Exception (216): The specified executable is not a valid application for this OS platform.
--- End of stack trace from previous location where exception was thrown ---    --- End of inner exception stack trace ---    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)

I think this is because the command is not an executable but a batch file (ghidra_10.3.3_PUBLIC\ghidraRun.bat) which invokes the Java runtime. The application is a Java application so there is no Win32 executable.

Automatic Validation ended with:

Exception during executable launch operation System.AggregateException: One or more errors occurred. (The specified executable is not a valid application for this OS platform.)  ---
System.ComponentModel.Win32Exception (216): The specified executable is not a valid application for this OS platform.
--- End of stack trace from previous location where exception was thrown ---    --- End of inner exception stack trace ---    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)

I think this is because the command is not an executable but a batch file (ghidra_10.3.3_PUBLIC\ghidraRun.bat) which invokes the Java runtime. The application is a Java application so there is no Win32 executable.
Is there a way to still make this work? When I install it locally, the ghidra command works as expected.

Yes - I think maybe we weren't supposed to add this package with the BAT file, but previous versions are in the public manifests, and this works in a Windows 10 VM,. So it gets a waiver, to keep PRs flowing.

Batch files aren't a supported type.


Create inbuilt Shrinks to match the inbuilt Generators

I was building my Shrinks when I realised that even though scalacheck includes a generators for Long, Double etc it does not include Shrinks for them and thanks to the implicit ShrinkAny I did not release this.
I would assume if the library provided the Generators, it should also provide the Shrinks for those types.

Not having a shrinker for Long is a glaring omission, I admit. I'll fix that.
In ScalaCheck 2, shrinkers will be more tightly tied to generators, btw.

Is it possible perhaps have custom shrinks give a warning if ShrinkAny get's implicitly called within them?
Although if in version 2 the plan is to tie shrinkers to generators that might not be required.

Just an FYI I'm implemented a semi complete generic numeric shrinker based on the original Int shrinker in the library. If you want I can issue a PR for that tomorrow replacing the original Int shrinker?

Fixed in #135


Configurable origin health checks

Sometimes the current health checks (TCP) are not enough. The current generated health checks for HAProxy is:

http: check
https: check ssl verify none

One example that won't work with the above simple healthchecks is when a specified origin is using https and resolves to loadbalancers that won't respond to TLS connections without SNI (for example CloudFront).
I propose that we use the existing format used for the internal ORM health check between HAProxy and Varnish (https://github.com/SVT/orm/blob/master/docs/syntax_reference.md#custom_internal_healthcheck), and extend it to support the health check customizations we need.
We could add something similar to the examples below to https://github.com/SVT/orm/blob/master/docs/syntax_reference.md#origin_object :
healthcheck:
  tcp:
    tls: True
    domain: some.servername.example.com

healthcheck:
  http:
    tls: True
    domain: some.servername.example.com
    method: GET
    path: /some/healthcheck/path

When not setting healthcheck, we need to agree on some sane default for HAProxy (inspired by #7). For example:

http: check
https: check ssl check-sni <domain> verify required

I guess we could also allow disabling health checks with something like:
healthcheck:
  disabled: True


Notebook: Will not Load Note unless created in current Session

Describe the bug
System will not load an existing Note Unless you created it during the same session.
Desktop (please complete the following information):

OS: [Windows 11 w/ Subsystem for Linux (Kali)]
Browser [NA]
Version [Snapshot 1wx1_3 (3)x4 PART 7 - LATEST]

Additional context
[NA]

Issue has been solved. Fix will be released in next Version!


revise calc of spawn_time_season

Concisely describe what has been changed/addressed in the pull request.

Resolves issue #619

What tests have been done?
season duration calculation have been compared to season duration for a survey with same timing.  They did not match before, now they do.
Where are the relevant files?

Test file is in email with nmfs.stock.synthesis
What tests/review still need to be done?

None
Is there an input change for users to Stock Synthesis?

[x] No, there was no input change.
Additional information (optional).

The nice work was by Leire Citores (AZTI) who did the investigation showing that the timing calculation was wrong.

note that nothing in our test suite was affected by this error.  It is just the unusual cases with multi-seasons and spawn_month not at beginning of a season.


HA for Management Server - roundrobin: Certificate ownership

ISSUE TYPE

Bug Report

COMPONENT NAME

Management Server HA
CLOUDSTACK VERSION

master
CONFIGURATION

indirect.agent.lb.algorithm = roundrobin
host = <IP_ADDRESS>,<IP_ADDRESS>
SUMMARY

When trying to use the CS Management in roundrobin loadbalanced mode we get errors creating a
VPC for example.
If we use indirect.agent.lb.algorithm = static it works like a charm for both managementservers.
The log states it has something todo with the certificates issued:

It's not really clear what the error message itself is trying to say or how I can debug this further.
STEPS TO REPRODUCE
as stated above
EXPECTED RESULTS

ACTUAL RESULTS

@DennisKonrad are you also able to reproduce this for 4.11?

@DennisKonrad can you also describe your setup, is it kvm/xenserver/vmware etc?

@DennisKonrad thanks. When a new management server starts, it first upgrades the DB and then various managers/components start. During this start stage, first the ConfigurationManagerImpl starts which configures various default settings, offerings, accounts (such as system, admin etc). When the CA manager starts, it asks the configured/default plugin to initialize which is the RootCA plugin by default. This plugin would check db is keypair (private/public keypair) exists and uses the CA cert to create and sign a self-signed cert for the mgmt server host. If during the initializing process, another mgmt server is started it might screw up big time conflicting for operations/default created by both ConfigurationManager and CAManager. Therefore, based on the output you've shared it's more of an env/setup issue than a bug. Please re-test master again, this time making sure that the first/primary mgmt server initializes/completes before secondary mgmt servers are added.
For an existing env, to force re-kick of cert generation, shutdown all mgmt servers, then in the db and set these global settings in cloud.configurations table to null:

ca.plugin.root.private.key
ca.plugin.root.public.key
ca.plugin.root.ca.certificate

And start first mgmt server, let it complete initialization and start other mgmt servers.

@rhtyd
Ok, so are the certificates regenerated for the primary management server when adding a secondary one? Because the alternative name has to be updated, right? I dont see how it should work otherwise.
So can we do the cert re-kick safely even when we have already added multiple hosts? When we leave the CN at
CN=ca.cloudstack.apache.org
I see no problem but maybe you know something I'm not thinking about right now.
Can you also tell me which script is doing the issuing of the certificates? Then I would be able to check what it's doing.

@DennisKonrad I've already replied to you how cert generation works, tl;dr - each mgmt server generates its own cert on startup based on keypair/ca-cert from the db, the alt names are obtained by mgmt server by reading ips on network interfaces. The certs of mgmt server are only used when they peer/cluster with other mgmt servers, if you re-generated core keypair/ca-cert then kvm hosts certs will need to be re-provisioned. Please go figure: https://github.com/apache/cloudstack/blob/master/plugins/ca/root-ca/src/main/java/org/apache/cloudstack/ca/provider/RootCAProvider.java#L409

Given this is a setup /env issue, if the advise process fixes your issue and you're unable to reproduce the errors please close this issue @DennisKonrad

Hi @rhtyd,
so I don't really get where this issue comes from. Some questions:

What did we do to get into this problem? How can we avoid this?
Can I somehow connect to the management server to see the certitificate? openssl s_client isn't working with java tcp connection...

I did some research in our logfiles and do not fully understand why we have this problem. The following happens:
Second management server starts, is detected and joins the high availability cluster:

Static Loadbalancing is starting and assigning hosts to the second management server:

After that the hosts try to connect to the second managementserver and fail??? Is this assertion right?

@DennisKonrad alright let me ask some questions:

Are you using <IP_ADDRESS> or <IP_ADDRESS>-rcX or latest 4.11 branch?
Are all of your mgmt server connected to the same mysql server? Or, it is a cross-dc env?
Did you try my advice to stop all mgmt servers, delete the root private/public/certs global settings and start one mgmt server, wait for it to come online and then start the rest?
Based on the logs, the mgmt server SSL handshake failed due to invalid CA cert. You can add a breakpoint, attach a debugger from an IDE or jdb and see where in RootCAProvider this is failing and how.

@rhtyd

We are building directly from master. At the moment we are using the master as of today.

All management servers are connected to the same mysql-cluster. Using the same database.

We did not delete the private/public/certs global settings because we have hosts connected with vms on them. It seems to me your solution suggests basically rebuilding the whole cluster and that's not possible for us.

I'm currently under a lot of workload but it would be possible to check with a debugger atached.

I'm wondering how it is possible to introduce such a problem. In the beginning there can only exists one management server as you stated. It would start up with only it's IP in the global variable (hosts). After that the only way to add a second management is to change the variable and delete  root private/public/certs global settings?
If that is the case is that documented somewhere?

@DennisKonrad can you at least stop all your mgmt servers and start one by one? It's possible that you had a conflict b/w root ca cert/priv/pub keys, you can temporarily disable auth strictness, then remove the global settings and use provisionCertificate API to re-provision certificate with a new keypair/cert. You're currently using a messed up (sounds like) unstable/master branch and we cannot help once you fix your env. Also, please re-read my comments I'm not going to restate the same things again and again. About IPs, mgmt server when it starts discovers the IPs it needs to use to create a self-signed cert, and NO you don't need to delete the certs/keypair every time you add a new mgmt server. I advised that because you may have a case where you started multiple mgmt server during time of install/setup at once which stepped on each other and wrote incorrect ca keypair/cert in db (i.e. conflict+concurrent issue).

@rhtyd Starting one management up and later adding the second one did not work.
So I tried the following with one of two management server running:

set auth strictness = false (restart management afterwards)
stop management server (both off now)
backup/clear db keys:
ca.plugin.root.private.key
ca.plugin.root.public.key
ca.plugin.root.ca.certificate
start first mgmt-server and wait for completion of reissue

After that I could not use the "provisionCertificate" api call because all hosts were disconnected.
I thought the "ca.plugin.root.auth.strictness" would allow me to push the new certificates to all hosts.
Your help is very appreciated and rephrasing (or restating how you call it) helps to figure out what could be wrong here. A thorough investigation will also help others with similar problems. Thanks for that

@DennisKonrad can you check in the logs if your kvm hosts are trying connect at all? You can try to delete the old keystore file at /etc/cloudstack/agent/cloud.jks and restart agent, then try the provision API.

Hi @rhtyd,
I have three question left before I can try this on our cluster. To get the hosts to try to connect (your last question) it works to delete/move the cloud.jks. It's not even needed to restart the agent as far as I could tell. After that it worked to reprovision the kvm-host with the "provisionCertificate" api call.
When creating new CA/private/public I can now reprovision the hosts. I would also like to leave the systemvm's in place.
So I need to reprovision certs for agents in console proxy, storage vm and all virtual routers in the same manner? (1.)
Is this even possible with the "provisionCertificate" api call? (2.)
I was not able to list ALL virtual routers via listRouters. Even with listall and/or isrecursive flag. Is there an easy way to list all virtual routers? (3.)
I'm aiming for a process that leaves everything except the management-server running without any interruption.
My process looks as following:
Prerequisites:
get all relevant IDs (Hosts, SystemVMs) (api: listHosts, )
set auth strictness = false
Downtime:
stop all managament servers
backup and NULL the following db keys:
ca.plugin.root.private.key
ca.plugin.root.public.key
ca.plugin.root.ca.certificate
backup and delete per Host & SystemVM: /etc/cloudstack/agent/cloud.jks
start first mgmt-server and wait for completion
start second mgmt-server
reissue certificates for all hosts
turn auth strictness on again

@DennisKonrad

Not virtual routers, only ssvm, cpvm and kvm hosts
Yes, the APi accepts hostid and reconnect params
N/A virtual routers don't need to be touched, VRs don't run any java agent

Hi @DennisKonrad I'm closing the issue as it could not reproduced. If you're able to consistently reproduce the error, please re-open the ticket with details and steps. Thanks.

@rhtyd Yes.
I was not able to work on this for quite some time now. I think the issue is gone anyway since we fixed a lot of other things concerning multiple management servers. And at the time I'm either not seeing it or the problem is gone.


PLAT-77661: Add IconButton to Taparea QA-sample

Checklist

[x] I have read and understand the contribution guide
[ ] A CHANGELOG entry is included
[x] At least one test case is included for this feature or bug fix
[x] Documentation was added or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added
The clickable area in IconButton is too large (exceeds the round bounds of the visible part of IconButton). Update QA sample to include IconButton, now that IconButton and Button are different shapes.
Resolution
Fixed IconButton showing a false positive when focusing a corner.
Update QA sample to include headings and IconButtons of both sizes.

@Djspaceg Can you confirm that the icon button tap area should be squared even though the button is still round? I'm not clear on the expected behavior from the PR description.

Yes, apparently still squared is fine. It does increase the total amount of surface area for the button to be tapped, which is great because that's the purpose of the .taparea in the first place.

Does that imply we should not fix the tap area of the large icon button to be round?

@webOS101 I'm not clear on your question since large IconButtons do not have a tap area.
It is odd to me a bit that small IconButton's now have a larger tappable target than large IconButtons due to the square edges but /shrug.

It did have a square tappable area at the beginning of this PR.  I think you addressed that by making it round.  I, too, think it's weird that small now would have a larger tap area so perhaps we should keep it square for consistency?  Or, just go ahead and add a tap area to make it obvious and consistent?

PS - I pushed a commit to add the knobs on Button to IconButton in that sample for consistency. They're not terribly important to the sample but it's odd to set backgroundOpacity (for example) and it only to have an effect on the buttons.

Yes, the knobs should have been replicated across each of the components so they all show the same state/props at the same time. Thanks @ryanjduffy.

It did have a square tappable area at the beginning of this PR. I think you addressed that by making it round. I, too, think it's weird that small now would have a larger tap area so perhaps we should keep it square for consistency? Or, just go ahead and add a tap area to make it obvious and consistent?

It still has a squared tap area. Actually, it has a border-radius that matches the Base button's border-radius, so it's slightly rounded.
The small IconButtons have a square tap area because the UX team wanted the user to be able to pan from side to side across the buttons and have the focus retained on one of them (never drop focus). They did not feel that was important or necessary for the large version of the IconButton.


MH-12985 Fix incorrect warnings in event modals

Using Actions->Start Task and Actions->Edit scheduled events you get a
table displaying, among other information, the event status. Under
certain circumstances, the user should be kept from continuing within
the wizard.
However, to check if the user can proceed, the event source
is used in contrary to the event_status being displayed in the table.
This leads to weird situations where the user doesn't understand why he
can't continue. Fixed by checking for event_status instead of source
when generating the messages.
This work is sponsored by SWITCH.

Forcing this review on @wsmirnow since he touched this before

Looks good, lets merge this!


Core: Inconsistent scenario name trim

Due to the .trim-ming of the scenario name in the PopulationBuilder https://github.com/gatling/gatling/blob/97c016dca388902ae513c6269485b319011eaf8b/gatling-core/src/main/scala/io/gatling/core/structure/PopulationBuilder.scala#L105 and the updated scenarioBuilder not being reassigned, there is an inconsistency between the returned ScenarioBuilder in .build() and the value of scenarioBuilder.
This inconsistent value is then accessed from ShortScenarioDescription. Thus, scenario names ending with a space lead to crashing DataWriters with errors such as:
12:27:09.049 [ERROR] i.g.c.s.w.ConsoleDataWriter - Internal error, scenario 'Test Scenario' has not been correctly initialized
Solutions would be to either eliminate the trim from the PopulationBuilder, reassign the trimmed ScenarioBuilder or explicity re-trim the name in the ShortScenarioDescription.
I'd gladly implement one of the proposed solutions.

Thanks for reporting!


ie not working

Something went wrong with leaflet on commit d925a40f

This can be fixed by using the leaflet cdn for leaflet.css. I would like to find a better solution so that all files originate on CER servers.

This was mostly fixed in 415a32d
Setting URL to false in webpack.common.js did the trick
      {
        test: /\.css$/,
        include: /node_modules/,
        use: [
          { loader: "style-loader" },
          { loader: "css-loader", options: { url: false } }, // URL false here
        ],
      },

Now location services doesn't appear to work in IE 11, but this is a separate issue.


Deploy Kubeapps on additional environments

First it should be deployed and verified on devsecops-testing (https://github.com/eclipse-tractusx/sig-infra/issues/99). Then have some discussions where to deploy it and what access should we grant.

Hi @almadigabor  will close this issue if you need more please renew the issue 😉


⚠ Bofrost.fr has degraded performance

In 961fbdc, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1409 ms

Resolved: Bofrost.fr performance has improved in 537e61c after 9 minutes.


OutOfMemory!!!How to Use CreateEngine or ScriptRuntime

for(var i = 1;i<1000;i++){
  var engine = Python.CreateEngine();
  var scope = engine.CreateScope();

  var script = engine.CreateScriptSourceFromString(scriptTxt);
  var result = script.Execute(scope);
}

the code will cause the memory to rise quickly and not reclaim;
i found a lost of functionDefine instance  act.

You're going to have to provide more information. When I tried it with I did not notice anything like what you're describing. What version are you using? What sort of code appears in scriptTxt?

You're going to have to provide more information. When I tried it with I did not notice anything like what you're describing. What version are you using? What sort of code appears in scriptTxt?

You're going to have to provide more information. When I tried it with I did not notice anything like what you're describing. What version are you using? What sort of code appears in scriptTxt?

when i add this line of code whichis " import os " ,the bug will review.
import os .....

You're going to have to provide more information. When I tried it with I did not notice anything like what you're describing. What version are you using? What sort of code appears in scriptTxt?

when i add this line of code whichis " import os " ,the bug will review.
import os .....

You're going to have to provide more information. When I tried it with I did not notice anything like what you're describing. What version are you using? What sort of code appears in scriptTxt?

when i add this line of code whichis " import os " ,the bug will review.
import os .....

as the same time , urllib,urlib2,os,rpdb,random,collections ..... more

You're going to have to provide more information. When I tried it with I did not notice anything like what you're describing. What version are you using? What sort of code appears in scriptTxt?

when i add this line of code whichis " import os " ,the bug will review.
import os .....

as the same time , urllib,urlib2,os,rpdb,random,collections ..... more

Thanks for the additional information. It looks like everything is being kept alive via IronPython.Compiler.Ast.StorageData.
The only suggestion I have would be to reuse the engine instead of creating one every time:
var engine = Python.CreateEngine();
for (var i = 1; i < 1000; i++) {
    var scope = engine.CreateScope();
    var script = engine.CreateScriptSourceFromString("import os");
    var result = script.Execute(scope);
}

Thanks for the additional information. It looks like everything is being kept alive via IronPython.Compiler.Ast.StorageData.
The only suggestion I have would be to reuse the engine instead of creating one every time:
var engine = Python.CreateEngine();
for (var i = 1; i < 1000; i++) {
    var scope = engine.CreateScope();
    var script = engine.CreateScriptSourceFromString("import os");
    var result = script.Execute(scope);
}

I have the same problem. Sometimes it is not possibile to reuse the engine because, as far as I know, it caches import modules and the only way to invalidate cache is to create a new engine and dispose the previous one.
Andrea


Add regexp prompt matching (+ style and testing)

Right, in preparation for #52, I've whipped this package into shape:

Added pre-commit configuration and CI style testing
Extracted the "DOM independent" JS code to a separate file, in order to
Add CI testing for the JS code
Added documentation on running the tests

Note to self, you can also use https://github.com/jsdom/jsdom to mock the DOM

Ok I've gone ahead and implemented the regexp matching, see: https://143-140029949-gh.circle-artifacts.com/0/html/index.html#using-regexp-prompt-identifiers
The one thing that I won't add in this PR, but should be considered for completeness is regexes per selector, e.g. if you have
$ cd path

and
>>> print("$ cd path")
$ cd path

You only want the first one to copy the $ line

@chrisjsewell , just want to make sure, is it going to help in excluding $ while copying the commands

is it going to help in excluding $ while copying the commands

Well give it a go, and see if it works as expected 😬 https://143-140029949-gh.circle-artifacts.com/0/html/index.html#documentation-builds

is it going to help in excluding $ while copying the commands

Well give it a go, and see if it works as expected 😬 https://143-140029949-gh.circle-artifacts.com/0/html/index.html#documentation-builds

We are already using it in firefox docs https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html, thank you so much for this extension, its just new contributors copy paste as it is then they faced the problem, so it would be really helpful for a lot of people if somehow we can prevent $ to be copied

We are already using it in firefox docs

Oh thats cool, but I think you misunderstand; the link I gave links to the documentation created using this PR, which (I believe) showcases exactly what you are after

We are already using it in firefox docs

Oh thats cool, but I think you misunderstand; the link I gave links to the documentation created using this PR, which (I believe) showcases exactly what you are after

oops my bad, just clicked on copy button, yeah it worked perfectly, thank you so much for doing it :)

I really like this

thanks 😁

alright lets merge this in and we can decide if we want to add a "language: regexp" mapping later on.
I think one thing we can do is add a documentation section for "common regexes" since most people are not familiar with regex.

alright lets merge this in and we can decide if we want to add a "language: regexp" mapping later on.

You read my mind 😄

and thanks for going the extra mile and giving the testing infra the Chris S. treatment

haha cheer, shame some certain others don't share my love of tests 👀 😆

@chrisjsewell thanks for doing this i have a doubt do we have to add this https://github.com/executablebooks/sphinx-copybutton/blob/master/doc/conf.py#L101-L102 in our configuration file to prevent copying $,
thanks


Fixes Stripe making Fossbilling misbehave after successful payment

Whatever this bug is - it's weird.
Changing this actually fixes the strange behaviour, but it can't actually be the fix because it breaks something else.
/ipn.php:30 - createAndProcess()

[23-Sep-2023 00:24:20 UTC] An exception has been thrown. Stacktrace:
[23-Sep-2023 00:24:20 UTC] /modules/Cart/Service.php:485 - __construct(Can not checkout an empty cart)
/modules/Cart/Service.php:448 - createFromCart(, 3)
/modules/Cart/Api/Client.php:29 - checkoutCart(, , 3)
/library/Api/Handler.php:109 - checkout()
/modules/Api/Controller/Client.php:177 - __call(cart_checkout, )
/modules/Api/Controller/Client.php:80 - _apiCall(client, cart_checkout, )
/modules/Api/Controller/Client.php:71 - tryCall(client, cart_checkout, )
NO_FILE:NO_LINE - post_method(, client, cart, checkout)
/library/Box/App.php:212 - invokeArgs(, )
/library/Box/App.php:367 - executeShared(Box\Mod\Api\Controller\Client, post_method, )
/library/Box/App.php:153 - processRequest()
/index.php:64 - run()

[23-Sep-2023 00:24:20 UTC] Can not checkout an empty cart 0
[23-Sep-2023 00:24:30 UTC] 2 Undefined array key "invoice_id" /srv/fbcurrent/src/library/Payment/Adapter/Stripe.php 127
[23-Sep-2023 00:24:30 UTC] PHP Warning:  Undefined array key "invoice_id" in /srv/fbcurrent/src/library/Payment/Adapter/Stripe.php on line 127
[23-Sep-2023 00:24:30 UTC] An exception has been thrown. Stacktrace:
[23-Sep-2023 00:24:30 UTC] /library/Box/Database.php:186 - __construct(Model :name not found in the database, )
/library/Payment/Adapter/Stripe.php:127 - getExistingModelById(Invoice, )
/modules/Invoice/ServiceTransaction.php:380 - processTransaction(, , , 3)
/modules/Invoice/ServiceTransaction.php:69 - processTransaction()
/ipn.php:30 - createAndProcess()

I kinda want to make this a draft PR but gh doesn't let me

I kinda want to make this a draft PR but gh doesn't let me

Worked for me :)


Resolve ts before js in webpack config

If there are both a .ts and a .js file on disk, webpack used to load the .js file when it was required without extension, because .js was listed before .ts in the resolve array.
Of course, we always want the .ts file have priority.

Nice find! I will fix it in skeleton and SW as well


meta: increase inodeBatch & sliceIdBatch

This patch can reduce the number transaction needed and reduce the conflict.


How to revert EF Core migration from SQL Server 2016 production machine

I have to revert the last EF Core migration from a productive instance from a SQL Server 2016 with no Visual Studio installed. How to do this?
Note: I already tried to install .NET SDK on the server but nevertheless it does not know the command dotnet ef. Executing the command results in  No executable found matching command "dotnet-ef"

You would typically run the tool from a machine with the source code with the dbcontext configured to point to the production server.

@Tarig0: Thanks for your response! This is not practical in my situation because the server is in an environment that is not accessible for a dev machine with VS installed.  Is this the only possible way?

If the goal is to get the migrations removed and not automated. Use the migrations script command with the current migration and target migration arguments.
That will give you a sql file that can be ran against your prod server

Thanks for this hint!
Can dotnet ef migrations script be used to get a downgrade script? Like dotnet ef migrations script migration66 migration63 where migration66 is FROM and migration63 is TARGET

Absolutely, but don't take my work for it, generate the script and review it.

(Also asked on Stack Overflow: How to revert EF Core migration from SQL Server 2016 production machine)


xrdp just doesn't work on Fedora 27

I just can't make xrdp work on my Fedora 27 installation, even after several suggestions. I've tried to login using Xvnc and Xorg, root and regular user, nothing works. Any other idea?
Thanks!
# dnf install xrdp xrdp-selinux tigervnc-server
# systemctl start xrdp
# firewall-cmd --permanent --zone=public --add-port=3389/tcp
# firewall-cmd --reload
# echo "allowed_users=anybody" > /etc/X11/Xwrapper.config

# cat /var/log/xrdp.log
[20180427-15:48:38] [INFO ] starting xrdp with pid 30075
[20180427-15:48:38] [INFO ] listening to port 3389 on <IP_ADDRESS>
[20180427-15:49:57] [INFO ] Socket 12: AF_INET connection received from <IP_ADDRESS> port 61805
[20180427-15:49:57] [DEBUG] Closed socket 12 (AF_INET <IP_ADDRESS>:3389)
[20180427-15:49:57] [DEBUG] Closed socket 11 (AF_INET <IP_ADDRESS>:3389)
[20180427-15:49:57] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20180427-15:49:57] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20180427-15:49:57] [DEBUG] TLSv1.2 enabled
[20180427-15:49:57] [DEBUG] TLSv1.1 enabled
[20180427-15:49:57] [DEBUG] TLSv1 enabled
[20180427-15:49:57] [DEBUG] Security layer: requested 11, selected 1
[20180427-15:49:58] [DEBUG] Closed socket 12 (AF_INET <IP_ADDRESS>:3389)
[20180427-15:49:58] [INFO ] Socket 12: AF_INET connection received from <IP_ADDRESS> port 61806
[20180427-15:49:58] [DEBUG] Closed socket 12 (AF_INET <IP_ADDRESS>:3389)
[20180427-15:49:58] [DEBUG] Closed socket 11 (AF_INET <IP_ADDRESS>:3389)
[20180427-15:49:58] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20180427-15:49:58] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20180427-15:49:58] [DEBUG] TLSv1.2 enabled
[20180427-15:49:58] [DEBUG] TLSv1.1 enabled
[20180427-15:49:58] [DEBUG] TLSv1 enabled
[20180427-15:49:58] [DEBUG] Security layer: requested 11, selected 1
[20180427-15:49:58] [INFO ] connected client computer name: RBS-ADDS64819
[20180427-15:49:59] [INFO ] TLS connection established from <IP_ADDRESS> port 61806: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384
[20180427-15:49:59] [DEBUG] xrdp_00007648_wm_login_mode_event_00000001
[20180427-15:49:59] [INFO ] Cannot find keymap file /etc/xrdp/km-00010416.ini
[20180427-15:49:59] [INFO ] Loading keymap file /etc/xrdp/km-00000416.ini
[20180427-15:49:59] [WARN ] local keymap file for 0x00010416 found and doesn't match built in keymap, using local keymap file
[20180427-15:51:18] [DEBUG] xrdp_wm_log_msg: connecting to sesman ip <IP_ADDRESS> port 3350
[20180427-15:51:19] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20180427-15:51:19] [DEBUG] xrdp_wm_log_msg: sending login info to session manager, please wait...
[20180427-15:51:19] [DEBUG] return value from xrdp_mm_connect 0
[20180427-15:51:19] [INFO ] xrdp_wm_log_msg: login successful for display 11
[20180427-15:51:19] [DEBUG] xrdp_wm_log_msg: VNC started connecting
[20180427-15:51:19] [DEBUG] xrdp_wm_log_msg: VNC connecting to <IP_ADDRESS> 5911
[20180427-15:51:21] [DEBUG] xrdp_wm_log_msg: VNC tcp connected
[20180427-15:51:21] [DEBUG] VNC error 1 after security negotiation
[20180427-15:51:21] [DEBUG] VNC error before sending share flag
[20180427-15:51:21] [DEBUG] VNC error before receiving server init
[20180427-15:51:21] [DEBUG] VNC error before receiving pixel format
[20180427-15:51:21] [DEBUG] VNC error before receiving name length
[20180427-15:51:21] [DEBUG] VNC error before receiving name
[20180427-15:51:21] [DEBUG] xrdp_wm_log_msg: VNC error - problem connecting
[20180427-15:51:21] [DEBUG] Closed socket 19 (AF_INET <IP_ADDRESS>:32788)
[20180427-15:51:21] [DEBUG] xrdp_wm_log_msg: some problem
[20180427-15:51:21] [DEBUG] xrdp_mm_module_cleanup
[20180427-15:51:21] [DEBUG] VNC mod_exit
[20180427-15:51:21] [DEBUG] Closed socket 18 (AF_INET <IP_ADDRESS>:55324)

# cat /var/log/xrdp-sesman.log
[20180427-15:48:38] [DEBUG] libscp initialized
[20180427-15:48:38] [INFO ] starting xrdp-sesman with pid 30074
[20180427-15:48:38] [INFO ] listening to port 3350 on <IP_ADDRESS>
[20180427-15:51:18] [INFO ] A connection received from <IP_ADDRESS> port 55324
[20180427-15:51:19] [INFO ] ++ created session (access granted): username lzkill, ip <IP_ADDRESS>:61806 - socket: 12
[20180427-15:51:19] [INFO ] starting Xvnc session...
[20180427-15:51:19] [DEBUG] Closed socket 12 (AF_INET <IP_ADDRESS>:5911)
[20180427-15:51:19] [DEBUG] Closed socket 12 (AF_INET <IP_ADDRESS>:6011)
[20180427-15:51:19] [DEBUG] Closed socket 12 (AF_INET <IP_ADDRESS>:6211)
[20180427-15:51:19] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:3350)
[20180427-15:51:19] [INFO ] calling auth_start_session from pid 30364
[20180427-15:51:19] [DEBUG] Closed socket 9 (AF_INET <IP_ADDRESS>:3350)
[20180427-15:51:19] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:3350)
[20180427-15:51:19] [INFO ] Xvnc :11 -auth .Xauthority -geometry 1364x768 -depth 32 -rfbauth /home/lzkill/.vnc/sesman_passwd-lzkill@vostro.ar140.lzkill.com:11 -bs -nolisten tcp -localhost -dpi 96
[20180427-15:51:19] [CORE ] waiting for window manager (pid 30365) to exit
[20180427-15:51:21] [CORE ] window manager (pid 30365) did exit, cleaning up session
[20180427-15:51:21] [INFO ] calling auth_stop_session and auth_end from pid 30364
[20180427-15:51:21] [DEBUG] cleanup_sockets:
[20180427-15:51:21] [DEBUG] cleanup_sockets: deleting /tmp/.xrdp/xrdp_chansrv_socket_11
[20180427-15:51:21] [DEBUG] cleanup_sockets: failed to delete /tmp/.xrdp/xrdp_chansrv_socket_11
[20180427-15:51:21] [INFO ] ++ terminated session:  username lzkill, display :11.0, session_pid 30364, ip <IP_ADDRESS>:61806 - socket: 12
[20180427-15:52:12] [INFO ] A connection received from <IP_ADDRESS> port 55354
[20180427-15:52:13] [INFO ] ++ created session (access granted): username root, ip <IP_ADDRESS>:61806 - socket: 12
[20180427-15:52:13] [INFO ] starting Xvnc session...
[20180427-15:52:13] [DEBUG] Closed socket 12 (AF_INET <IP_ADDRESS>:5911)
[20180427-15:52:13] [DEBUG] Closed socket 12 (AF_INET <IP_ADDRESS>:6011)
[20180427-15:52:13] [DEBUG] Closed socket 12 (AF_INET <IP_ADDRESS>:6211)
[20180427-15:52:13] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:3350)
[20180427-15:52:13] [INFO ] calling auth_start_session from pid 31105
[20180427-15:52:13] [DEBUG] Closed socket 9 (AF_INET <IP_ADDRESS>:3350)
[20180427-15:52:13] [DEBUG] Closed socket 10 (AF_INET <IP_ADDRESS>:3350)
[20180427-15:52:13] [INFO ] Xvnc :11 -auth .Xauthority -geometry 1364x768 -depth 32 -rfbauth /root/.vnc/sesman_passwd-root@vostro.ar140.lzkill.com:11 -bs -nolisten tcp -localhost -dpi 96
[20180427-15:52:13] [CORE ] waiting for window manager (pid 31108) to exit
[20180427-15:52:14] [CORE ] window manager (pid 31108) did exit, cleaning up session
[20180427-15:52:14] [INFO ] calling auth_stop_session and auth_end from pid 31105
[20180427-15:52:14] [DEBUG] cleanup_sockets:
[20180427-15:52:14] [DEBUG] cleanup_sockets: deleting /tmp/.xrdp/xrdp_chansrv_socket_11
[20180427-15:52:14] [DEBUG] cleanup_sockets: deleting /tmp/.xrdp/xrdpapi_11
[20180427-15:52:14] [DEBUG] cleanup_sockets: failed to delete /tmp/.xrdp/xrdpapi_11
[20180427-15:52:14] [INFO ] ++ terminated session:  username root, display :11.0, session_pid 31105, ip <IP_ADDRESS>:61806 - socket: 12

# sestatus
SELinux status:                 enabled
SELinuxfs mount:                /sys/fs/selinux
SELinux root directory:         /etc/selinux
Loaded policy name:             targeted
Current mode:                   enforcing
Mode from config file:          enforcing
Policy MLS status:              enabled
Policy deny_unknown status:     allowed
Memory protection checking:     actual (secure)
Max kernel policy version:      31

have you tried logging as root and using vnc backend ?

Fedora 29 works for me now.


要求的2.8.10版本CMake不支持Policy "CMP0042"

环境
[root@localhost build]# cat /etc/centos-release
CentOS Linux release 7.5.1804 (Core)
[root@localhost build]# cmake -version
cmake version <IP_ADDRESS>

错误
CMake Error at CMakeLists.txt:5 (cmake_policy):
Policy "CMP0042" is not known to this version of CMake.

CMP0042在3.0.2才有

@zyearn


Improve error reporting when suite param is missing.

Addresses #67.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@26d3f3d). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #68   +/-   ##
=========================================
  Coverage          ?   74.05%
=========================================
  Files             ?        7
  Lines             ?      158
  Branches          ?        0
=========================================
  Hits              ?      117
  Misses            ?       41
  Partials          ?        0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 26d3f3d...9638c8d. Read the comment docs.


How to check the replication status

Hi @lvca
I've setup replication between OrientDBs  of 2 servers using the hazelcast, and would like to know the procedure to check the replication status between them i.e., whether Replication is broken or not.

What do you mean the status? OrientDB cluster auto-repair in case of conflicts. What's the case you've seen that hasn't been recovered?

I've setup orientDB replication, and would like to know the procedure to check whether the replication setup was successful or got broken?
An example would be in MySQL we've command called show slave status which confirms whether replication is in place or got broken. Similary, is there a way in orientDB as well?

would like to know the procedure to check whether the replication setup is working fine or got broken?
An example would be in MySQL we've command called show slave status which confirms whether replication is in place or got broken. Similary, is there a way in orientDB as well?

You can know it by executing HA STATUS command. If a node has problems it's status is set to OFFLINE from other members of the cluster. You can have a readable or json output.


InvalidClaimError "iss" because "options" inconsistent with "option_values" when using Azure's OAuth (templated endpoint)

Describe the bug
When using Azure OAuth via https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration ,
eventually you get a InvalidClaimError (iss). Debugging the code I can see that _validate_claim_value in claims.py shows self with a slot with value 'https://login.microsoftonline.com/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0' (correct) but "options" is populated with {'values': ['https://login.microsoftonline.com/{tenantid}/v2.0']}
Note how in one value the {tenantid} is expanded but not in the other. This causes the bug.
Error Stacks
  File "/Users/mqm/git/OC/SB/venv/lib/python3.11/site-packages/authlib/integrations/starlette_client/apps.py", line 84, in authorize_access_token
    userinfo = await self.parse_id_token(token, nonce=state_data['nonce'], claims_options=claims_options)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mqm/git/OC/SB/venv/lib/python3.11/site-packages/authlib/integrations/base_client/async_openid.py", line 78, in parse_id_token
    claims.validate(leeway=120)
  File "/Users/mqm/git/OC/SB/venv/lib/python3.11/site-packages/authlib/oidc/core/claims.py", line 35, in validate
    self.validate_iss()
  File "/Users/mqm/git/OC/SB/venv/lib/python3.11/site-packages/authlib/jose/rfc7519/claims.py", line 117, in validate_iss
    self._validate_claim_value('iss')
  File "/Users/mqm/git/OC/SB/venv/lib/python3.11/site-packages/authlib/jose/rfc7519/claims.py", line 74, in _validate_claim_value
    raise InvalidClaimError(claim_name)
authlib.jose.errors.InvalidClaimError: invalid_claim: Invalid claim "iss"

To Reproduce
You can implement a simple app like in https://blog.hanchon.live/guides/google-login-with-fastapi/  and provide, instead of Google, Microsoft values (secret ID etc) as described at https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app
With Google, things work fine. With Microsoft, perhaps because of this templating trick {tenantid}, you will get this error.
Expected behavior
It should work just like with the Google OAuth and not throw this exception. The "iss" validation is not correct in this case. The templated value should be expanded so that this does not trigger an error:
        if option_values and value not in option_values:
            raise InvalidClaimError(claim_name)

When I debug, I see these values:

option_values: ['https://login.microsoftonline.com/{tenantid}/v2.0']
value: 'https://login.microsoftonline.com/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0'

This causes the exception.
Environment:

OS:  MacOS Ventura 13.6.3, MacBook Air M2
Python Version: 3.11.6
Authlib Version: 1.2.1

Additional context

For the record, the value that must replace the {tenantid} is stored in self in 'tid'.

Hello !
I'm trying to integrate azure SSO into my flask application, and I suspect that this is the caused of my troubles =(
Do you have any news on this 🙏  ?

Hello, any idea how to find an workaround or get a fix for this bug. I'm facing the same issue with authlib 1.3.1


Rework Plugin Loading

Reworked details for plugin loader, including:

Zero-filled NRR buffer

garbage in the unused region seemed to cause ro to reject verification for some reason. shout out to shaDOW, just make clean bruh

Added a guard against crashes caused by loading duplicate plugins

this is to prevent user error, and systems like Mac OS apparently duplicate files in hidden dirs

Properly handle failed plugins

the old erase in range-based for-loops is unintended behavior. In my experience, the iteration either just stops or it could cause crashes by continuing over invalid entries
this is changed to iterator based loops, allowing erase with intended behavior
also changed the unordered map to std::list, since the path key was never used anyway, and a list is faster and more resource-efficient. If the need for lookups arises in the future it could always be changed again

Use smart pointer for buffers

this is what @shadowninja108 wanted. Less leaky and generally cleaner
plugin Manager is changed to a static instance to allow keeping reference of the smart pointers, as well as other data members for better extensibility

I approve of this, especially the first point. Also it fixed the issues on other games.

rebased to master to accommodate #22


Fix script directory path expansion in analyzeHeadless.bat

This fixes a regression in analyzeHeadless.bat introduced by https://github.com/NationalSecurityAgency/ghidra/commit/7f50d8f4301cdee4a20636281295746557919d31.
The script contains a loop modifying parameters, which seems to also affect %~dp0. In my case (testing an extension), this resulted in the path pointing to the extension's script directory instead of the support directory, breaking the test script and CI (see https://github.com/mborgerson/ghidra-xbe/pull/31/checks?check_run_id=3138785871).
My fix is to re-introduce a variable that stores the path. This is how it was done before, and how the other scripts do it. I tested that it still reacts in the expected way when the path contains an exclamation mark, and it does indeed print the correct error message, while also fixing the regression.
The regression only affects Ghidra 10.0.1 afaict.

I'd like to be able to reproduce the error for my own understanding.  Prior to your change, if you echo %~dp0 right before it's used on the last line, you are saying that it was <extension_path>/ghidra_scripts?  What directory did you run analyzeHeadless.bat out of?

Nevermind, I was able to reproduce it.

It's the usage of SHIFT, which is changing what %0 is.


The problem appears to be that _is_second_run() always returns False due to shell.get_history() not getting the complete (recent) history. This is because Bash keeps the history from its current session in memory, and only writes it to .bash_history either when it quits or when "history -a" is called.
The obvious fix would be to call "history -a" in the __init__() of class Bash, but I'm not sure if that's enough.

Filed pull request #663 with a fix. It's not optimal, unfortunately - we would have to call "history -a" in the context of the Bash process that called "fuck", and we can only do so in a subshell, which doesn't have the intended effect.

@Googulator sorry for so huge delay.

Fixed in 3.20


chore: release main

:robot: I have created a release beep boop
0.1.0-rc1
0.1.0-rc1 (2024-06-16)
Miscellaneous Chores

🚀 Release 0.1.0-rc1 (ba6e5d5)

0.1.0-rc1
0.1.0-rc1 (2024-06-16)
Features

CLI version command (#112) (b8d9129)

Miscellaneous Chores

🚀 Release 0.1.0-rc1 (ba6e5d5)

0.1.0-rc1
0.1.0-rc1 (2024-06-16)
Miscellaneous Chores

🚀 Release 0.1.0-rc1 (ba6e5d5)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/hansetag/iceberg-catalog/releases/tag/v0.1.0-rc1 :sunflower:


Issue with IPv6 targets.

Hi!
When trying to trace hostnames resolving to a IPv6 AAAA, I got the following error:
dial udp: too many colons in address 2001:db8:a:b::1:80
Indeed, the far right ":80" is the transport layer port number. I am currently using the most current osx binary available on your website.
Thanks!

Thank you for reporting this issue. It should be fixed please try again and let me know if you're still seeing this issue. I'll update the binary / packages later soon.

@mehrdadrad Thanks a lot for your quick feedback! Unfortunately, I can't easily test from source, but I can set up an IPv6 enabled VM with Go environment to test out if you want to delay the binary release according to this issue.


Feature Request: Flip Mode

Within PX4 I am missing a "Flip Mode" like in ArduCopter:
"...the Vehicle will flip on its roll or pitch axis depending upon the pilot’s roll and pitch stick position. Vehicle will rise for 1 second and then rapidly flip. The vehicle will not flip again until the switch is brought low and back to high."

This is an open source project, which means that a mode like this will be developed if some member of the community sees it as valuable. If you want to create a PR to deliver the feature I'm sure we'd accept it :-)

As Hamish said, we'll happily accept this feature if you decide to develop it and send a PR. Closing this for now.

Thank you, I am not if I have time for such a project. Anybody willing to join?


[BACKLOG-13109] Mavenize kettle-hl7-plugin

Build Skipped
:white_check_mark: There was nothing to build. The changes are probably excluded by the build rules. If this is an error, please contact your system administrator.


⚙ fix: remove dark bg

Removing dark-bg for now, will add this while working on the dark mode

Merging!

Thanks, sure we'll add the dark bg afterwards, right now the contrast with text was too low


[BUG] I selected the download links, but when I click on import nothing happens.

Describe the bug
I selected the settings tab, download sources, copied the source link and clicked import. Nothing happened.
Steps to Reproduce

I clicked on settings.
I clicked on download sources.
I copied and pasted the link.
I clicked import.
the font was not imported.

Expected behavior
.
Additional information and data
.
Operating System
Windows 10
Hydra Version
2.1.7
Before opening this Issue

[X] I have searched the issues of this repository and believe that this is not a duplicate.
[X] I am aware that Hydra team does not offer any support or help regarding the downloaded games.

me too

this seems to be a problem with the source, could you please let me know if this problem still occurs?

yh it still occurs even to me

Me too
A terça, 19/11/2024, 10:40, kekkp @.***> escreveu:

yh it still occurs even to me
—
Reply to this email directly, view it on GitHub
https://github.com/hydralauncher/hydra/issues/1057#issuecomment-2485327419,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQOZCHUM4K2OWP4KVT45YRL2BMIRVAVCNFSM6AAAAABP2UXVRSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBVGMZDONBRHE
.
You are receiving this because you commented.Message ID:
@.***>


chore(prow): Lower CPU request

Part of: https://github.com/operate-first/support/issues/159

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign tumido after the PR has been reviewed.
You can assign the PR to them by writing /assign @tumido in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: HumairAK
To complete the pull request process, please assign tumido after the PR has been reviewed.
You can assign the PR to them by writing /assign @tumido in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Resources on calendar

Is it possible to add resources to calendar like this one?

Hi @M0in4 Can you please explain in more detail?

I need to create the part where you can see the profile image and name with surname at top part of calendar

up


ChatQnA: Issue with UI

Testing the Xeon version of ChatQnA using the ChatQnA/tests/test_chatqna_on_xeon.sh and all of the services pass except for the UI:
Mega service start minimal duration is 0s, maximal duration(including docker image build) is 0s
[ tei-embedding ] HTTP status is 200. Checking content...
[ tei-embedding ] Content is as expected.
[ embedding ] HTTP status is 200. Checking content...
[ embedding ] Content is as expected.
[ retrieval ] HTTP status is 200. Checking content...
[ retrieval ] Content is as expected.
[ tei-rerank ] HTTP status is 200. Checking content...
[ tei-rerank ] Content is as expected.
[ rerank ] HTTP status is 200. Checking content...
[ rerank ] Content is as expected.
[ tgi-llm ] HTTP status is 200. Checking content...
[ tgi-llm ] Content is as expected.
[ llm ] HTTP status is 200. Checking content...
[ llm ] Content is as expected.
[ mega-chatqna ] HTTP status is 200. Checking content...
[ mega-chatqna ] Content is as expected.

Running 3 tests using 3 workers
  1) [webkit] › chatQnA.spec.ts:67:2 › Upload file › should upload a file ──────────────────────────

    Error: expect(received).toContain(expected) // indexOf

    Expected substring: "Uploaded successfully"
    Received string:    "Uploaded failed ×"

      27 |      const notification = await page.waitForSelector(".notification");
      28 |      const notificationText = await notification.textContent();
    > 29 |      expect(notificationText).toContain(expectedText);
         |                               ^
      30 | }
      31 |
      32 | // Helper function: Enter message to chat

        at checkNotificationText (/root/GenAIExamples/ChatQnA/docker/ui/svelte/tests/chatQnA.spec.ts:29:27)
        at uploadFile (/root/GenAIExamples/ChatQnA/docker/ui/svelte/tests/chatQnA.spec.ts:45:2)
        at /root/GenAIExamples/ChatQnA/docker/ui/svelte/tests/chatQnA.spec.ts:71:3

  1 failed
    [webkit] › chatQnA.spec.ts:67:2 › Upload file › should upload a file ───────────────────────────
  2 passed (24.4s)

The UI is showing up, but it isn't responding.

I've looked through the container logs and no errors are standing out.

Hi @wsfowler
Welcome to GenAIExamples!
I would like to know in such environment did you test ChatQnA and UI.

How did you set the host_ip of ChatQnA environment?
Especially the BACKEND_SERVICE_ENDPOINT.  UI server depends on the environment.

Where do you run the ChatQnA/tests/test_chatqna_on_xeon.sh, from Xeon Console?

In which machine did you start the browser? Could this machine (start the machine) access the meage service, i.e   BACKEND_SERVICE_ENDPOINT?

Thanks!

Hi @wsfowler
Welcome to GenAIExamples!
I would like to know in such environment did you test ChatQnA and UI.

In AWS using the m7i.16xlarge instance type.

How did you set the host_ip of ChatQnA environment?
Especially the BACKEND_SERVICE_ENDPOINT.  UI server depends on the environment.
- The test script sets all of the environment variables.
Where do you run the ChatQnA/tests/test_chatqna_on_xeon.sh, from Xeon Console?
- Yes, I was logged into the Xeon host and ran the script from the console on the Xeon host.
In which machine did you start the browser? Could this machine (start the machine) access the meage service, i.e   BACKEND_SERVICE_ENDPOINT?
- I will double check this.

Thanks!

@xiguiw Here is what I get when I access the BACKEND_SERVICE_ENDPOINT:

The script was picking up the local IP to use for the endpoints, but it should've been using the public IP. Closing this issue, but there should be some note or maybe architecture diagram that discusses this.


[AutoPR batch/resource-manager] [Portal Generated] Review request for Microsoft.Batch to add version 2018-29-11

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4617

(message created by the CI based on PR content)


Mobile touch event device it support?

I can't move chart and zoom from mobile device.
It's supported at all?

Yeah, I am aware of this, I have not tested with touch devices. I have to work on this.

Touch support added, for both pan & pinchzoom, Tested this in chrome & safari on ipad
http://rrag.github.io/react-stockcharts-next/documentation.html
appreciate if you could test in a different touch device and share feedback.

forgot to add, this is not release to npm yet, I plan to add a few more features before publishing the next version

Good work! It works on my android device.