# Fuse not running

**URL:** <https://forums.fusetools.com/t/fuse-not-running/2243>\
**Category:** General\
**Created:** [July 30, 2017, 3:05am UTC](https://forums.fusetools.com/t/fuse-not-running/2243 "2017-07-30T03:05:35Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![R0b0tn1k](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/r0b0tn1k/32/49_2.png) [@R0b0tn1k](https://forums.fusetools.com/u/R0b0tn1k)\
**Post date:** [August 3, 2017, 4:08pm UTC](https://forums.fusetools.com/t/fuse-not-running/2243/21 "2017-08-03T16:08:48Z")

</div>

Ok, not sure what I did, but telneting to ports 12124 and 12122 works now:

```auto
telnet 10.0.0.35 12124
Trying 10.0.0.35...
Connected to 10.0.0.35.
Escape character is '^]'.

```

```auto
telnet 127.0.0.1 12122
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Event
149
{"Name":"Welcome","Data":{"Message":"You have successfully connected to the Fuse Daemon. You can find API docs on our webpage."},"SubscriptionId":-1}

```

Fuse is still not connecting, even though I try both IP’s.

But, look at the difference:

```auto
telnet 10.0.0.35 12122
Trying 10.0.0.35...
telnet: connect to address 10.0.0.35: Connection refused
telnet: Unable to connect to remote host

```

```auto
telnet 10.0.0.35 12124
Trying 10.0.0.35...
Connected to 10.0.0.35.
Escape character is '^]'.

```

```auto
telnet 127.0.0.1 12122
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Event
149
{"Name":"Welcome","Data":{"Message":"You have successfully connected to the Fuse Daemon. You can find API docs on our webpage."},"SubscriptionId":-1}

```

```auto
telnet 127.0.0.1 12124
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

```

Only connecting to 127.0.0.1 gives an actual response on port 12122.

Connecting to 10.0.0.35 (WiFi IP) on 12124 just connects (no response).

---

<div class="post-metadata">

**Author:** ![R0b0tn1k](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/r0b0tn1k/32/49_2.png) [@R0b0tn1k](https://forums.fusetools.com/u/R0b0tn1k)\
**Post date:** [August 3, 2017, 8:42pm UTC](https://forums.fusetools.com/t/fuse-not-running/2243/22 "2017-08-03T20:42:55Z")

</div>

Update: Re-installed fuse, still the same.

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [August 7, 2017, 8:14am UTC](https://forums.fusetools.com/t/fuse-not-running/2243/23 "2017-08-07T08:14:57Z")

</div>

Just to clarify the 12122 vs. 12124 thing: Those are two different processes. 12122 is the Fuse daemon, which should only talk to the various Fuse processes on your local computer. This is for instance where the editor plugins connect to get code completion, build logs etc.

12124 is the port where preview processes connect (“the proxy”), to set up a connection to the correct Fuse project and get live updates for that project.

So it’s only the proxy on 12124 that needs to listen on the public IP.

The proxy on 12124 is not supposed to give a reply until you start talking to it, whereas the daemon on 12122 gives a welcome message.

To conclude: Everything seems fine with your telnet experiments. Would it be possible for you to try iOS preview on a physical device and see if that is working? Also, do you have an Android device available that you could try preview on?

---

<div class="post-metadata">

**Author:** ![R0b0tn1k](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/r0b0tn1k/32/49_2.png) [@R0b0tn1k](https://forums.fusetools.com/u/R0b0tn1k)\
**Post date:** [August 11, 2017, 5:25am UTC](https://forums.fusetools.com/t/fuse-not-running/2243/24 "2017-08-11T05:25:37Z")

</div>

Hey, was on vacation with spotty internet.

I’ll do some more tests today, if it doesnt work i’m reinstalling my Mac from scratch.

---

<div class="post-metadata">

**Author:** ![Chandara](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@Chandara](https://forums.fusetools.com/u/Chandara)\
**Post date:** [August 13, 2017, 4:23am UTC](https://forums.fusetools.com/t/fuse-not-running/2243/25 "2017-08-13T04:23:08Z")

</div>

Hi,

I’m new to fuse. Unfortunately, this kind of error also run to me.

telnet 127.0.0.1 12122  
telnet 127.0.0.1 12124

both are working fine.

how to solve this issue?

Thanks,

---

<div class="post-metadata">

**Author:** ![R0b0tn1k](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/r0b0tn1k/32/49_2.png) [@R0b0tn1k](https://forums.fusetools.com/u/R0b0tn1k)\
**Post date:** [August 13, 2017, 12:34pm UTC](https://forums.fusetools.com/t/fuse-not-running/2243/26 "2017-08-13T12:34:45Z")

</div>

Aha, so it’s not just me!  
You give me hope 🙂  
Fuse team, your turn, seems like it’s not isolated. I can be contacted via Skype if you like to dig in deeper.

---

<div class="post-metadata">

**Author:** ![Chandara](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@Chandara](https://forums.fusetools.com/u/Chandara)\
**Post date:** [August 13, 2017, 3:31pm UTC](https://forums.fusetools.com/t/fuse-not-running/2243/27 "2017-08-13T15:31:49Z")

</div>

Yes, I also can give more detail on this.

Fuse is really interesting.

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [August 14, 2017, 6:42am UTC](https://forums.fusetools.com/t/fuse-not-running/2243/28 "2017-08-14T06:42:10Z")

</div>

Chandara and R0b0tn1k,

It would be very helpful if you could check whether this problem only happens in the iOS simulator, or if it also happens on a real device (iOS or Android).

---

<div class="post-metadata">

**Author:** ![Chandara](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@Chandara](https://forums.fusetools.com/u/Chandara)\
**Post date:** [August 16, 2017, 1:55pm UTC](https://forums.fusetools.com/t/fuse-not-running/2243/29 "2017-08-16T13:55:38Z")

</div>

It is also happen on real device and simulator but run in Fuse Studio is ok …

My device: iphone7

Development: macOS Sierra

---

<div class="post-metadata">

**Author:** ![R0b0tn1k](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/r0b0tn1k/32/49_2.png) [@R0b0tn1k](https://forums.fusetools.com/u/R0b0tn1k)\
**Post date:** [August 16, 2017, 7:20pm UTC](https://forums.fusetools.com/t/fuse-not-running/2243/30 "2017-08-16T19:20:32Z")

</div>

Trying Android:

```auto
blabla:vinyl-store bla$ fuse preview -t=Android
Fuse 1.1.1 (build 13893)
Configuring (3.6 s)
Compiling syntax tree (2.4 s)
Generating code and data (12.9 s)
Building Android app
2/2: VinylStore.apk
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

```

And it just stops.

I can see the device on ADB:

```auto
./adb devices -l
List of devices attached
55c3cae87ce4 device usb:336592896X product:markw model:Redmi_4 device:markw

```

Am I doing something wrong?

UPDATE:

No, wait it did launch, BUT this happened:

```auto
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
(2:50)

Build completed in 189.08 seconds
Installing APK on 1 device(s)
Launching activity 'VinylStore'

ERROR: Too many open files. (pass --trace for stack trace)
fuse: Android run failed

```

---

<div class="post-metadata">

**Author:** ![R0b0tn1k](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/r0b0tn1k/32/49_2.png) [@R0b0tn1k](https://forums.fusetools.com/u/R0b0tn1k)\
**Post date:** [August 16, 2017, 7:51pm UTC](https://forums.fusetools.com/t/fuse-not-running/2243/31 "2017-08-16T19:51:36Z")

</div>

Ok, switched devices, it finally installed.

However, the error is “Fuse not running”. Tried changing IP’s manually typing it in, to no avail.

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [August 17, 2017, 7:34am UTC](https://forums.fusetools.com/t/fuse-not-running/2243/32 "2017-08-17T07:34:37Z")

</div>

R0b0tn1k:

“Fuse not running” is actually progress! 🙂 “Failed to connect” means the app can’t connect to Fuse at all. “Fuse not running” means it managed to connect to the computer (the proxy on 12124), but that the project for that app is not opened in Fuse. When you got that message, are you sure you had the project open in Fuse?

Chandara:

Which exact error message are you getting? “Fuse not running” or “Failed to connect”?

---

<div class="post-metadata">

**Author:** ![R0b0tn1k](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/r0b0tn1k/32/49_2.png) [@R0b0tn1k](https://forums.fusetools.com/u/R0b0tn1k)\
**Post date:** [August 17, 2017, 9:59am UTC](https://forums.fusetools.com/t/fuse-not-running/2243/33 "2017-08-17T09:59:10Z")

</div>

I had the project open in Sublime. Should I have the preview running in Fuse as well?

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [August 17, 2017, 10:07am UTC](https://forums.fusetools.com/t/fuse-not-running/2243/34 "2017-08-17T10:07:09Z")

</div>

Yes, the project has to be open in Fuse itself when you preview on a device.

---

<div class="post-metadata">

**Author:** ![R0b0tn1k](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/r0b0tn1k/32/49_2.png) [@R0b0tn1k](https://forums.fusetools.com/u/R0b0tn1k)\
**Post date:** [August 17, 2017, 10:08am UTC](https://forums.fusetools.com/t/fuse-not-running/2243/35 "2017-08-17T10:08:10Z")

</div>

Ok, let’s test that theory…

---

<div class="post-metadata">

**Author:** ![R0b0tn1k](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/r0b0tn1k/32/49_2.png) [@R0b0tn1k](https://forums.fusetools.com/u/R0b0tn1k)\
**Post date:** [August 17, 2017, 10:44am UTC](https://forums.fusetools.com/t/fuse-not-running/2243/36 "2017-08-17T10:44:41Z")

</div>

Seems to be running!

So, what have we learned:

1. Fuse local preview has to be running with the app loaded
2. Be on the same WiFi (was already)
3. Run fuse preview -t=iOS to get iOS preview as well

I seem to remember from the videos that one preview made all other previews (iOS and Android) sync.  
How do you do that?

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [August 17, 2017, 11:20am UTC](https://forums.fusetools.com/t/fuse-not-running/2243/37 "2017-08-17T11:20:01Z")

</div>

> Seems to be running!

Glad to hear it’s finally working!

> So, what have we learned: 1. Fuse local preview has to be running with the app loaded 2. Be on the same WiFi (was already) 3. Run fuse preview -t=iOS to get iOS preview as well

Correct. For point 3, you can launch it from the menu in Fuse as well, if you don’t prefer the command line.

> I seem to remember from the videos that one preview made all other previews (iOS and Android) sync. How do you do that?

What do you mean by “sync” here? If you make a change in Fuse Studio or an editor, those changes are instantly reflected across all previews.

---

<div class="post-metadata">

**Author:** ![Chandara](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@Chandara](https://forums.fusetools.com/u/Chandara)\
**Post date:** [August 17, 2017, 2:27pm UTC](https://forums.fusetools.com/t/fuse-not-running/2243/38 "2017-08-17T14:27:15Z")

</div>

Hi All,

It seems working.  
I need to run Fuse Studio during the preview, I use Visual Studio Code.

I test another scenario to deploy to a real device. it is also working.

However, this behavior is not seem making sense at all.

Why do we need to run Fuse Studio during the preview and deploy?

Thanks,

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [August 18, 2017, 9:24am UTC](https://forums.fusetools.com/t/fuse-not-running/2243/39 "2017-08-18T09:24:01Z")

</div>

Fuse only needs to be running during preview. If you export your app, it will work normally without Fuse running.

The reason for requiring the project to be open in Fuse when you’re previewing your app, is for Fuse to be able to watch the project files on disk, react to changes and update the preview(s) running on your device(s). In addition, you get the benefits of having the log view and error view available for your project.

---

<div class="post-metadata">

**Author:** ![raphael.godoi](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/raphael.godoi/32/312_2.png) [@raphael.godoi](https://forums.fusetools.com/u/raphael.godoi)\
**Post date:** [September 11, 2017, 4:04pm UTC](https://forums.fusetools.com/t/fuse-not-running/2243/40 "2017-09-11T16:04:37Z")

</div>

Hi Guys, I’m facing the same problem.

My environment is Fuse 1.2.1, Mac OS Sierra 10.12.6.

On both, iOS (device and simulator) and Android, with Local Preview running.

[Previous page](https://forums.fusetools.com/t/fuse-not-running/2243.md?page=1)

[Next page](https://forums.fusetools.com/t/fuse-not-running/2243.md?page=3)
