Superb quality and spec AB-Com PULSe 4K SE only £99! FREE UK DELIVERY! 4K UHD, Enigma 2, Multiboot 4 images & more!...
Superb quality and spec AB-Com PULSe 4K Rev II Twin Satellite tuner only £149! FREE UK DELIVERY! 4K UHD, Enigma 2, SATA HDD facility, Multiboot 4 images & more!...

[VU+ Uno] openwebif not working remotly

yakideo

New member
Joined
Dec 17, 2012
Messages
7
Reaction score
0
Points
0
Age
33
I had openwebif setup (port forwarding etc, the whole works) and it worked fine until it just suddenly stopped working correctly. I can visit the web interface from my internal network, I can visit it from my 3G phone connection but it does not work from my friends house. Visiting http://[ip-of-vu-uno-box]/non-existing-page works (I get a 404 page not found), so obviously a connection is established. Openwebif just stops to return content if I try to visit any other page.

I've verified firewall configurations and network connectivity. I'm unable to find any logs or debug statements from openwebif. What possibly could have happened, how can I debug openwebif?
 
and just to be sure, you're accessing using your external IP address and not an internal one, and you've forwarded the ports on your router?
 
I both tried with the DDNS domain and the correct external IP. Ports are correctly forwarded. I also tried wireshark and it looks like the webif server isn't sending anything back to the client. Strangely enough the webif web server is responding to requests for pages that don't exist.

webif.webp
 
Last edited:
I both tried with the DDNS domain and the correct external IP. Ports are correctly forwarded. I also tried wireshark and it looks like the webif server isn't sending anything back to the client. Strangely enough the webif web server is responding to requests for pages that don't exist.

View attachment 37692

Wrong screenshot ;) I mean of the webif settings on the receiver (ports etc)

1_0_0_0_0_0_0_0_0_0.webp
 
any chance you've got OpenVPN running on your box?
 
Wrong screenshot ;) I mean of the webif settings on the receiver (ports etc)

1_0_1_3E1F_2EE0_13E_820000_0_0_0.webp

any chance you've got OpenVPN running on your box?
Nope, just reflashed the box last night and didn't setup anything extra. The openvpn option under network tells me the feeds are down for maintenance, I'm just assuming it's not installed by default.
 
I also tried wireshark and it looks like the webif server isn't sending anything back to the client. Strangely enough the webif web server is responding to requests for pages that don't exist.
Those last two statements are at odds with each other. If it isn't sending anything back then it can't be sending a 404 response.
Do you see the incoming queries in wireshark?
Is the default route set correctly on your Vu Uno?
 
I changed my port to 8080 as 80 won't work for me. Try changing the port number.
 
I changed my port to 8080 as 80 won't work for me. Try changing the port number.
Didn't make any difference at all.

Those last two statements are at odds with each other. If it isn't sending anything back then it can't be sending a 404 response.
Do you see the incoming queries in wireshark?
Is the default route set correctly on your Vu Uno?

Take a look at the tcp dump on my side (between wan and the vu+). The servers sends the 404 response and the client receives it (as it shows up in the browser) any other page the server sends some content and then stops mid sentence (the client waits for the server to send more but this never happens).
Code:
GET /wrongurl HTTP/1.1
Host: <censored>
Connection: keep-alive
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.102 Safari/537.36
Accept-Encoding: gzip,deflate,sdch
Accept-Language: sv-SE,sv;q=0.8,en-US;q=0.6,en;q=0.4


HTTP/1.1 404 Not Found
Transfer-Encoding: chunked
Date: Sun, 12 Oct 2014 14:59:29 GMT
Content-Type: text/html
Server: TwistedWeb/13.2.0

97

<html><head><title>Open Webif</title></head><body><h1>Error 404: Page not found</h1><br />The requested URL was not found on this server.</body></html>

0

GET / HTTP/1.1
Host: <censored>
Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.102 Safari/537.36
Accept-Encoding: gzip,deflate,sdch
Accept-Language: sv-SE,sv;q=0.8,en-US;q=0.6,en;q=0.4


HTTP/1.1 200 OK
Transfer-Encoding: chunked
Date: Sun, 12 Oct 2014 14:59:31 GMT
Content-Type: text/html
Server: TwistedWeb/13.2.0

4fbd

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link rel="shortcut icon" href="/images/favicon.png">

<link rel="stylesheet" type="text/css" href="/css/style.css" />

<link type="text/css" href="/css/jquery-ui-1.8.18.custom.css" rel="stylesheet" />.

<script type="text/javascript" src="/js/jquery-1.6.2.min.js"></script>

<script type="text/javascript" src="/js/jquery-ui-1.8.18.custom.min.js"></script>

<script type="text/javascript" src="/js/openwebif.js"></script>

<script type="text/javascript">initJsTranslation({"license_text_03": "terms of the GNU General Public License version 2 as", "tuners": "Tuners", "all": "All", "delete_timer": "Delete Timer", "at_location": "Use a custom location", "high_resolution": "High Resolution", "license_text_02": "you can redistribute it and/or modify it under the", "encrypted": "Encrypted", "at_after_event_auto": "auto", "at_filter_weekend": "Weekend", "at_event_timespan": "Execute \"after event\" during timespan", "license_text_01": "All Files of this Software are open source software;", "box_uptime": "Box Uptime", "refresh_timer": "Refresh Timer", "at_enabled": "Enabled", "use_custom_boxname": "Use custom box name", "at_avoid_dup_any_service": "On any service", "at_after_event": "After event", "free_memory": "Free Memory", "every_timer": "Every", "osd": "OSD", "hidefullremote": "Hide full remote", "begin": "Begin", "at_filter_short_desc": "in Shortdescription", "loading": "loading", "at_filter_weekday": "Weekday", "video_width": "Video Width", "title": "Title", "tv": "TV", "tu": "Tu", "at_title_match": "Match title", "at_start_match": "start match", "thursday": "Thursday", "zapbeforestream": "zap before Stream", "at_filter_day": "on Weekday", "ipv4only_python": "IPv4-only Python/Twisted", "location": "Location", "th": "Th", "text": "Text", "main": "Main", "at_after_event_standard": "standard", "at_vps": "VPS", "at_timer_offset": "Custom offset", "zapped_to": "Zapped to", "bqe_delete_channel": "Delete Channel(s)", "tuner_signal_snr": "Tuner Signal Quality SNR", "javalib": "Javascript Libraries", "bqe_del_bouquet_question": "Do you really want to delete the bouquet", "tuner_number": "Tuner Number (0-3)", "auto": "Auto", "at_datespan_after": "Not after", "at_encoding": "EPG encoding", "show_boxname": "Show box name in header", "send_message": "Send Message", "current_event": "Current Event", "tuner_signal_agc": "Tuner Signal Power AGC", "bqe_add_alternative": "Add channel(s) as alternate", "satellites": "Satellites", "powercontrol": "Power Control", "now": "Now", "ip_address": "IP address", "at_event_timespan_end": "End of \"after event\" timespan", "minute": "Minute", "at_after_event_deepstandby": "go to deep standby", "at_timers": "Timers", "at_event_timespan_begin": "Begin of \"after event\" timespan", "name": "Name", "settings": "Settings", "rename_recording": "Rename Recording", "openwebif_header": "Open Source Web Interface for Linux set-top box", "at_timespan": "Only match during timespan", "wednesday": "Wednesday", "refresh": "Refresh", "bqe_restore_question": "Do you really want to restore from file", "default": "Default", "channel": "Channel", "driver_date": "Driver date", "radio": "Radio", "network_interface": "Network Interface", "upcoming_events": "Upcoming Events", "at_timer_type": "Timer type", "at_zap": "zap", "ipv6_address": "IPv6 address(es)", "bqe_rename": "Rename", "at_weekly_mon": "Weekly (Monday)", "license_text_04": "published by the Free Software Foundation.", "back": "Back", "at_description_match": "description match", "at_never": "Never", "subservices": "Subservices", "Bouquet_Editor": "Bouquet Editor", "video": "Video", "bouquets": "Bouquets", "download": "Download", "dolby": "Dolby", "saturday": "Saturday", "disable_timer": "Disable Timer", "at_record": "record", "license": "LICENSE", "at_timespan_begin": "Begin of timespan", "at_parse": "Parse", "capacity": "Capacity", "box_info": "Box Info", "bqe_import": "Import", "screenshot": "Screenshot", "show_epg_for": "Show EPG for", "month_12": "December", "bqe_del_channel_question": "Do you really want to delete the channel(s)", "month_10": "October", "month_11": "November", "current": "Current", "video_height": "Video Height", "waiting": "waiting", "version": "Version", "standby_toggle": "Standby Toggle", "at_exact_match": "exact match", "bqe_name_marker": "Name of the Marker", "provider": "Provider", "all_channels": "All Channels", "dhcp": "DHCP", "bqe_add_channel": "Add channel(s) to Bouquet", "at_filter_title": "in Title", "add_timer": "Add Timer", "translation_spanish": "Translation to Spanish", "we": "We", "at_after_event_nothing": "do nothing", "timeout": "Timeout", "oe_version": "System OE", "seconds": "seconds", "at_label_series": "Label series", "friday": "Friday", "bqe_rename_marker": "Enter new name for the marker", "free": "Free", "at_left": "Amount of recordings left", "subnet_mask": "Subnet mask", "epgsearch": "Epg Search", "at_avoid_dup_any_service_rec": "Any service/recording", "at_timespan_end": "End of Timespan", "at_select_bouquets": "select Bouquets", "shiftforlong": "(shift + click for long pressure)", "tags": "Tags", "month_01": "January", "on": "On", "month_03": "March", "month_02": "February", "month_05": "May", "month_04": "April", "month_07": "July", "month_06": "June", "month_09": "September", "month_08": "August", "custom_boxname": "Custom box name", "timer": "Timer", "edit_timer": "Edit Timer", "at_bouquets": "Bouquets", "at_search_strictness": "Search strictness", "video_wide": "Video Wide", "at_override_alt": "Override found with alternative service", "at_max_duration": "Set maximum duration", "bqe_search": "Search", "at_timer_offset_after": "Offset after recording (in m)", "ipv4only_network": "none/IPv4-only network", "software": "Software", "download_playlist": "Download Playlist for", "at_description": "Description", "bqe_delete_bq": "Delete Bouquet", "total_memory": "Total Memory", "at_del": "Delete", "search": "Search", "tuesday": "Tuesday", "at_list": "AutoTimer List", "multi_epg": "MultiEPG", "channels": "Channels", "site_source": "Site and sources", "done": "Done", "teletext": "Teletext", "shutdown": "Shutdown", "at_search_type": "Search type", "cancel": "Cancel", "at_add": "Add", "at_simulate": "Simulate", "gateway": "Gateway", "zap": "Zap", "at_avoid_dup": "Require description to be unique", "at_timer_offset_before": "Offset before recording (in m)", "playlist": "Playlist", "instant_record": "Instant Record", "stream": "Stream", "service": "Service", "sendamessage": "Send a Message", "Root": "Root", "at_max_counter": "Record a maximum of x times", "bqe_rename_bouquet": "Enter new name for the bouquet", "no_description_available": "no description available", "distro_version": "Distro", "at_select_channels": "select Channels", "start": "Start", "template_engine": "Template Engine", "bqe_rename_bq": "Rename Bouquet", "mac_address": "MAC address", "at_avoid_dup_no": "No", "bqe_add_bq": "Add Bouquet", "yes_no": "Yes/No", "type": "Type", "at_case_insensitive": "case-insensitive search", "at_save": "Save", "cleanup_timer": "Cleanup Timers", "box": "Box", "at_partial_match": "partial match", "bqe_add_provider_as_bouquet": "Add Provider as new Bouquet", "bqe_reload": "Reload", "license_text_m": "All Files of this Software are open source software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.", "bqe_filename": "Please enter filename", "brand": "Brand", "bqe_add_marker": "Add Marker", "about": "About", "at_after_event_standby": "go to standby", "delete_recording": "Delete Recording", "volume": "Volume", "finished": "finished", "tuner_signal": "Tuner Signal", "nothing_play": "Nothing playing.", "authors": "Authors", "remote": "Remote", "at_datespan_before": "Not before", "at_monthly": "Monthly", "show_full_openwebif": "Show Full OpenWebif", "at_datespan": "Restrict to events on certain dates", "info": "Infos", "bqe_name_bouquet": "Name of the Bouquet", "television": "Television", "save": "Save", "locked": "Locked", "delete_recording_question": "Really delete the recording", "hour": "Hour", "reboot_box": "Reboot Box", "deep_standby": "Deep-Standby", "at_filter_include": "Include", "mo": "Mo", "enabled": "Enabled", "satfinder": "Satfinder", "timer_preview": "Autotimer Preview", "movies": "Movies", "timer_added": "Timer added", "at_select_tags": "select Tags", "at_filter_desc": "in Description", "error": "Error", "ber": "BER", "chipset": "Chipset", "hdd_model": "Hard disk model", "control": "Control", "start_instant_record": "Start Instant Record", "after_event": "After Event", "at_reset_count": "Reset count", "contributors": "Contributors", "providers": "Providers", "at_reload": "Reload", "sent_wait": "Waiting for answer ...", "showfullremote": "Show full remote", "standby": "Standby", "restart_gui": "Restart GUI", "zap_to": "Zap to", "search_imdb": "Search IMDb", "duration": "Duration", "just_play": "Just play", "warning": "Warning", "at_delete_autotimer_question": "Do you really want to delete the AT", "enable_timer": "Enable Timer", "at_vps_override": "VPS Overwrite", "firmware_version": "Firmware version", "at_weekly_sun": "Weekly (Sunday)", "tuner_ber": "Tuner Bit Error Rate BER", "at_avoid_dup_same_service": "On same service", "delete_movie": "Delete Movie", "add_autotimer": "Add AutoTimer", "timer_newname": "New Name", "delete_movie_question": "Really delete the movie", "namespace": "Namespace", "rec_status": "Recording Status", "fp_version": "Frontprocessor Version", "sunday": "Sunday", "playback": "Playback", "transcode": "Transcode", "day_2": "Tue", "day_3": "Wed", "day_0": "Sun", "day_1": "Mon", "day_6": "Sat", "movielist": "Movielist", "day_4": "Thu", "day_5": "Fri", "volumecontrol": "Volume Control", "at_channels": "Channels", "fr": "Fr", "add_zaptimer": "Add Zap Timer", "description": "Description", "monday": "Monday", "tv_multi_epg": "TV Multi EPG", "timer_list": "Timerlist", "at_filter_exclude": "Exclude", "tuner_signal_snr_db": "Tuner Signal Quality SNR_DB", "running": "running", "bqe_export": "Export", "snr": "SNR", "at_case_sensitive": "case-sensitive search", "nothing": "Nothing", "end": "End", "ipv4only_kernel": "IPv4-only kernel", "gui_version": "Gui version", "start_after_end": "Start time is after end time", "model": "Model", "refresh_auto": "Refresh automatically every", "at_filter": "Enable Filtering", "grabscreenshot": "Grab Screenshot", "delete_timer_question": "Really delete the timer", "kernel_version": "Kernel version", "tuner_type": "Tuner Type", "at_tags": "Tags", "agc": "AGC", "repeated": "Repeated", "su": "Su", "not_implemented": "Sorry this page is not yet implemented", "at_at_edit": "AutoTimer Edit", "extras": "Extras", "timers": "Timers", "time": "Time", "epg": "EPG", "sa": "Sa", "boxcontrol": "Box Control"})</script>

<title>Open Webif</title>

</head>



<body>

.<div id="container">

..<div id="header">

...<h1><a href="/">Open<span class="off">Webif</span></a></h1>

...<h2>Open Source Web Interface for Linux set-top box<br /><span class="off">Vu+ Uno</span></h2>

..</div>

..

..<div id="statusheader">

...<div id="osd">Nothing playing.</div>

...<div id="osd_status"></div>

...<div id="osd_bottom"></div>

..</div>

..

..<div id="leftmenu">

..

..



..

..

..

...

...

..

...<div id="menucontainer">

.......<div id="leftmenu_main">

....<div id="leftmenu_top">

.....Main

.....<div id="leftmenu_expander_main" class="leftmenu_icon" onclick="toggleMenu('main');"></div>

....</div>

....<div id="leftmenu_container_main">

.......<ul>

....<li><a href='#' onclick="load_maincontent('ajax/tv'); return false;">Television</a></li>

....<li><a href='#' onclick="load_maincontent('ajax/radio'); return false;">Radio</a></li>

....<li><a href='ajax/multiepg2' target=_blank>TV Multi EPG</a></li>

...</ul>



....</div>

...</div>



.......<div id="leftmenu_main">

....<div id="leftmenu_top">

.....Volume Control

.....<div id="leftmenu_expander_volume" class="leftmenu_icon" onclick="toggleMenu('volume');"></div>

....</div>

....<div id="leftmenu_container_volume">

.......<div class="volslider">

.....<p style="text-align:center; padding-bottom:8px;"> 

......<label for="amount">Volume:</label>

......<input type="text" id="amount" style="border:0; color:#f6931f; font-weight:bold; width:40px;" />

.....</p>

....<div id="slider" style="width:130px;"></div>

...</div>

...<div style="width:100%; text-align:center; padding-top:5px; padding-bottom:10px;"><img id="volimage" src="images/volume.png" title="" border="0" width="48" height="48"></div>



....</div>

...</div>



.......<div id="leftmenu_main">

....<div id="leftmenu_top">

.....Box Control

.....<div id="leftmenu_expander_control" class="leftmenu_icon" onclick="toggleMenu('control');"></div>

....</div>

....<div id="leftmenu_container_control">

.......<ul>

....<li><a href='#' onclick="load_dm('ajax/powerstate','Power Control'); return false;">Power Control</a></li>

....<li><a href='#' onclick="load_maincontent('ajax/screenshot'); return false;">Grab Screenshot</a></li>

....<li><a href='#' onclick="load_message_dm('ajax/message','Send a Message'); return false;">Send a Message</a></li>

....<li><a href='#' onclick="load_maincontent('ajax/timers'); return false;">Timers</a></li>

...</ul>



....</div>

...</div>



.......<div id="leftmenu_main">

....<div id="leftmenu_top">

.....Remote

.....<div id="leftmenu_expander_remote" class="leftmenu_icon" onclick="toggleMenu('remote');"></div>

....</div>

....<div id="leftmenu_container_remote">

.......<div style="width:100%; text-align:center;">

....<img src="images/remotes/ow_remote.png" width="135" height="183" usemap="#menuremote" border="0">

....<map name="menuremote" >

.....<area shape="circle" coords="67,148,13" alt="ok" onclick="pressMenuRemote('352');">

.....<area shape="circle" coords="68,173,9" alt="down" onclick="pressMenuRemote('108');">

.....<area shape="circle" coords="44,148,9" alt="left" onclick="pressMenuRemote('105');">

.....<area shape="circle" coords="92,147,9" alt="right" onclick="pressMenuRemote('106');">

.....<area shape="circle" coords="68,126,8" alt="up" onclick="pressMen
 
Did you port forward it? With some ISP's you can't see your own stuff (you can't on mine) but it works perfect from another PC (ie a M8's or work)
Actually just to be on the safe side I connected it directly to the internet bypassing any NAT or firewall.
 
sounds like some sort of timeout / disconnect.

The fact that your seeing some sort of response, but it's truncated implies it's working, but there's something interrupting the traffic.

Perhaps it's worth trying direct access to a small page such as the about page:
http://<ipaddress>/ajax/about
 
Take a look at the tcp dump on my side (between wan and the vu+). The servers sends the 404 response and the client receives it (as it shows up in the browser) any other page the server sends some content and then stops mid sentence (the client waits for the server to send more but this never happens).
So the server is always sending content....

It's sending it chunked, so large pages will be sent in multiple chunks (the 404 page is small, so gets sent in one small chunk). The wireshark output you've shown for the failing page claims it will send 20,413 bytes (the 4fbd part - which is in hex), but the output you've posted seems to stop at 14,456 (although it depends what the "."s represent - I'm assuming this is wireshark's display of a non-printing character, possibly a tab).

As to why this is happening - I'm afraid I have no idea at present.
 
sounds like some sort of timeout / disconnect.

The fact that your seeing some sort of response, but it's truncated implies it's working, but there's something interrupting the traffic.

Perhaps it's worth trying direct access to a small page such as the about page:
http://<ipaddress>/ajax/about

Will try that as soon as I can.

To be on the safe side, you did that? :confused:

Not on the safe side security vise. Security wasn't my top concern trying to troubleshoot this problem. So yes I connected my box directly to the internet just to be sure there were no firewall or nat issues.

So the server is always sending content....

It's sending it chunked, so large pages will be sent in multiple chunks (the 404 page is small, so gets sent in one small chunk). The wireshark output you've shown for the failing page claims it will send 20,413 bytes (the 4fbd part - which is in hex), but the output you've posted seems to stop at 14,456 (although it depends what the "."s represent - I'm assuming this is wireshark's display of a non-printing character, possibly a tab).

As to why this is happening - I'm afraid I have no idea at present.

I assume that for each chunk sent an ACK is required to be sent back to the server for it to send the next chunk? My current theory is that the client never receives the chunk and thus never send an ACK either. I'm going to try to sniff on the client side to see what actually is received by that side.
 
I assume that for each chunk sent an ACK is required to be sent back to the server for it to send the next chunk?
Not that I recall. The main reason for havign a chunked capability is for scripts that produce output in multiple places. each part can send back its "bit" and say how large it is. Without that the whole stream would have to be sent back with an unspecified length, so the client wouldn't know things had finished until the socket was closed. And for "keep-alive" connexion you don't want to close the socket, so you need to say how large the sent output is (in advance of sending it).
vide ultra said:
My current theory is that the client never receives the chunk and thus never send an ACK either. I'm going to try to sniff on the client side to see what actually is received by that side.
There will be ACKs sent, but only at the TCP level, not the HTTP level that you are looking at in the wireshark output.
Looking at what the client gets would be a Good Idea. It might be that your Internet router has a buffering problem(?!?)
 
OpenWebIF works fine on all boxes here, have you installed any plugins that might interfere with it?
Maybe time just to do a fresh flash & stop portforwarding on a public network to what should be a private/vpn box?
 
If he wants to put it on the Internet that's his business. It should work. It's just a web-server.
Yes, a webserver you want millions of skiddie to use? please stop advising opening ports on a private network.
 

OpenViX Feeds Status

Back
Top