Can't connect to web-interface?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
ribboo
New Cone
New Cone
Posts: 1
Joined: 20 Feb 2012 19:13

Can't connect to web-interface?

Postby ribboo » 20 Feb 2012 19:22

Before upgrading to 2.0 I had a web-interface that worked flawless. After a fresh install (with previous settings erased and whatnot), I cannot seem to get the web-interface to work.

First of all I need to run it on a port other than 8080. Before upgrading I used 8085, so I've been trying with the same port. When I press "view > Add interface > Web", nothing happens. Previously on 1.2.5 (I believe that was the version) a check mark used to show up right after web. Now it doesn't. But that solution wouldn't have worked anyway, because I need to change the port it runs on. So what I've done is this:

I've added "--extraintf http" at the end of my shortcuts target field. Under "Preferences > All > Interface > Main interfaces" Lua interpreter is checked. Under "Main interfaces > Lua" the following settings has been added:
Lua interface: http
Lua interface configuration: http={host='0.0.0.0:8085',dir='lua/http'} (I've also tried with 127.0.0.1 and localhost)

But I still can't seem to get it working. I've googled and tried a couple of other solutions but have so far found nothing to work. What can I do?

nkoriyama
Cone that earned his stripes
Cone that earned his stripes
Posts: 338
Joined: 01 Sep 2011 20:50
VLC version: git
Operating System: Windows / Mac OS X
Location: Japan

Re: Can't connect to web-interface?

Postby nkoriyama » 20 Feb 2012 22:16

You have to edit lua\http\.hosts.
viewtopic.php?f=14&t=98243#p328292
On default setting, you can access only from local ip(localhost, 127.0.0.1).
If you want to access the http interface from another computer on your private LAN, you need to modify lua/http/.hosts file.
If your private address is 192.168.x.x, you need to uncomment the line
192.168.0.0/16
And you can access the http interface from another computer.
How To Ask Questions The Smart Way http://www.catb.org/~esr/faqs/smart-questions.html
My hack for ISDB-T http://sdrv.ms/126weue

genfester
New Cone
New Cone
Posts: 4
Joined: 20 Feb 2012 04:23

Re: Can't connect to web-interface?

Postby genfester » 20 Feb 2012 23:12

I am in the same boat I have tried to edit the .hosts file with no luck, wondering if anyone has gotten it to work? I wonder if doing both the preferences and editing .host file will work? ive been testing for days.

Credomo
New Cone
New Cone
Posts: 1
Joined: 21 Feb 2012 23:29

Re: Can't connect to web-interface?

Postby Credomo » 21 Feb 2012 23:37

The same : .host file edited and the web interface still doesn't work.

In Console view I have this message :

Code: Select all

[0065dcc8] oldrc interface: VLC media player - 2.0.0 Twoflower [0065dcc8] oldrc interface: Copyright © 1996-2012 VLC authors and VideoLAN [0065dcc8] oldrc interface: Attention : si vous n'avez plus accès à l'interface graphique, ouvrez une invite de commande, allez dans le dossier où vous avez installé VLC, et lancez « vlc -I qt ». Interface de commande à distance initialisée, tapez « help » pour obtenir de l'aide. [0065d9a8] [http] lua interface: Lua HTTP interface [0065d9a8] [http] lua interface error: Error loading script C:\Prog\Video\Player\VLC\lua\intf\http.luac: ...xtras/package/win32/../../../share/lua/intf/http.lua:198: Failed to create HTTPd file.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Can't connect to web-interface?

Postby Jean-Baptiste Kempf » 22 Feb 2012 01:54

Seems like weird preferences to me.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Can't connect to web-interface?

Postby VLC_help » 22 Feb 2012 21:00

luac should not have any knowledge of extras/package/win32/ (unless compilation is done incorrectly)

tubelight
New Cone
New Cone
Posts: 1
Joined: 25 Feb 2012 07:44

Re: Can't connect to web-interface?

Postby tubelight » 25 Feb 2012 07:45

I'm having this exact same issue. Cannot enable web interface at all. Might go back to 1.xx :/

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Can't connect to web-interface?

Postby Jean-Baptiste Kempf » 25 Feb 2012 14:33

Failed to create HTTPd file.
means configuration issue. Read all the logs.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

vestig
New Cone
New Cone
Posts: 1
Joined: 07 Oct 2009 04:29

Re: Can't connect to web-interface?

Postby vestig » 04 Mar 2012 07:34

I had the same issue after I upgraded to 2.0. I deleted the %appdata%/vlc and restarted vlc and the error was gone. Might be worth a try

alexrenzi
New Cone
New Cone
Posts: 2
Joined: 31 Mar 2012 21:32
VLC version: 2
Operating System: Sabayon Linux

Re: Can't connect to web-interface?

Postby alexrenzi » 31 Mar 2012 21:34

I'm having the same problem here, the output of messages window is:

main debug: auto hiding mouse cursor
main debug: looking for interface module: 0 candidates
main debug: no interface module matched "http,none"
main debug: TIMER module_need() : 0.104 ms - Total 0.104 ms / 1 intvls (Avg 0.104 ms)
main error: no suitable interface module
main error: interface "http" initialization failed
main debug: auto hiding mouse cursor

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Can't connect to web-interface?

Postby VLC_help » 01 Apr 2012 11:07

You have .hosts file in lua\http folder?

alexrenzi
New Cone
New Cone
Posts: 2
Joined: 31 Mar 2012 21:32
VLC version: 2
Operating System: Sabayon Linux

Re: Can't connect to web-interface?

Postby alexrenzi » 01 Apr 2012 23:32

Ops, sorry, I am on linux, I found this topic with the search function and I didn't noticed that was a windows oriented one.
I will open a topic in the linux section.

dynamitemedia
Blank Cone
Blank Cone
Posts: 60
Joined: 15 Jul 2007 23:30

Re: Can't connect to web-interface?

Postby dynamitemedia » 01 May 2012 06:16

is there anyway to fix this error?

Code: Select all

[033c4508] oldrc interface: VLC media player - 2.0.1 Twoflower [033c4508] oldrc interface: Copyright c 1996-2012 VLC authors and VideoLAN [033c4508] oldrc interface: Warning: if you cannot access the GUI anymore, open a command-line window, go to the directory where you installed VLC and run "vlc -I qt" Remote control interface initialized. Type `help' for help. [01b8e3a8] [http] lua interface: Lua HTTP interface [01b8e3a8] [http] lua interface error: Error loading script C:\Program Files\Vid eoLAN\VLC\lua\intf\http.luac: ...xtras/package/win32/../../../share/lua/intf/htt p.lua:198: Failed to create HTTPd file. [034f89b8] [http] lua interface: Lua HTTP interface [034f89b8] [http] lua interface error: Error loading script C:\Program Files\Vid eoLAN\VLC\lua\intf\http.luac: ...xtras/package/win32/../../../share/lua/intf/htt p.lua:198: Failed to create HTTPd file.
or in the error mode or messages

Code: Select all

lua info: Lua HTTP interface lua error: Error loading script C:\Program Files\VideoLAN\VLC\lua\intf\http.luac: ...xtras/package/win32/../../../share/lua/intf/http.lua:198: Failed to create HTTPd file.
i have googled for days about this but no luck what so ever.

i did a whole new install of VLS that i downloaded here from main site no Nighly build.... If i need a nightly build i would be ok with that if if someone

dynamitemedia
Blank Cone
Blank Cone
Posts: 60
Joined: 15 Jul 2007 23:30

Re: Can't connect to web-interface?

Postby dynamitemedia » 03 May 2012 18:34

this error exits VLC so it wont work with HTTP interface as soon as you try it does this and exits the VLC when using a BAT file


EDIT: so if it an error in creating the httpd file, is there a working version that will work? i have downloaded the version on the front page. not a nightly build

dynamitemedia
Blank Cone
Blank Cone
Posts: 60
Joined: 15 Jul 2007 23:30

Re: Can't connect to web-interface?

Postby dynamitemedia » 08 May 2012 04:48

sorry to bump this but is there any help on this? it is a VLC error

Failed to create HTTPd file.

why is it doing this and how can i fix it?

JohnLMBrennan
New Cone
New Cone
Posts: 1
Joined: 25 Jul 2012 10:11

Re: Can't connect to web-interface?

Postby JohnLMBrennan » 25 Jul 2012 11:20

- open the "C:\Documents and Settings\john\Application Data\vlc\vlcrc" file.
- find [lua]
- change #http-src to http-src=C:\Program Files\VideoLAN\VLC\lua\http (make sure you remove the # at start of line)
- save the file
- restart vlc

It looks as though, when you set the http source directory option from the vlc preferences GUI, it sets the OLD http source setting not the NEW lua one.
I use linux not windows so I'm not sure if this helps you here, but give it a go.

ledadu
New Cone
New Cone
Posts: 1
Joined: 25 Nov 2012 18:12

Re: Can't connect to web-interface?

Postby ledadu » 25 Nov 2012 18:50

i'v got this error on Vlc 2.0.4 x64 on windows.
i fix it :
1 - install vlc 2.0.4 x32
2 - copy C:\Program Files(x86)\VideoLAN\VLC\lua => C:\Program Files\VideoLAN\VLC\lua ( lua 32bit => lua 64bit)
3 - unistall vlc 32bit..
4 - reopen video file with vlc 64bit..
i hope that help you..


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 16 guests