Skip to content

URL Picker items with PDF media not working (and without media the URL picker item name is not carried over) #267

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

Open
imranhaidercogworks opened this issue May 1, 2025 · 1 comment

Comments

@imranhaidercogworks
Copy link

Describe the bug
We have a content page that has a block using multiple (80+) URL picker items picking a PDF from media.

  • When publishing this page to a different environment (with media) we get an error:

Error while processing Push - (import/Media/1/). Upload fail: InternalServerError Internal Server Error : 33d21831-8ed8-4985-9fbf-54f1b2cc1e2d -
at uSync.Publisher.Publishers.SyncPublisherBase.UploadFile(String url, Stream stream, uSyncCallbacks callbacks)
at uSync.Publisher.Publishers.SyncRealtimePublisher.PushRequiredMedia(PublisherActionRequest request)
at uSync.Publisher.Services.SyncPublisherActionService.PerformAction(PublisherActionRequest request, ISyncPublisher publisher, IUser user)

  • When publishing this page to a different environment (without media) it works but the data on the destination environment isn't the same as the source environment. Specifically the name given to the picked URL/Media item

Version (please complete the following information):

  • Umbraco Version:13.8.0
  • uSync Version v13.2.7
  • uSync.Complete Version v13.1.10

To Reproduce
Steps to reproduce the behavior:

  1. Create multiple URL picker items pointing to PDFs from Media
  2. Give custom names on these items
  3. Save and publish
  4. Click on actions > publish to > target environment

Expected behavior
The page to be published to the target environment with all the media and the item names working

Screenshots

Image
@KevinJump
Copy link
Member

Hi,

Can you see any errors in the logs on either the source server or the target (the one getting pushed to). Its likely that the "internal server error" is what the target server is returning during the upload, so would be good to see if that has any errors.

It's also possible to get an error at this point from a firewall/proxy/etc. because the uploadFile method is POSTing a application/zip file to the server and we have seen firewall/proxy setups that block this (either for virus checking or just because they don't like people posting zip files to servers).

worth checking that, and if it can be modified for the uSync urls (https://docs.jumoo.co.uk/usync/complete/reference/connection#2-firewall-issues)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants