# S3 publishing causes RW to crash - Help!

**URL:** <https://forums.realmacsoftware.com/t/s3-publishing-causes-rw-to-crash-help/40247>\
**Category:** RapidWeaver Classic\
**Created:** [August 5, 2021, 5:38am UTC](https://forums.realmacsoftware.com/t/s3-publishing-causes-rw-to-crash-help/40247 "2021-08-05T05:38:09Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![veemax](https://avatars.discourse-cdn.com/v4/letter/v/e480ec/32.png) [@veemax](https://forums.realmacsoftware.com/u/veemax)\
**Post date:** [August 5, 2021, 5:38am UTC](https://forums.realmacsoftware.com/t/s3-publishing-causes-rw-to-crash-help/40247/1 "2021-08-05T05:38:09Z")

</div>

New RW user here - so sorry, if this topic/issue is known.

I cannot figure out how to use RW S3 publishing. Looks like bucket is configured correctly and I can add folder to it using RW UI. Test is successful. Everytime I click publish, publishing starts, but very quick whole RW crashes. Does this work with anyone? Where to find logs to debug?

I am using RW version 8.9.1 and S3 bucket is in eu-west-1 region.

btw. I cannot believe commercial software these days have unhandled exceptions. Definately would recommend test automation and some sort of QA operations - no offence.

---

<div class="post-metadata">

**Author:** ![RapidBase](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/rapidbase/32/24626_2.png) [@RapidBase](https://forums.realmacsoftware.com/u/RapidBase)\
**Post date:** [August 5, 2021, 7:13am UTC](https://forums.realmacsoftware.com/t/s3-publishing-causes-rw-to-crash-help/40247/2 "2021-08-05T07:13:47Z")

</div>

tagging @dan …

---

<div class="post-metadata">

**Author:** ![dripple](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dripple/32/20481_2.png) [@dripple](https://forums.realmacsoftware.com/u/dripple)\
**Post date:** [August 5, 2021, 7:27am UTC](https://forums.realmacsoftware.com/t/s3-publishing-causes-rw-to-crash-help/40247/3 "2021-08-05T07:27:45Z")

</div>

> [@veemax](#):
>
> Everytime I click publish, publishing starts, but very quick whole RW crashes.

When publishing, you can see a progress window. Is there a slight chance that you can see what file is crashing?

Also: did you try to export the page locally? Or publish it to a different provider / host? Just to make sure that the project is exporting correctly?

Do you use stacks? If so, perhaps a stack is causing trouble while exporting.

Are you trying to upload PHP files to your bucket?

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [August 5, 2021, 1:47pm UTC](https://forums.realmacsoftware.com/t/s3-publishing-causes-rw-to-crash-help/40247/4 "2021-08-05T13:47:37Z")

</div>

Hmm, very odd. Please enable Uploading Logging, and email [support@realmacsoftware.com](mailto:support@realmacsoftware.com)

Details on how to do that here:  
[https://help.realmacsoftware.com/kb/guide/en/how-to-fix-publishing-issues-Z9eDEW9hUH/Steps/233393,233456](https://help.realmacsoftware.com/kb/guide/en/how-to-fix-publishing-issues-Z9eDEW9hUH/Steps/233393,233456)

---

<div class="post-metadata">

**Author:** ![veemax](https://avatars.discourse-cdn.com/v4/letter/v/e480ec/32.png) [@veemax](https://forums.realmacsoftware.com/u/veemax)\
**Post date:** [August 6, 2021, 3:01pm UTC](https://forums.realmacsoftware.com/t/s3-publishing-causes-rw-to-crash-help/40247/5 "2021-08-06T15:01:02Z")

</div>

Local publishing works. It crashes to the first file trying to upload.  
I use stacks, but local publishing works. No PHP files, since this is static website on S3.

I have sent video about the crash to support, no reply yet. Still I do not know how to get logs/dump since there is no dialog after crash, even with the extra logging option.

---

<div class="post-metadata">

**Author:** ![teefers](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/teefers/32/8173_2.png) [@teefers](https://forums.realmacsoftware.com/u/teefers)\
**Post date:** [August 6, 2021, 3:10pm UTC](https://forums.realmacsoftware.com/t/s3-publishing-causes-rw-to-crash-help/40247/6 "2021-08-06T15:10:03Z")

</div>

> [@veemax](#):
>
> Still I do not know how to get logs/dump

@veemax,  
You must have missed the reply

Read the knowledge base article in the reply from @dan head of RealMac right above your reply. It gives instructions on how to get the log files

---

<div class="post-metadata">

**Author:** ![veemax](https://avatars.discourse-cdn.com/v4/letter/v/e480ec/32.png) [@veemax](https://forums.realmacsoftware.com/u/veemax)\
**Post date:** [August 6, 2021, 4:39pm UTC](https://forums.realmacsoftware.com/t/s3-publishing-causes-rw-to-crash-help/40247/7 "2021-08-06T16:39:15Z")

</div>

wrong.

I followed the instructions but this step is the problem:

- If the publishing feature returns an error, hit the “Send Upload Logs” button.

Software does not return error, whole software crashes without any dialog.

---

<div class="post-metadata">

**Author:** ![teefers](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/teefers/32/8173_2.png) [@teefers](https://forums.realmacsoftware.com/u/teefers)\
**Post date:** [August 6, 2021, 5:42pm UTC](https://forums.realmacsoftware.com/t/s3-publishing-causes-rw-to-crash-help/40247/8 "2021-08-06T17:42:33Z")

</div>

You can also clear and copy the support logs from the Help menu item.

I’d suggest you clear them first and then make the crash happen, then copy them and send them to the email address above. I’d put a link back to this thread, and maybe tag here when you are done.  
 ![2021-08-06_10-33-51](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/d/2/d2e3ddff39da0a9df44b3d13cee9888415117c0e.png)

---

<div class="post-metadata">

**Author:** ![veemax](https://avatars.discourse-cdn.com/v4/letter/v/e480ec/32.png) [@veemax](https://forums.realmacsoftware.com/u/veemax)\
**Post date:** [August 6, 2021, 8:28pm UTC](https://forums.realmacsoftware.com/t/s3-publishing-causes-rw-to-crash-help/40247/9 "2021-08-06T20:28:50Z")

</div>

Thanks, this was great info. Using that log, I can see what is the issue. Seems that the S3 publishing works only in us-west-1 region.

This was in the log:  
"The authorization header is malformed; the region ‘us-east-1’ is wrong; expecting ‘us-west-1’ "

Any ideas how to change the region in RW?

---

<div class="post-metadata">

**Author:** ![teefers](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/teefers/32/8173_2.png) [@teefers](https://forums.realmacsoftware.com/u/teefers)\
**Post date:** [August 6, 2021, 11:01pm UTC](https://forums.realmacsoftware.com/t/s3-publishing-causes-rw-to-crash-help/40247/10 "2021-08-06T23:01:04Z")

</div>

I’ve never used S3 for hosting a static site.

There is a kb article with a link to a video  
[https://help.realmacsoftware.com/kb/guide/en/advanced-publishing-ZnBOlISYIZ/Steps/249125](https://help.realmacsoftware.com/kb/guide/en/advanced-publishing-ZnBOlISYIZ/Steps/249125)

---

<div class="post-metadata">

**Author:** ![instacks](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/instacks/32/23339_2.png) [@instacks](https://forums.realmacsoftware.com/u/instacks)\
**Post date:** [August 8, 2021, 9:28am UTC](https://forums.realmacsoftware.com/t/s3-publishing-causes-rw-to-crash-help/40247/11 "2021-08-08T09:28:26Z")

</div>

What happens if you go to the publishing settings and try to browse the path or test the connection? I am getting this error, regardless of the selected region, also in us west.

 ![CleanShot 2021-08-08 at 11.24.27@2x](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/7/f/7f80cb6b033643abfda6935aa3c33fc5d965d58c.jpeg)

---

<div class="post-metadata">

**Author:** ![veemax](https://avatars.discourse-cdn.com/v4/letter/v/e480ec/32.png) [@veemax](https://forums.realmacsoftware.com/u/veemax)\
**Post date:** [August 8, 2021, 11:23am UTC](https://forums.realmacsoftware.com/t/s3-publishing-causes-rw-to-crash-help/40247/12 "2021-08-08T11:23:49Z")

</div>

When creating a bucket, I have to wait about 30 min to be able to use it in RW. If I try to use it too soon, I get that error about temporary endpoint.

Publishing actually works, if I create my bucket to us-east-1 region (I missinterpreted the message in my previous reply).

Seems that the authorization header maybe has the us-east-1 as fixed value and when I try to use other eg. us-west-1 region, I get that error in log:  
"The authorization header is malformed; the region ‘us-east-1’ is wrong; expecting ‘us-west-1’ "

---

<div class="post-metadata">

**Author:** ![veemax](https://avatars.discourse-cdn.com/v4/letter/v/e480ec/32.png) [@veemax](https://forums.realmacsoftware.com/u/veemax)\
**Post date:** [August 10, 2021, 5:24am UTC](https://forums.realmacsoftware.com/t/s3-publishing-causes-rw-to-crash-help/40247/13 "2021-08-10T05:24:41Z")

</div>

Just a heads-up. Still no reply from the support about should S3 publishing work with any other region than us-east-1.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/system/32/25301_2.png) [@system](https://forums.realmacsoftware.com/u/system)\
**Post date:** [September 9, 2021, 3:25pm UTC](https://forums.realmacsoftware.com/t/s3-publishing-causes-rw-to-crash-help/40247/14 "2021-09-09T15:25:12Z")

</div>

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