# Why I could not download PDF from Nexus repository - blocked by client?

**URL:** <https://community.sonatype.com/t/why-i-could-not-download-pdf-from-nexus-repository-blocked-by-client/6530>\
**Category:** Sonatype Nexus Repository\
**Tags:** nexus-repository\
**Created:** [May 14, 2021, 3:51pm UTC](https://community.sonatype.com/t/why-i-could-not-download-pdf-from-nexus-repository-blocked-by-client/6530 "2021-05-14T15:51:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![huijoehow](https://avatars.discourse-cdn.com/v4/letter/h/7ea924/32.png) [@huijoehow](https://community.sonatype.com/u/huijoehow)\
**Post date:** [May 14, 2021, 3:51pm UTC](https://community.sonatype.com/t/why-i-could-not-download-pdf-from-nexus-repository-blocked-by-client/6530/1 "2021-05-14T15:51:00Z")

</div>

I have a Jenkins build process, which uploads a PDF file to a Nexus Repository using a command which is run by Jenkins Powershell plugin:

```
wget "$env:SERVICECOPYTARGET$serviceName/$pdfToPublish" -Method PUT -Credential $cred -Verbose -InFile $pdfFileFullPath -ErrorAction Stop

```

When I click it on the Nexus repository to download the pdf, I always get an error message like in the image below:  
[![enter image description here](https://i.stack.imgur.com/Ec1CL.png)](https://i.stack.imgur.com/Ec1CL.png)

I have tried it in Chrome incognito, Microsoft Edge browser, however I still get the same error message.

Updating Chrome to the latest version does not help.

Any idea how to fix it?  
P/S: I use Sonatype Nexus Repository ManagerOSS 3.29.2-02

I can upload zipped file to Nexus & download it successfully, but not for PDF file.

---

<div class="post-metadata">

**Author:** ![mpiggott](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mpiggott](https://community.sonatype.com/u/mpiggott)\
**Post date:** [May 17, 2021, 2:50pm UTC](https://community.sonatype.com/t/why-i-could-not-download-pdf-from-nexus-repository-blocked-by-client/6530/2 "2021-05-17T14:50:34Z")

</div>

The text of your error message literally says an extension blocked it.

---

<div class="post-metadata">

**Author:** ![huijoehow](https://avatars.discourse-cdn.com/v4/letter/h/7ea924/32.png) [@huijoehow](https://community.sonatype.com/u/huijoehow)\
**Post date:** [May 17, 2021, 3:16pm UTC](https://community.sonatype.com/t/why-i-could-not-download-pdf-from-nexus-repository-blocked-by-client/6530/3 "2021-05-17T15:16:02Z")

</div>

@mpiggott ,

I have removed all extensions at Chrome. It does not work.  
I also have tested at Chrome Incognito, which has no extension at all.

And I tried using another browser - Microsoft Edge. It does not have any extension.

Yet, I still get the error message above.

Any advise/suggestion please?

---

<div class="post-metadata">

**Author:** ![mmartz](https://avatars.discourse-cdn.com/v4/letter/m/e9bcb4/32.png) [@mmartz](https://community.sonatype.com/u/mmartz)\
**Post date:** [May 17, 2021, 3:30pm UTC](https://community.sonatype.com/t/why-i-could-not-download-pdf-from-nexus-repository-blocked-by-client/6530/4 "2021-05-17T15:30:33Z")

</div>

Maybe try clearing your caches, both Chrome and Edge are using the chrome engine so they might be sharing a cache.

---

<div class="post-metadata">

**Author:** ![huijoehow](https://avatars.discourse-cdn.com/v4/letter/h/7ea924/32.png) [@huijoehow](https://community.sonatype.com/u/huijoehow)\
**Post date:** [May 17, 2021, 3:59pm UTC](https://community.sonatype.com/t/why-i-could-not-download-pdf-from-nexus-repository-blocked-by-client/6530/5 "2021-05-17T15:59:06Z")

</div>

Hi @mmartz ,

I just cleaned my cache in Chrome. No luck 😔

I tested with old school Internet Explorer browser & it works 🤔

I do not know what difference could there be between Internet Explorer & Chrome.

---

<div class="post-metadata">

**Author:** ![jyterrien](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/jyterrien/32/1028_2.png) [@jyterrien](https://community.sonatype.com/u/jyterrien)\
**Post date:** [May 25, 2021, 12:20pm UTC](https://community.sonatype.com/t/why-i-could-not-download-pdf-from-nexus-repository-blocked-by-client/6530/6 "2021-05-25T12:20:04Z")

</div>

Hi  
I’ve the same problem.  
if I put the pdf in old nexus v2.x it work  
in nexus v3.28 ERR\_BLOCKED\_BY\_CLIENT

1. Request URL: https…olympe-profiles-1.0.0-SNAPSHOT.pdf
2. Request Method: GET
3. Status Code: 304 Not Modified
4. Remote Address: 10.172.158.210:443
5. Referrer Policy: strict-origin-when-cross-origin
6. Response HeadersView source
7. Access-Control-Allow-Credentials: true
8. Access-Control-Allow-Headers: DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization
9. Access-Control-Allow-Methods: GET, PUT, POST, DELETE, PATCH, OPTIONS
10. Access-Control-Allow-Origin: 2.
11. Content-Disposition: inline
12. Content-Length: 57164
13. Content-Security-Policy: sandbox allow-forms allow-modals allow-popups allow-presentation allow-scripts allow-top-navigation
14. Content-Type: application/pdf
15. Date: Tue, 25 May 2021 12:08:21 GMT
16. Last-Modified: Tue, 25 May 2021 11:59:01 GMT
17. Server: nginx/1.15.10
18. Strict-Transport-Security: max-age=15724800; includeSubDomains
19. X-Content-Type-Options: nosniff
20. X-XSS-Protection: 1; mode=block
21. Request HeadersView source
22. Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,_/_;q=0.8,application/signed-exchange;v=b3;q=0.9
23. Accept-Encoding: gzip, deflate, br
24. Accept-Language: en-US,en;q=0.9
25. Cache-Control: max-age=0
26. Connection: keep-alive
27. Cookie: \_ga=GA1.2.1100789169.1613473185; sfbShellAppLaunched=yes; clientchoice=DesktopClient; NX-ANTI-CSRF-TOKEN=0.056010135917583304; \_gid=GA1.2.145180223.1621943813
28. DNT: 1
29. Host: https…
30. If-Modified-Since: Tue, 25 May 2021 11:59:01 GMT
31. Referer: [nexus-qualif.domain.fr/](http://nexus-qualif.domain.fr/)
32. Sec-Fetch-Dest: document
33. Sec-Fetch-Mode: navigate
34. Sec-Fetch-Site: cross-site
35. Sec-Fetch-User: ?1
36. Sec-GPC: 1
37. Upgrade-Insecure-Requests: 1
38. User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36

Canot post the all items this tool refuse 2 link in post  
the url and referer are on same server

---

<div class="post-metadata">

**Author:** ![dsawa](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/dsawa/32/729_2.png) [@dsawa](https://community.sonatype.com/u/dsawa)\
**Post date:** [May 25, 2021, 12:55pm UTC](https://community.sonatype.com/t/why-i-could-not-download-pdf-from-nexus-repository-blocked-by-client/6530/7 "2021-05-25T12:55:48Z")

</div>

The error message you get:

> ERR\_BLOCKED\_BY\_CLIENT

says it was blocked by your browser. This usually turns out to be some browser extension. You can read about it here: [How to Solve ERR\_BLOCKED\_BY\_CLIENT - KeyCDN Support](https://www.keycdn.com/support/how-to-solve-err-blocked-by-client)
