DImuthuUpe / AndroidPdfViewer

Android view for displaying PDFs rendered with PdfiumAndroid
Apache License 2.0
8.17k stars 1.91k forks source link

Received status code 521 from server #1128

Open pbsarathy21 opened 1 year ago

pbsarathy21 commented 1 year ago

Could not HEAD 'https://jitpack.io/com/github/barteksc/android-pdf-viewer/3.2.0-beta.1/android-pdf-viewer-3.2.0-beta.1.pom'. Received status code 521 from server:

I hope the web server is down, It would be appreciated if you take the effort to make it alive

rituapplocum commented 1 year ago

Started facing the same issue. Received status code 521 from server

Monika-Paliwal commented 1 year ago

I am also facing the same issue Please do the needful 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 521 from server:

vismayJosh commented 1 year ago

Facing issue: 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 521 from server:

ghost commented 1 year ago

Just Got: 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 521 from server:

poojagoswami7070 commented 1 year ago

Facing same issue: 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 521 from server:

ytakahashi1981 commented 1 year ago

try to put jcenter { content { includeModule("com.github.barteksc", "android-pdf-viewer") } } (or jcenter()) line before specifing jitpack.io on your project root build.gradle. it seems worked better for me. (it's just temporary workaround.)

koai-dev commented 1 year ago

try to put jcenter { content { includeModule("com.github.barteksc", "android-pdf-viewer") } } (or jcenter()) line before specifing jitpack.io on your project root build.gradle. it seems worked better for me. (it's just temporary workaround.)

it work for me. thanks

ManishaMShetty commented 1 year ago

try to put jcenter { content { includeModule("com.github.barteksc", "android-pdf-viewer") } } (or jcenter()) line before specifing jitpack.io on your project root build.gradle. it seems worked better for me. (it's just temporary workaround.)

Its working for me in local. But facing the same issue in App centre with this fix.

Monika-Paliwal commented 1 year ago

This is temporary solution but we need permanent solution to resolve this issue.

carl-ps commented 1 year ago

This is temporary solution but we need permanent solution to resolve this issue.

The permanent solution is to migrate to a different PDF Viewer library. It's clear that this one is no longer being supported.

DonBranson commented 1 year ago

This is temporary solution but we need permanent solution to resolve this issue.

The permanent solution is to migrate to a different PDF Viewer library. It's clear that this one is no longer being supported.

It doesn't look like an issue with this library, it looks like jitpack.io is dead and not being repaired. The permanent solution is to deploy to a reliable repository.

SidoPillai commented 1 year ago
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
11:40:23     > Could not resolve com.github.barteksc:android-pdf-viewer:2.8.2.
11:40:23       Required by:
11:40:23           project :app
11:40:23        > Could not resolve com.github.barteksc:android-pdf-viewer:2.8.2.
11:40:23           > Could not get resource 'https://jitpack.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom'.
11:40:23              > 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 521 from server: 
SidoPillai commented 1 year ago

try to put jcenter { content { includeModule("com.github.barteksc", "android-pdf-viewer") } } (or jcenter()) line before specifing jitpack.io on your project root build.gradle. it seems worked better for me. (it's just temporary workaround.)

It doesn't work.

DonBranson commented 1 year ago

@barteksc Do you have a plan to move away from jitpack.io at this point?

carl-ps commented 1 year ago

@barteksc Do you have a plan to move away from jitpack.io at this point?

LOL! The last time this repo was updated was 3 years ago, to add "Looking for new maintainer" to the readme file. Do you think he's going to swoop in now and do a bunch of maintenance to get this library somewhere stable?

DonBranson commented 1 year ago

@barteksc Do you have a plan to move away from jitpack.io at this point?

LOL! The last time this repo was updated was 3 years ago, to add "Looking for new maintainer" to the readme file. Do you think he's going to swoop in now and do a bunch of maintenance to get this library somewhere stable?

I do not, actually.