Unable to publish when setting endpoint url to CloudFront
See original GitHub issue- Version: 19.49.0
- electron-updater version: 2.17.6
We have this app that we’re about to distribute globally using S3 + CloudFront.
S3 is setup correctly and I can publish as usual using build --mac --win -p always
, but if I set the publish.endpoint
option to the CloudFront URL (e.g. https://d3tpy77yecs5fp.cloudfront.net) it fails with:
Error: Cannot Cleanup [...] XMLParserError: Unexpected close tag
Is S3 + CloudFront supported? Do I need to use setFeedURL
?
Thanks
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Troubleshooting distribution issues - Amazon CloudFront
Make sure that the URL that you're referencing uses the domain name (or CNAME) of your CloudFront distribution, not your Amazon S3 bucket...
Read more >Exposing HTTP API Gateway Via AWS CloudFront - SkildOps
We need to create a Web distribution so make sure to select the appropriate delivery method. Section: Origin Settings. For Origin Domain Name, ......
Read more >Configuring Vault Digital Publishing - PromoMats & MedComms
Your S3 buckets will need to be properly set up in order to allow Vault access. Setting Up Amazon S3 Buckets & Cloudfront....
Read more >How to Set up an Amazon CloudFront Distribution ... - YouTube
How to Set up an Amazon CloudFront Distribution for Your Amazon S3 Origin. Watch later. Share. Copy link. Info. Shopping. Tap to unmute....
Read more >Deploying create-react-app to S3 and CloudFront
Deploy to CloudFront · Select the CloudFront service in the AWS console, click Create Distribution , then under the web delivery method, click...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can set the publish config as S3 in
package.json
but then in your Electron script overwrite the config with a generic one for your cloudfront:@bithavoc You can set 2 publish providers, first one will be used for electron-updater, all will be used to publish (so, as you said, just use GenericServerOptions for CouldFront).