Bug 432152 - upload one file or several files to ipfs web fails
Summary: upload one file or several files to ipfs web fails
Status: RESOLVED UNMAINTAINED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Ipfs (other bugs)
Version First Reported In: 7.1.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-26 12:07 UTC by Philippe ROUBACH
Modified: 2025-12-15 11:57 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 8.9.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe ROUBACH 2021-01-26 12:07:09 UTC
SUMMARY


STEPS TO REPRODUCE
1. launch "export to ipfs"
2. select an image in an album
3. click on upload

OBSERVED RESULT

you get an error window saying "could not read response"

EXPECTED RESULT

image is sent

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

kde apps 20.12.1
ipfs-desktop 0.13.2
go-ipfs 0.7.0
Comment 1 Maik Qualmann 2021-01-26 18:41:43 UTC
We get the network error code 502 Bad Gateway. The service doesn't seem to respond. We use "https://globalupload.io" when trying to upload a file via the web interface, it does not come to end either. Does anyone know if the service is down or dead?

Maik
Comment 2 Philippe ROUBACH 2021-01-26 19:13:18 UTC
I understand this plugin uploads to an ipfs web server.

It would be good to indicate the name of the web service.

It would be good that a user get the choice to supply the identifier of the web service and a very good thing to upload to the user ipfs local server.

Thanks
Comment 3 caulier.gilles 2021-01-26 19:17:18 UTC
Maik,

I tried https://globalupload.io in Firefox, and the front page appear without problem. Service sound like online as expected. It said max file size to upload = 25mb

Gilles
Comment 4 Maik Qualmann 2021-01-26 19:19:45 UTC
Yes, the page loads, but the attempt to upload a file in the browser does not come to an end.

Maik
Comment 5 caulier.gilles 2021-01-26 19:22:04 UTC
In wikipedia,

https://en.wikipedia.org/wiki/InterPlanetary_File_System

...the page do not mention https://globalupload.io, but https://ipfs.io/

Gilles
Comment 6 caulier.gilles 2021-01-26 19:24:27 UTC
Maik, 

on the bottom of https://globalupload.io, we can see:

"© 2016-2020 globalupload.io"

... not 2021...

Gilles
Comment 7 Maik Qualmann 2021-01-26 19:26:32 UTC
Ipfs is just a "protocol", https://globalupload.io is a file share service that uses ipfs. Philippe wants to be able to choose the server or use his own server. This tool was finally developed for uploading to https://globalupload.io. 

Maik
Comment 8 Maik Qualmann 2021-01-26 19:27:17 UTC
Yes, he may be dead... 

Maik
Comment 9 caulier.gilles 2021-01-26 19:28:29 UTC
I'm not sure if it's releavant but :

https://github.com/ipfs/apps/issues/33

Gilles
Comment 10 caulier.gilles 2021-01-26 19:31:27 UTC
Look the ToC from this page :

https://github.com/ipfs/awesome-ipfs

Gilles
Comment 11 Maik Qualmann 2021-01-26 21:14:19 UTC
The plugin was an alternative to Imgur, should the service not work in the next few days, I will deactivate the plugin. I can't find a replacement for https://globalupload.io either.

Maik
Comment 12 Maik Qualmann 2021-02-07 08:49:06 UTC
Git commit ddf1c2ba85a74fcf924a15e7aba48671c1d29d71 by Maik Qualmann.
Committed on 07/02/2021 at 08:48.
Pushed by mqualmann into branch 'master'.

the service of the ipfs tool seems to be dead, plugin compile deactivated

M  +1    -1    core/dplugins/generic/webservices/CMakeLists.txt
M  +1    -0    core/dplugins/generic/webservices/ipfs/ipfswindow.cpp

https://invent.kde.org/graphics/digikam/commit/ddf1c2ba85a74fcf924a15e7aba48671c1d29d71
Comment 13 Andrey 2021-03-21 13:31:45 UTC
(In reply to Philippe ROUBACH from comment #2)
> It would be good that a user get the choice to supply the identifier of the
> web service and a very good thing to upload to the user ipfs local server.

Upload to local ipfs node indeed seems like most basic and logical feature.
That way we won't be dependent on any centralized web service.