Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle Gateway time-out issue when uploading a plugin with an invalid URL #78

Open
iirs-amrut opened this issue Feb 18, 2025 · 4 comments
Assignees
Labels

Comments

@iirs-amrut
Copy link

Getting server response 504 when uploading new version of plugin from previous 1 week on https://plugins.qgis.org

Image

@Xpirix
Copy link
Collaborator

Xpirix commented Feb 18, 2025

Hi @iirs-amrut , thanks for reporting this. I would say that this issue is related to the plugin size (it should be <25MB as mentioned at https://plugins.qgis.org/docs/publish). The issue related to the plugin size should have been handled with #70 but I am not sure about the origin of this.
Could you please check that and give some feedback?

Thank you.

@iirs-amrut
Copy link
Author

Hii @Xpirix , thanks for your response, The size of zip i.e. update package is ~270 kB and contains files as per publishing guidelines, I have already published this plugin https://plugins.qgis.org/plugins/sankalan2/ and trying to update it.
If required I can share the update package to further help resolve the issue.

@Xpirix
Copy link
Collaborator

Xpirix commented Feb 18, 2025

@iirs-amrut I've just checked from the Gitlab repository of the plugin. I noticed that the URLs specified in the metadata which are https://git.iirs.gov.in/amrut/amrut_qgis_export_plugin/ and https://amrut.iirs.gov.in/ seem to return a timeout.
Indeed, the plugin upload process checks if these URLs are working and causes the upload to fail (which should be handled from the plugin upload login also) as the requests are taking much longer and return a time-out.

To address this, I suggest using URLs that work correctly in the metadata.txt.

@iirs-amrut
Copy link
Author

@Xpirix Thanks for pointing out the issue, I have resolved it at my end. But I would suggest community to improve the upload flow, so that user mistakes (in this case an invalid url) can be pointed out with proper message. Showing 504 response code to user is ambiguous and confusing from users view.
Thanks a lot for your support.

@Xpirix Xpirix changed the title Plugin New Version Upload Error Handle Gateway time-out issue when uploading a plugin with an invalid URL Feb 18, 2025
@Xpirix Xpirix self-assigned this Feb 18, 2025
@Xpirix Xpirix added the Size 2 label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

2 participants