Giter VIP home page Giter VIP logo

Comments (7)

sihorton avatar sihorton commented on July 24, 2024

Since nodejs got an exception it closed down and did not start the webserver and that is the reason for the localhost error.

For now kill all versions of nodejs and chrome that are running. I suspect you have both a windows installer deskshell and a source code deskshell and both are trying to use port 9223. To fix this edit bin/win/deskshell-env.js change the port from 9223 to 9224. That way the two versions of deskshell can run independently.

If this does not fix the problem comment again and we can try a different solution.

from appjs-deskshell.

sihorton avatar sihorton commented on July 24, 2024

Clarification: change port in deskshell-env.js for the source code version of deskshell.

from appjs-deskshell.

IngwiePhoenix avatar IngwiePhoenix commented on July 24, 2024

As a side note, i am using my freeport function in PHP to generate a new rdebug port. That way I never got an issue so far. Consider it becoming a setting to have a fixed or dynamic port? It'd be useful for apps that want to determine multiple instances, or something like that... just a random idea o.o
Am 03.10.2013 um 19:18 schrieb sihorton [email protected]:

Since nodejs got an exception it closed down and did not start the webserver and that is the reason for the localhost error.

For now kill all versions of nodejs and chrome that are running. I suspect you have both a windows installer deskshell and a source code deskshell and both are trying to use port 9223. To fix this edit bin/win/deskshell-env.js change the port from 9223 to 9224. That way the two versions of deskshell can run independently.

If this does not fix the problem comment again and we can try a different solution.


Reply to this email directly or view it on GitHub.

from appjs-deskshell.

sihorton avatar sihorton commented on July 24, 2024

I did that at first. The problem is when you launch multiple apps at the same time. The second app that runs ignores the debug port you gave to it and instead reuses the debug port you gave to the first app! This caused problems for me at first but now that is fixed by having one set debug port per chromium binary that is launched.

My guess in this case is that there is the windows installer deskshell installed with its chromium binary and then the checked out source code in a second folder with its chromium binary and both are trying to use same port. I have this setup on my windows dev machine. Solution is to change port for the source code version then both can run side by side. This solved problem for me -- to begin with I often got the same error reported here, now it launches every time.

Still we should copy your connection algorithm to windows port and then add better error handling - not so nice at the moment that we just crash.

from appjs-deskshell.

sholtomaud avatar sholtomaud commented on July 24, 2024

Still having some difficulty. Closed all versions of chrome and node.js.

When I restarted deskshell I looked at Task Manager and found 3x instances of Chrome.exe running and I didn't have any instances of chrome open.

image

So Deskshell starts but when I click on the demo button I get the error again. This might be due to the way I've pulled from the upstream repo ... let me start again

image

from appjs-deskshell.

sihorton avatar sihorton commented on July 24, 2024

I created a totally clean checkout of the source code and then I got the exact same issue. The problem was caused by a missing file if running from a github checkout. I added a simple test for that and now I no longer get the issue.

Please pull the latest changes from github to fix this issue.

from appjs-deskshell.

sholtomaud avatar sholtomaud commented on July 24, 2024

Thanks Simon. I'll test tonight Australian time.
On Oct 9, 2013 8:43 AM, "sihorton" [email protected] wrote:

I created a totally clean checkout of the source code and then I got the
exact same issue. The problem was caused by a missing file if running from
a github checkout. I added a simple test for that and now I no longer get
the issue.

Please pull the latest changes from github to fix this issue.


Reply to this email directly or view it on GitHubhttps://github.com//issues/13#issuecomment-25934035
.

from appjs-deskshell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.