Notice
Recent Posts
Recent Comments
Link
투케이2K
276. (TWOK/ERROR) [Android] PKIX path building failed: SunCertPathBuilderException 본문
투케이2K 에러관리
276. (TWOK/ERROR) [Android] PKIX path building failed: SunCertPathBuilderException
투케이2K 2024. 8. 30. 11:36[환경 설정 및 설명]
프로그램 : AndroidStudio
설 명 : [Android] PKIX path building failed: SunCertPathBuilderException
[에러 원인]
1. 특정 라이브러리 빌드 및 파일 다운로드 시 사내 정보 보안망에 의한 파일 다운로드 불가로 발생 이슈
> Task :app:nodeSetup
Build was configured to prefer settings repositories over project repositories but repository 'ivy' was added by unknown code
> Task :app:nodeSetup FAILED
Execution failed for task ':app:nodeSetup'.
> Could not resolve all files for configuration ':app:detachedConfiguration3'.
> Could not resolve org.nodejs:node:6.7.0.
Required by:
project :app
> Could not resolve org.nodejs:node:6.7.0.
> Could not get resource 'https://jcenter.bintray.com/org/nodejs/node/6.7.0/node-6.7.0.pom'.
> Could not GET 'https://repo1.maven.org/maven2/org/nodejs/node/6.7.0/node-6.7.0.pom'.
> PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
> Could not resolve org.nodejs:node:6.7.0.
> Could not get resource 'https://nodejs.org/dist/v6.7.0/node-v6.7.0-win-x64.zip'.
> Could not HEAD 'https://nodejs.org/dist/v6.7.0/node-v6.7.0-win-x64.zip'.
> The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/7.4/userguide/build_environment.html#gradle_system_properties
> PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
[해결 방법]
1. 업무적 해결 진행 (정보 보안 사내 보안망에서 라이브러리 빌드 및 파일 다운로드에 필요한 URL 차단 제외 신청)
반응형
'투케이2K 에러관리' 카테고리의 다른 글
Comments