Not a bug Can't upload attachments

Do you mean on a resource or post here?
On your own site?

I just managed to upload the .zip to both a post and resource here without issue.
 
Everywhere on this site.
Yesterday I had the same problem but it didn't gave me an error, just took a long time to upload. This time I can't upload anything. It just gets to 100% and after some time brings an error message: "There was a problem uploading your file." I also noticed it happens for all attachments, not just this one.

Tested this on localhost. It works fine there.

Checked console:

Failed to load resource: net::ERR_CONNECTION_RESET
attachment_editor.js?_v=5c8fb20e:12 Upload failed: Arguments[3]


Also, Error #2038.
 
Last edited:
Can you disable the flash uploader in your preferences and try again? Sometimes swfupload masks a decent error message.
 
Seems this issue is nor browser or flash-related. Tested attachments in Firefox, Edge — same problem. Tested pasting big amounts of data — same problem. HTML uploader — same problem.
 
This really seems like a connection issue on your side or at least between you and the server (not XenForo the software as it won't have been invoked yet). For example, there could be packet loss on the route to the server.
 
This really seems like a connection issue on your side or at least between you and the server (not XenForo the software as it won't have been invoked yet). For example, there could be packet loss on the route to the server.
With all respect, your assumption is wrong.
I just tested it again and again. Files start to upload, but then eventually at some point server responds with error 2038.
To prove that here is the console log again:

Code:
Queued: velour.zip (33755 bytes)
attachment_editor.js?_v=5c8fb20e:11 Uploading velour.zip
file_uploader.js?_v=5c8fb20e:8 Uploaded 0/33755 bytes.
file_uploader.js?_v=5c8fb20e:8 Uploaded 34910/33755 bytes.
https://xenforo.com/community/attachments/do-upload.json?hash=539f1df09962bc8f448a47de5a8e297d&content_type=resource_version&key=resource Failed to load resource: net::ERR_CONNECTION_RESET
jquery.min.js:4 POST https://xenforo.com/community/resources/velour.5080/save-draft net::ERR_CONNECTION_RESETsend @ jquery.min.js:4n.extend.ajax @ jquery.min.js:4c.extend.ajax @ xenforo.js?_v=5c8fb20e:228XenForo.BbCodeWysiwygEditor.saveDraft @ bb_code_edit.js?_v=5c8fb20e:38(anonymous function) @ bb_code_edit.js?_v=5c8fb20e:37
attachment_editor.js?_v=5c8fb20e:12 Upload failed: [Object, -220, "Error #2038"]
attachment_editor.js?_v=5c8fb20e:12 All files uploaded.

BTW, to post this I had to wait about 30-40 seconds. But usually it takes 1 or 2.
 
Update: issue has gone with a combination of FireFox + HTML Uploader.
Update 2: works with Flash uploader in Edge.
Update 3: somehow issue has gone even in Chrome. I guess something has changed.
 
Have you tried disabling the Flash uploader as Chris suggested?

I have seen reference to that causing #2038 errors.
 
Have you tried disabling the Flash uploader as Chris suggested?

I have seen reference to that causing #2038 errors.
I did yesterday, that didn't help. Today it's working both with Flash and HTML and I don't know why. But literally 5 minutes before I couldn't upload anything.
 
We haven't made any changes so the only thing it can be is something specific to you - network, device, connection, etc.

No-one else seems to be having issues uploading files using various browsers, devices and OS, with the Flash uploader enabled.
 
I know, XenForo.com is the only site that I'm having trouble with uploading files. Next time it happens I will try to disable Chrome extensions 1 by 1 to see if that affects anything.
 
It's happening again right now. I am using Chrome Incognito mode with all extensions disabled. Plus only HTML uploader. And it's failing, again. Here is what console got to say:

Code:
Failed to load resource: net::ERR_CONNECTION_RESET
jquery.min.js:2 Uncaught SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "https://xenforo.com" from accessing a frame with origin "null".  The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "data". Protocols must match.

Edit: can't make long posts either.
 
Back
Top Bottom