web-server-chrome icon indicating copy to clipboard operation
web-server-chrome copied to clipboard

Unable to start Web server

Open nitheshreddy opened this issue 8 years ago • 21 comments

nitheshreddy avatar May 19 '16 23:05 nitheshreddy

I just installed the app and selected "Also on internet" option. That is when i tried turning off and turning it back on. I was waiting for a while but it didn't start.

nitheshreddy avatar May 19 '16 23:05 nitheshreddy

image

nitheshreddy avatar May 19 '16 23:05 nitheshreddy

I had the same problem :/

JoseRenan avatar May 20 '16 01:05 JoseRenan

Hmm something is going wrong talking to your router most likely. If you can go to chrome://inspect and click on the background page for web server chrome and paste the console log window that would help

kzahel avatar May 20 '16 17:05 kzahel

image

nitheshreddy avatar May 20 '16 17:05 nitheshreddy

It just stays there and would not start :/

nitheshreddy avatar May 20 '16 17:05 nitheshreddy

I think I see the issue. To clarify though, it will start if you turn off "Also on internet" and completely restart the app? (e.g. by turning off background mode and closing the window, or rebooting)

kzahel avatar May 20 '16 20:05 kzahel

Yes, it is working when i turn off "Also on Internet" option. But how to make it work with selecting this option.

nitheshreddy avatar May 20 '16 21:05 nitheshreddy

You might want to check your router settings (usually by going to http://192.168.1.1) and making sure upnp is turned on. You could also manually forward a port to your computer's ip. But it's possible there's some other bug happening that I could fix. I can add more logging to determine what is going wrong in the next update.

kzahel avatar May 20 '16 21:05 kzahel

I'm seeing the same problem, reproducibly, complete with the same error message about the roboto font file not found.

mco-gh avatar May 20 '16 21:05 mco-gh

Same problem here,and posted this very problem, w/o a response back

ganggreen777 avatar May 22 '16 21:05 ganggreen777

I'll get to fixing this on Monday

kzahel avatar May 22 '16 21:05 kzahel

I put out an update to the web store 0.4.1 that you should be able to try out in an hour or two when it auto-updates. I added an option in the advanced settings to do "Verbose logging" which you can view at chrome://inspect under Extensions

kzahel avatar May 23 '16 18:05 kzahel

Please try to disable the "available on internet" if you encounter this problem.

kzahel avatar Aug 18 '16 21:08 kzahel

So, Is it not possible to access these URLs from outside local network?

nitheshcse avatar Sep 02 '16 21:09 nitheshcse

It is, but only if your router supports upnp port mapping. Also I only tested on a few routers so I can't guarantee it works everywhere. Also if there's more than one computer on the same network trying to do it, there can be a conflict and it will only work for one computer... You can look at the log file to see the status by opening a new tab and going to the url "chrome://inspect" and then look for the background page for web server chrome, look for things related to UPNP...

kzahel avatar Sep 02 '16 21:09 kzahel

Hi, I also have problem. My case I setup Kiosk mode to run my own App(Appspace) and also install your Web Server Extension as well. I did setup run on background and access on local network. When I reboot my app show up first as it is Kiosk App. I tried to access this chrome-box http://x.x.x.x:8887/index.html from my notebook. It now show anything. Please help. Web server for chrome is very good by the way. Hope this issue will fix. Thank you, Panya

bj32161 avatar Jan 21 '17 06:01 bj32161

@bj32161 I think I saw your message on the app support page. I think when you run a Kiosk app, it only runs that app, and ignores all other apps, even if they're set to run on startup. That means you'll need to combine the apps into a single app. You might want to look at https://github.com/matt-cook/kiosk which is able to run as kiosk and use web server chrome also.

kzahel avatar Jan 21 '17 10:01 kzahel

@kzahel Thank you for your advise. Unfortunately, the kiosk app developed by another company which I can't bundle this this App. I just looking work around.

bj32161 avatar Jan 26 '17 02:01 bj32161

Does the android appspace support a similar feature (hosting local content?) It might be possible for them to bundle in WSC. Maybe they have some kind of product feature suggestion page that you could post to.

kzahel avatar Jan 26 '17 03:01 kzahel

image

I am getting this error. I tried turning off also available on internet, available on local network, use https, and pretty much every setting I turned on. But still stuck.

ajilpappachan avatar Aug 24 '21 18:08 ajilpappachan