# Error when deploying server and webapp

**URL:** <https://forum.mattermost.com/t/error-when-deploying-server-and-webapp/5754>\
**Category:** Troubleshooting\
**Created:** [September 20, 2018, 3:12am UTC](https://forum.mattermost.com/t/error-when-deploying-server-and-webapp/5754 "2018-09-20T03:12:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Developer](https://avatars.discourse-cdn.com/v4/letter/d/bcef8e/32.png) [@Developer](https://forum.mattermost.com/u/Developer)\
**Post date:** [September 20, 2018, 3:12am UTC](https://forum.mattermost.com/t/error-when-deploying-server-and-webapp/5754/1 "2018-09-20T03:12:42Z")

</div>

#### Summary

We want to fork the code and develop some custom functionality.  
We followed the “Developer Setup” step by step to run server and visit webapp via chrome, but there were a lot of errors.

#### Steps to reproduce

The OS is ubuntu 16.04 x86\_64 , and the codes of mattermost-server and mattermost-webapp are fork from github. The directory “~/go/src/github.com/mattermost/” contains three subdirectory, including mattermost-server, mattermost-webapp and mattermost-redux.  
Besides, the version of npm, node and go are 6.4.1, 8.12.0, go1.9.4 respectively.

#### Expected behavior

We hope to be able to access mattermost server through a web browser.

#### Observed behavior in the mattermost-server directory

(1)_make test_ fails and gets the error message “Makefile:347: recipe for target ‘test-te’ failed”.  
(2)_make run_ goes fine, but the url “[http://192.168.0.11:8065/](http://192.168.0.11:8065/)” has an error message found below.

> We’re having trouble connecting to Mattermost. If refreshing this page (Ctrl+R or Command+R) does not work, please verify that your computer is connected to the internet.

After running make test, you see log messages on the terminal and at one point the tests stop running. The following screenshot is the observed behavior:

 ![CA9D6A36-6516-4D47-9668-6C5685D89B7D](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/0/017cbca8dfee798615600d0120ae1de6e3105907.jpeg)

---

<div class="post-metadata">

**Author:** ![amy.blais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/amy.blais/32/7481_2.png) [@amy.blais](https://forum.mattermost.com/u/amy.blais)\
**Post date:** [September 20, 2018, 5:41pm UTC](https://forum.mattermost.com/t/error-when-deploying-server-and-webapp/5754/2 "2018-09-20T17:41:45Z")

</div>

Hi @Developer, thank you for reaching out.

I’ve asked our developers to take a look at this.

---

<div class="post-metadata">

**Author:** ![jesse](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/jesse/32/5168_2.png) [@jesse](https://forum.mattermost.com/u/jesse)\
**Post date:** [September 20, 2018, 5:42pm UTC](https://forum.mattermost.com/t/error-when-deploying-server-and-webapp/5754/3 "2018-09-20T17:42:06Z")

</div>

Hi @Developer, can you share your log messages?
