Problem upload image. Error connecting to server
Asked by Aldo Schembri:

Trying to upload an image on a blank page and after selecting the image (either .png or .jpg) an error appears stating 'Error connecting to server' as per below images

Any ideas what could be the cause?

Thanks in advance

![Capture.JPG](/t5/image/serverpage/image-id/42586iCE131CBC3684B210/image-size/large?v=v2&px=999 "Capture.JPG")![Capture1.JPG](/t5/image/serverpage/image-id/42587iABD7D527B2E527F5/image-size/large?v=v2&px=999 "Capture1.JPG")


Answers:
author: roman
body: Hi [@Aldo Schembri](/t5/user/viewprofilepage/user-id/1957379),

are you using Confluence Cloud or Server?

Potential reasons:

* check if there is an outage on Cloud: <https://status.atlassian.com>
* computer don't have internet access (try accessing other websites)
* plugin or setting in the browser causing the issue (try a different browser)

I could investigate further if you could share the console log from the browser.

Roman.

comments: author: Aldo Schembri
body: Hi Roman

Thanks for your assistance

I am using Confluence Cloud via chrome

Chrome is Version 71.0.3578.98 (Official Build) (64-bit)

The log console is as follows:

jquery-min.js:1 GET <https://mapfremiddlesea.atlassian.net/wiki/rest/api/content/651952165/property/editor> 404  
send @ jquery-min.js:1  
ajax @ jquery-min.js:1  
f.filesAdded @ com.atlassian.confluence.plugins.drag-and-drop:filestore-uploader.js?externals=__local-default__:8  
d @ com.atlassian.confluence.plugins.drag-and-drop:image-dialog-client.js?externals=__local-default__\&locale=en-GB:10  
filterFiles @ com.atlassian.confluence.plugins.drag-and-drop:upload-utils.js?externals=__local-default__:6  
(anonymous) @ com.atlassian.confluence.plugins.drag-and-drop:image-dialog-client.js?externals=__local-default__\&locale=en-GB:10  
trigger @ confluence.web.resources:plupload.js?externals=__local-default__:23  
k @ confluence.web.resources:plupload.js?externals=__local-default__:46  
u @ confluence.web.resources:plupload.js?externals=__local-default__:49  
api.media.atlassian.com/file/binary?token=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIzZDRhNmY2MS02NzJkLTQ0M2EtYTRkOS1kNDdlMmJhZGQwZmQiLCJhY2Nlc3MiOnsidXJuOmZpbGVzdG9yZTpjb2xsZWN0aW9uIjpbImNyZWF0ZSJdLCJ1cm46ZmlsZXN0b3JlOmZpbGUiOlsiY3JlYXRlIl0sInVybjpmaWxlc3RvcmU6Y29sbGVjdGlvbjpjb250ZW50SWQtNjUxOTUyMTY1IjpbInVwZGF0ZSJdfSwiZXhwIjoxNTQ3NjMzMTYwLCJuYmYiOjE1NDc2MzI1MDB9.OXfG6pWkzi-pJ6mbgVRQlpXW8dDMlPpSUH42xa2vGrU\&client=3d4a6f61-672d-443a-a4d9-d47e2badd0fd\&collection=contentId-651952165\&name=software-requirements-joke.jpg:1 OPTIONS [https://api.media.atlassian.com/file/binary?token=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIzZDRhNmY2MS02NzJkLTQ0M2EtYTRkOS1kNDdlMmJhZGQwZmQiLCJhY2Nlc3MiOnsidXJuOmZpbGVzdG9yZTpjb2xsZWN0aW9uIjpbImNyZWF0ZSJdLCJ1cm46ZmlsZXN0b3JlOmZpbGUiOlsiY3JlYXRlIl0sInVybjpmaWxlc3RvcmU6Y29sbGVjdGlvbjpjb250ZW50SWQtNjUxOTUyMTY1IjpbInVwZGF0ZSJdfSwiZXhwIjoxNTQ3NjMzMTYwLCJuYmYiOjE1NDc2MzI1MDB9.OXfG6pWkzi-pJ6mbgVRQlpXW8dDMlPpSUH42xa2vGrU\&client=3d4a6f61-672d-443a-a4d9-d47e2badd0fd\&collection=contentId-651952165\&name=software-req...](https://api.media.atlassian.com/file/binary?token=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIzZDRhNmY2MS02NzJkLTQ0M2EtYTRkOS1kNDdlMmJhZGQwZmQiLCJhY2Nlc3MiOnsidXJuOmZpbGVzdG9yZTpjb2xsZWN0aW9uIjpbImNyZWF0ZSJdLCJ1cm46ZmlsZXN0b3JlOmZpbGUiOlsiY3JlYXRlIl0sInVybjpmaWxlc3RvcmU6Y29sbGVjdGlvbjpjb250ZW50SWQtNjUxOTUyMTY1IjpbInVwZGF0ZSJdfSwiZXhwIjoxNTQ3NjMzMTYwLCJuYmYiOjE1NDc2MzI1MDB9.OXfG6pWkzi-pJ6mbgVRQlpXW8dDMlPpSUH42xa2vGrU&client=3d4a6f61-672d-443a-a4d9-d47e2badd0fd&collection=contentId-651952165&name=software-requirements-joke.jpg) net::ERR_NAME_NOT_RESOLVED  
batch.js?externals=__local-default__\&locale=en-GB:112 AJS's create element functionality has been deprecated since 5.9.0.  
No alternative will be provided.  
Use document.createElement() or jQuery.parseHTML(), or preferably use a templating library.  
a.default @ batch.js?externals=__local-default__\&locale=en-GB:112  
d @ batch.js?externals=__local-default__\&locale=en-GB:124  
b @ batch.js?externals=__local-default__\&locale=en-GB:2858  
displayMessages @ batch.js?externals=__local-default__\&locale=en-GB:2858  
b.displayErrors @ com.atlassian.confluence.plugins.drag-and-drop:insert-dialog-upload-controller.js?externals=__local-default__:5  
displayErrors @ com.atlassian.confluence.editor:panel-components.js?externals=__local-default__\&locale=en-GB:82  
f @ com.atlassian.confluence.plugins.drag-and-drop:image-dialog-client.js?externals=__local-default__\&locale=en-GB:8  
(anonymous) @ com.atlassian.confluence.plugins.drag-and-drop:image-dialog-client.js?externals=__local-default__\&locale=en-GB:11  
d @ jquery-min.js:1  
add @ jquery-min.js:1  
(anonymous) @ com.atlassian.confluence.plugins.drag-and-drop:image-dialog-client.js?externals=__local-default__\&locale=en-GB:11  
trigger @ confluence.web.resources:plupload.js?externals=__local-default__:23  
c.onreadystatechange @ confluence.web.resources:plupload.js?externals=__local-default__:55  
XMLHttpRequest.send (async)  
n @ confluence.web.resources:plupload.js?externals=__local-default__:58  
l @ confluence.web.resources:plupload.js?externals=__local-default__:59  
f @ confluence.web.resources:plupload.js?externals=__local-default__:59  
(anonymous) @ confluence.web.resources:plupload.js?externals=__local-default__:60  
trigger @ confluence.web.resources:plupload.js?externals=__local-default__:23  
b @ confluence.web.resources:plupload.js?externals=__local-default__:15  
start @ confluence.web.resources:plupload.js?externals=__local-default__:21  
(anonymous) @ com.atlassian.confluence.plugins.drag-and-drop:image-dialog-client.js?externals=__local-default__\&locale=en-GB:10  
d @ jquery-min.js:1  
fireWith @ jquery-min.js:1  
fire @ jquery-min.js:1  
(anonymous) @ com.atlassian.confluence.plugins.drag-and-drop:filestore-uploader.js?externals=__local-default__:7  
d @ jquery-min.js:1  
fireWith @ jquery-min.js:1  
s @ jquery-min.js:1  
f @ jquery-min.js:1  
XMLHttpRequest.send (async)  
send @ jquery-min.js:1  
ajax @ jquery-min.js:1  
t @ com.atlassian.confluence.plugins.drag-and-drop:filestore-uploader.js?externals=__local-default__:7  
(anonymous) @ com.atlassian.confluence.plugins.drag-and-drop:filestore-uploader.js?externals=__local-default__:9  
d @ jquery-min.js:1  
fireWith @ jquery-min.js:1  
s @ jquery-min.js:1  
f @ jquery-min.js:1  
XMLHttpRequest.send (async)  
send @ jquery-min.js:1  
ajax @ jquery-min.js:1  
f.filesAdded @ com.atlassian.confluence.plugins.drag-and-drop:filestore-uploader.js?externals=__local-default__:8  
d @ com.atlassian.confluence.plugins.drag-and-drop:image-dialog-client.js?externals=__local-default__\&locale=en-GB:10  
filterFiles @ com.atlassian.confluence.plugins.drag-and-drop:upload-utils.js?externals=__local-default__:6  
(anonymous) @ com.atlassian.confluence.plugins.drag-and-drop:image-dialog-client.js?externals=__local-default__\&locale=en-GB:10  
trigger @ confluence.web.resources:plupload.js?externals=__local-default__:23  
k @ confluence.web.resources:plupload.js?externals=__local-default__:46  
u @ confluence.web.resources:plupload.js?externals=__local-default__:49  
batch.js?externals=__local-default__\&locale=en-GB:112 AJS's create element functionality has been deprecated since 5.9.0.  
No alternative will be provided.  
Use document.createElement() or jQuery.parseHTML(), or preferably use a templating library.  
a.default @ batch.js?externals=__local-default__\&locale=en-GB:112  
d @ batch.js?externals=__local-default__\&locale=en-GB:124  
displayMessages @ batch.js?externals=__local-default__\&locale=en-GB:2858  
b.displayErrors @ com.atlassian.confluence.plugins.drag-and-drop:insert-dialog-upload-controller.js?externals=__local-default__:5  
displayErrors @ com.atlassian.confluence.editor:panel-components.js?externals=__local-default__\&locale=en-GB:82  
f @ com.atlassian.confluence.plugins.drag-and-drop:image-dialog-client.js?externals=__local-default__\&locale=en-GB:8  
(anonymous) @ com.atlassian.confluence.plugins.drag-and-drop:image-dialog-client.js?externals=__local-default__\&locale=en-GB:11  
d @ jquery-min.js:1  
add @ jquery-min.js:1  
(anonymous) @ com.atlassian.confluence.plugins.drag-and-drop:image-dialog-client.js?externals=__local-default__\&locale=en-GB:11  
trigger @ confluence.web.resources:plupload.js?externals=__local-default__:23  
c.onreadystatechange @ confluence.web.resources:plupload.js?externals=__local-default__:55  
XMLHttpRequest.send (async)  
n @ confluence.web.resources:plupload.js?externals=__local-default__:58  
l @ confluence.web.resources:plupload.js?externals=__local-default__:59  
f @ confluence.web.resources:plupload.js?externals=__local-default__:59  
(anonymous) @ confluence.web.resources:plupload.js?externals=__local-default__:60  
trigger @ confluence.web.resources:plupload.js?externals=__local-default__:23  
b @ confluence.web.resources:plupload.js?externals=__local-default__:15  
start @ confluence.web.resources:plupload.js?externals=__local-default__:21  
(anonymous) @ com.atlassian.confluence.plugins.drag-and-drop:image-dialog-client.js?externals=__local-default__\&locale=en-GB:10  
d @ jquery-min.js:1  
fireWith @ jquery-min.js:1  
fire @ jquery-min.js:1  
(anonymous) @ com.atlassian.confluence.plugins.drag-and-drop:filestore-uploader.js?externals=__local-default__:7  
d @ jquery-min.js:1  
fireWith @ jquery-min.js:1  
s @ jquery-min.js:1  
f @ jquery-min.js:1  
XMLHttpRequest.send (async)  
send @ jquery-min.js:1  
ajax @ jquery-min.js:1  
t @ com.atlassian.confluence.plugins.drag-and-drop:filestore-uploader.js?externals=__local-default__:7  
(anonymous) @ com.atlassian.confluence.plugins.drag-and-drop:filestore-uploader.js?externals=__local-default__:9  
d @ jquery-min.js:1  
fireWith @ jquery-min.js:1  
s @ jquery-min.js:1  
f @ jquery-min.js:1  
XMLHttpRequest.send (async)  
send @ jquery-min.js:1  
ajax @ jquery-min.js:1  
f.filesAdded @ com.atlassian.confluence.plugins.drag-and-drop:filestore-uploader.js?externals=__local-default__:8  
d @ com.atlassian.confluence.plugins.drag-and-drop:image-dialog-client.js?externals=__local-default__\&locale=en-GB:10  
filterFiles @ com.atlassian.confluence.plugins.drag-and-drop:upload-utils.js?externals=__local-default__:6  
(anonymous) @ com.atlassian.confluence.plugins.drag-and-drop:image-dialog-client.js?externals=__local-default__\&locale=en-GB:10  
trigger @ confluence.web.resources:plupload.js?externals=__local-default__:23  
k @ confluence.web.resources:plupload.js?externals=__local-default__:46  
u @ confluence.web.resources:plupload.js?externals=__local-default__:49


author: roman
body: [@Aldo Schembri](/t5/user/viewprofilepage/user-id/1957379),

it seems there is an issue in the request to get the editor content:

<https://mapfremiddlesea.atlassian.net/wiki/rest/api/content/651952165/property/editor>404

If you don't have any blocker in your browser, and the network connection is good, I would suggest contacting Atlassian Support if your license tier allows access to support. Otherwise, maybe other community members have other ideas about this issue as I am out of ideas.

Roman.


author: Aldo Schembri
body: Good morning Roman

Thank you for your time and efforts into looking into my poblem. I truly appreciate it. I shall check as you stated.

Regards

Aldo