# Internal error: failed to create or connect to the perfect build environment. Don't worry, build should restart soon

**URL:** https://discuss.bitrise.io/t/internal-error-failed-to-create-or-connect-to-the-perfect-build-environment-dont-worry-build-should-restart-soon/5901
**Category:** Builds
**Created:** [August 12, 2018, 3:36am UTC](https://discuss.bitrise.io/t/internal-error-failed-to-create-or-connect-to-the-perfect-build-environment-dont-worry-build-should-restart-soon/5901 "2018-08-12T03:36:52Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![nickgrealy](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/nickgrealy/32/1633_2.png) [@nickgrealy](https://discuss.bitrise.io/u/nickgrealy)
#### Post date: [August 12, 2018, 3:36am UTC](https://discuss.bitrise.io/t/internal-error-failed-to-create-or-connect-to-the-perfect-build-environment-dont-worry-build-should-restart-soon/5901/1 "2018-08-12T03:36:52Z")

</div>

# Bitrise Build Issue Report template

## Description of the issue

Builds repeatedly fail with the message:

> Internal error: failed to create or connect to the perfect build environment. Don’t worry, build should restart soon.

## Environment:

On [Bitrise.io](http://Bitrise.io)… (non-OS specific)

If on [Bitrise.io](http://Bitrise.io): which stack? If not on [Bitrise.io](http://Bitrise.io): on what operating system? (Plus any other information you can share)

The “Hobby” pricing tier.

I assume the stack is the “StandardMachine” - LINUX 2xCPU (n1)

Not applicable - build doesn’t even start.

## Reproducibility

- _Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build)_ : NO
- _Does a rebuild without caches help? (You can remove the `Cache:Pull` and `Cache:Push` steps temporarily to not to use the cache, or [you can delete all the caches on the `Settings` tab of the app](http://devcenter.bitrise.io/caching/about-caching/#downloading-and-deleting-caches)._ : NO
- _Does the issue happen sporadically, or every time?_ : EVERY TIME
- _Does upgrading the build Step to the latest version help?_ : NO
- _When did the issue start?_ : 12th August 2018

### Local reproduction

_Can it be reproduced on your own Mac/PC by following our [local debug guide](http://discuss.bitrise.io/t/how-to-debug-your-build-locally-it-works-on-my-mac-pc-but-not-on-bitrise-io/392)? Please follow at least the first section (“Testing with a full clean git clone”) to make sure to test the state of the code what [bitrise.io](http://bitrise.io) will get when it does a git clone in the clean environment! If possible please note which sections you tried._

### Local reproduction: Linux / Android (docker based) stack builds

_Can it be reproduced by running the build locally, after doing a new git clone of the repository into the `/tmp` directory and running the build from there with the Bitrise CLI ( [Bitrise CLI](https://www.bitrise.io/cli) )? If no, can it be reproduced with Docker (using the same docker images / environment we use on [bitrise.io](http://bitrise.io))? Related guide: [Running your build locally in Docker](http://devcenter.bitrise.io/docker/run-your-build-locally-in-docker/) ._

## Build log

No log to share.

Duplicate of [Internal error: failed to create or connect to the perfect build environment](http://discuss.bitrise.io/t/internal-error-failed-to-create-or-connect-to-the-perfect-build-environment/5185) ?

 ![29%20pm](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/5/51c599011dc581347e41273751a4200c0bd88924.png)

---

<div class="post-metadata">

### Author: ![nickgrealy](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/nickgrealy/32/1633_2.png) [@nickgrealy](https://discuss.bitrise.io/u/nickgrealy)
#### Post date: [August 12, 2018, 3:39am UTC](https://discuss.bitrise.io/t/internal-error-failed-to-create-or-connect-to-the-perfect-build-environment-dont-worry-build-should-restart-soon/5901/2 "2018-08-12T03:39:51Z")

</div>

Status page is showing all green / 100% uptime… is that just the [bitrise.io](http://bitrise.io) website?  
[https://status.bitrise.io/](https://status.bitrise.io/)

 ![14%20pm](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/4/4bdc7348c8a40d0958d2de4810339a50d8cc0b27.png)

---

<div class="post-metadata">

### Author: ![tamasbazsonyi](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/tamasbazsonyi/32/1654_2.png) [@tamasbazsonyi](https://discuss.bitrise.io/u/tamasbazsonyi)
#### Post date: [August 12, 2018, 4:18am UTC](https://discuss.bitrise.io/t/internal-error-failed-to-create-or-connect-to-the-perfect-build-environment-dont-worry-build-should-restart-soon/5901/3 "2018-08-12T04:18:51Z")

</div>

Hi @nickgrealy,

Sorry for the inconvenience caused! Our team is investigating the issue. We are not yet sure about what could be causing the issue, but the status page should be up-to-date now and we’ll be posting details on the investagion/resolution.

---

<div class="post-metadata">

### Author: ![tamasbazsonyi](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/tamasbazsonyi/32/1654_2.png) [@tamasbazsonyi](https://discuss.bitrise.io/u/tamasbazsonyi)
#### Post date: [August 12, 2018, 4:58am UTC](https://discuss.bitrise.io/t/internal-error-failed-to-create-or-connect-to-the-perfect-build-environment-dont-worry-build-should-restart-soon/5901/4 "2018-08-12T04:58:42Z")

</div>

Hi @nickgrealy ,  
​The issue should be resolved now and the builds should be able to start on the MacOS machines. Sorry for the inconvenience caused!

---

<div class="post-metadata">

### Author: ![tamasbazsonyi](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/tamasbazsonyi/32/1654_2.png) [@tamasbazsonyi](https://discuss.bitrise.io/u/tamasbazsonyi)
#### Post date: [August 13, 2018, 9:11am UTC](https://discuss.bitrise.io/t/internal-error-failed-to-create-or-connect-to-the-perfect-build-environment-dont-worry-build-should-restart-soon/5901/5 "2018-08-13T09:11:34Z")

</div>


