# Post won't save (text included)

**URL:** https://meta.discourse.org/t/post-wont-save-text-included/32414
**Category:** Bug
**Created:** [August 22, 2015, 8:05pm UTC](https://meta.discourse.org/t/post-wont-save-text-included/32414 "2015-08-22T20:05:06Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![clay](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clay/32/102156_2.png) [@clay](https://meta.discourse.org/u/clay)
#### Post date: [August 22, 2015, 8:05pm UTC](https://meta.discourse.org/t/post-wont-save-text-included/32414/1 "2015-08-22T20:05:06Z")

</div>

I’ve tried 10 times to save the post, the body of which is included in the attached file here:

[problem\_post.txt](https://global.discourse-cdn.com/meta/original/3X/e/8/e88b2899dc1fc9796ca2157fa63fac4ecadaf56c.txt) (2.5 KB)

Discourse just hangs on “Saving…” and never does anything. I have tried writing other posts and they work just fine. I ran `./launcher rebuild app` and still experience the same problem. There are no errors (that I see) in the logs.

Ideas?

---

<div class="post-metadata">

### Author: ![Xack](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xack/32/116353_2.png) [@Xack](https://meta.discourse.org/u/Xack)
#### Post date: [August 22, 2015, 8:08pm UTC](https://meta.discourse.org/t/post-wont-save-text-included/32414/2 "2015-08-22T20:08:13Z")

</div>

Very weird, mind giving us the Discourse version?

And, when trying to save a post, could you give us a screenshot of the developer tools? (F12 in almost all browsers)

---

<div class="post-metadata">

### Author: ![clay](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clay/32/102156_2.png) [@clay](https://meta.discourse.org/u/clay)
#### Post date: [August 22, 2015, 8:34pm UTC](https://meta.discourse.org/t/post-wont-save-text-included/32414/3 "2015-08-22T20:34:07Z")

</div>

Version is v1.4.0.beta9 +247

Here’s the screenshot.

 ![](https://global.discourse-cdn.com/meta/original/3X/b/1/b1aa1b00a4109eb4f5a47745ec89e537e355f267.png) 

The save request eventually times out and an error pops up.

 ![](https://global.discourse-cdn.com/meta/original/3X/8/e/8e2fa78a1c503e784a1ca1673071df220a50ee64.png)

---

<div class="post-metadata">

### Author: ![Xack](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xack/32/116353_2.png) [@Xack](https://meta.discourse.org/u/Xack)
#### Post date: [August 22, 2015, 8:35pm UTC](https://meta.discourse.org/t/post-wont-save-text-included/32414/4 "2015-08-22T20:35:19Z")

</div>

Okay, hmm.

Is this on a subdomain, or on a normal path, and can other users post?

---

<div class="post-metadata">

### Author: ![clay](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clay/32/102156_2.png) [@clay](https://meta.discourse.org/u/clay)
#### Post date: [August 22, 2015, 8:36pm UTC](https://meta.discourse.org/t/post-wont-save-text-included/32414/5 "2015-08-22T20:36:09Z")

</div>

An internal subdomain at my company. We have ~ 160 active users. There don’t seem to be any other problems posting. It’s specific to this post.

---

<div class="post-metadata">

### Author: ![Xack](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xack/32/116353_2.png) [@Xack](https://meta.discourse.org/u/Xack)
#### Post date: [August 22, 2015, 8:37pm UTC](https://meta.discourse.org/t/post-wont-save-text-included/32414/6 "2015-08-22T20:37:33Z")

</div>

Alright, I guess you can post things other than this post.

I’m thinking if it has something to do with the category you’re posting in, is it new at all?

---

<div class="post-metadata">

### Author: ![clay](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clay/32/102156_2.png) [@clay](https://meta.discourse.org/u/clay)
#### Post date: [August 22, 2015, 8:38pm UTC](https://meta.discourse.org/t/post-wont-save-text-included/32414/7 "2015-08-22T20:38:49Z")

</div>

Nope… it’s been around for 6 months and has a lot of posts in it. For what it’s worth, it will post neither as the first post in a new topic nor as a reply to an existing topic, regardless of category.

---

<div class="post-metadata">

### Author: ![Xack](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xack/32/116353_2.png) [@Xack](https://meta.discourse.org/u/Xack)
#### Post date: [August 22, 2015, 8:39pm UTC](https://meta.discourse.org/t/post-wont-save-text-included/32414/8 "2015-08-22T20:39:27Z")

</div>

Okay, one moment, let me try posting it on my discourse as a test.

---

<div class="post-metadata">

### Author: ![clay](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clay/32/102156_2.png) [@clay](https://meta.discourse.org/u/clay)
#### Post date: [August 22, 2015, 8:42pm UTC](https://meta.discourse.org/t/post-wont-save-text-included/32414/9 "2015-08-22T20:42:35Z")

</div>

For what it’s worth, it sort of reminds me [of this weird bug](https://meta.discourse.org/t/indication-of-whether-a-post-actually-has-saved/27834). Maybe it’s finally a repro case of it? Who knows…

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [August 23, 2015, 3:46am UTC](https://meta.discourse.org/t/post-wont-save-text-included/32414/11 "2015-08-23T03:46:41Z")

</div>

Two people (including me) have posted it on [try.discourse.org](http://try.discourse.org) successfully. A full browser refresh (Ctrl-Shift-R doesn’t help?)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [August 23, 2015, 4:25am UTC](https://meta.discourse.org/t/post-wont-save-text-included/32414/12 "2015-08-23T04:25:28Z")

</div>

I suspect you have some kind of client “antivirus” that is ham-handedly detecting this as an exploit and interrupting the HTTP connection. Have seen it before!

(Assuming as @riking said him and another have been able to post it on [try.discourse.org](http://try.discourse.org) just fine)

---

<div class="post-metadata">

### Author: ![clay](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clay/32/102156_2.png) [@clay](https://meta.discourse.org/u/clay)
#### Post date: [August 23, 2015, 12:07pm UTC](https://meta.discourse.org/t/post-wont-save-text-included/32414/13 "2015-08-23T12:07:12Z")

</div>

Well, I’m on a fresh install of the latest version of OS X and I can reproduce it in Safari, Chrome, and Firefox…

I was trying through a VPN connection, which could be part of the issue, but like I said, I can make other posts successfully - just not that one.

I’ll try to narrow it down to the smallest piece of text causing the problem and I’ll talk to IT about whether there’s some filter on traffic.

---

<div class="post-metadata">

### Author: ![clay](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clay/32/102156_2.png) [@clay](https://meta.discourse.org/u/clay)
#### Post date: [August 23, 2015, 12:38pm UTC](https://meta.discourse.org/t/post-wont-save-text-included/32414/14 "2015-08-23T12:38:19Z")

</div>

So this is weird… I did additional testing.

I can post the entire post successfully EXCEPT when I include the first two lines in the text document at the top. If the first two lines are included, then it fails to post. If I try to post just the first line, removing the period and everything after it, then I can post. So it has something to do with the period, carriage return on the first line, or space/carriage return on the second line. If I start with the “1. Press…” from line 3 and grab the rest of the text, it posts without a problem.

Here’s the editor, stuck in “Saving…” before trying to submit the post.

 ![](https://global.discourse-cdn.com/meta/original/3X/b/e/be7da07ecd5eba71fcf209d0257e606db1715c51.png)

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [August 23, 2015, 1:31pm UTC](https://meta.discourse.org/t/post-wont-save-text-included/32414/15 "2015-08-23T13:31:24Z")

</div>

Might a [BOM](http://www.w3.org/International/questions/qa-byte-order-mark.en.php) be involved?

---

<div class="post-metadata">

### Author: ![clay](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clay/32/102156_2.png) [@clay](https://meta.discourse.org/u/clay)
#### Post date: [August 23, 2015, 5:39pm UTC](https://meta.discourse.org/t/post-wont-save-text-included/32414/16 "2015-08-23T17:39:05Z")

</div>

I’m not sure? I typed the post in the Discourse edit window; nothing fancy. It seems like the failure is happening client-side. What’s the best way to see what Ember is up to when I click to post or when it’s trying and failing to save the post mid-edit?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [August 23, 2015, 9:22pm UTC](https://meta.discourse.org/t/post-wont-save-text-included/32414/17 "2015-08-23T21:22:05Z")

</div>

Can you repro this on [try.discourse.org](http://try.discourse.org) ? That was not covered in your two posts above, and is critical information.

---

<div class="post-metadata">

### Author: ![clay](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clay/32/102156_2.png) [@clay](https://meta.discourse.org/u/clay)
#### Post date: [August 23, 2015, 10:45pm UTC](https://meta.discourse.org/t/post-wont-save-text-included/32414/18 "2015-08-23T22:45:26Z")

</div>

I cannot repro it there. :sadpanda: However, posting it there does reveal another bug, which I’ll [post in a different topic](https://meta.discourse.org/t/code-rendered-in-editor-preview-differs-from-final-post/32445/1).

I’ve rebuilt the app again, cleared caches, done hard browser resets, and it the post still will not post to the Discourse I manage. Oh, well… I’ll just change the text. If you have any other thoughts about debugging, I’m happy to do them to see what’s going on.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [August 23, 2015, 11:00pm UTC](https://meta.discourse.org/t/post-wont-save-text-included/32414/19 "2015-08-23T23:00:06Z")

</div>

Unless you have unusual plugins, I am 100% certain there is something on your network intercepting and blocking the request.

---

<div class="post-metadata">

### Author: ![clay](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clay/32/102156_2.png) [@clay](https://meta.discourse.org/u/clay)
#### Post date: [August 23, 2015, 11:01pm UTC](https://meta.discourse.org/t/post-wont-save-text-included/32414/20 "2015-08-23T23:01:38Z")

</div>

Perhaps. Weird that it’s restricted to whatever is in the first two lines of that text. I’ll keep looking at it to try to figure out what’s happening and I’ll see what happens when I’m not on the VPN tomorrow.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [April 3, 2016, 8:28pm UTC](https://meta.discourse.org/t/post-wont-save-text-included/32414/21 "2016-04-03T20:28:46Z")

</div>


