# Network error trying to open a .pdf attached in Joplin

**URL:** <https://discourse.joplinapp.org/t/network-error-trying-to-open-a-pdf-attached-in-joplin/21633>\
**Category:** Support\
**Created:** [9 November 2021 13:06 UTC](https://discourse.joplinapp.org/t/network-error-trying-to-open-a-pdf-attached-in-joplin/21633 "2021-11-09T13:06:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![HedoNNN](https://avatars.discourse-cdn.com/v4/letter/h/5daacb/32.png) [@HedoNNN](https://discourse.joplinapp.org/u/HedoNNN)\
**Post date:** [9 November 2021 13:06 UTC](https://discourse.joplinapp.org/t/network-error-trying-to-open-a-pdf-attached-in-joplin/21633/1 "2021-11-09T13:06:31Z")

</div>

I've seen already 3 other similar topics with no help:

- [Network error when viewing attachments](https://discourse.joplinapp.org/t/network-error-when-viewing-attachments/19966)
- [Opening attachments in the visual editor gives network error on Windows - #3 by kartoo](https://discourse.joplinapp.org/t/opening-attachments-in-the-visual-editor-gives-network-error-on-windows/20221/3)
- [Joplin Android isn't correctly attaching PDF files](https://discourse.joplinapp.org/t/joplin-android-isnt-correctly-attaching-pdf-files/12398)

When I drag and drop (or choose "Attach file") to add a .pdf file to a note, it appears as a link.

When I want to ctrl-click on it to open it, this is the message I receive:

![network error](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/e/ed7d175aff0f8df89e2a71825d3f31a6e5722f38.jpeg)

OS : Windows 10

Joplin 2.5.12 (prod, win32)

Client ID: 97924516d86446d7892791eba44ac55d  
Sync Version: 3  
Profile Version: 39  
Keychain Supported: Yes

Revision: 884b86f

Thank you in advance for your help.

---

<div class="post-metadata">

**Author:** ![JackGruber](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/jackgruber/32/3231_2.png) [@JackGruber](https://discourse.joplinapp.org/u/JackGruber)\
**Post date:** [9 November 2021 15:04 UTC](https://discourse.joplinapp.org/t/network-error-trying-to-open-a-pdf-attached-in-joplin/21633/2 "2021-11-09T15:04:18Z")

</div>

Bugs should be reportet on Github as an issue.

I have created on for you.

> <https://github.com/laurent22/joplin/issues/5693>
>
> Ctrl + Click on a file link lead to an error in the \`Rich Text editor\` because …a UNC path is prepended to the file path. 
> !\[grafik\](https://user-images.githubusercontent.com/24863925/140947835-5ad109c0-7c0f-4738-8cd7-f1570ee0be70.png)
> 
> Opening the file via context menu \`Open ...\` works fine. 
> 
> \## Environment
> 
> Joplin 2.5.6 (dev, win32)
> 
> Client ID: 0a26e311ccea4bd5903ab8e3fd82597f
> Sync Version: 3
> Profile Version: 39
> Keychain Supported: Yes
> 
> Revision: 7d70dea
> 
> \## Steps to reproduce
> 
> 1. \`Ctrl\` + Click on a file in the \`Rich Text editor\`
> 
> \## Describe what you expected to happen
> 
> Open the file

---

<div class="post-metadata">

**Author:** ![HedoNNN](https://avatars.discourse-cdn.com/v4/letter/h/5daacb/32.png) [@HedoNNN](https://discourse.joplinapp.org/u/HedoNNN)\
**Post date:** [9 November 2021 15:45 UTC](https://discourse.joplinapp.org/t/network-error-trying-to-open-a-pdf-attached-in-joplin/21633/3 "2021-11-09T15:45:14Z")

</div>

Thank you very much. I wasn't sure it was a bug, maybe something I didn't configured well or something else.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [9 December 2021 15:46 UTC](https://discourse.joplinapp.org/t/network-error-trying-to-open-a-pdf-attached-in-joplin/21633/4 "2021-12-09T15:46:05Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
