• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Odd webGui issue

Scheduled Pinned Locked Moved webGUI
18 Posts 2 Posters 9.5k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    ptaylor
    last edited by Aug 9, 2006, 9:20 PM

    I didn't have this problem with the full install of pfSense on a PC, but now that I've installed it on my Soekris I'm occasionally getting pages back as plain text (sometimes when clicking links, sometimes when pages refresh on their own).

    This is exactly what I got today (it was refreshing the index page).

    Note the blank line before the HTTP/1.1 200 OK response and the blank line followed by a 0 after the ending html tag. Also, the "1f1a" just before the !DOCTYPE tag seems oddly out of place too…

    What's causing this?  I'm using Omniweb 5.5, which is basically using the Safari engine.  I've not seen this issue on any other website and I've been using Omniweb 5.5 for about 3-4 weeks.  Again, I've only seen this issue since I've switched from the full install on a PC to my Soekris embedded installation.

    HTTP/1.1 200 OK
    Transfer-Encoding: chunked
    X-Powered-By: PHP/4.4.2
    Expires: 0
    Last-Modified: Wed, 09 Aug 2006 11:49:04 GMT
    Cache-Control: no-store, no-cache, must-revalidate
    Cache-Control: post-check=0, pre-check=0
    Pragma: no-cache
    Content-type: text/html
    Date: Wed, 09 Aug 2006 11:49:04 GMT
    Server: lighttpd/1.4.11

    1f1a
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <title>pfsense.addressplus.net - pfSense webGUI</title>

    webConfigurator

    pfsense.addressplus.net

    • System

      • Advanced

      • Firmware

      • General Setup

      • Setup wizard

      • Static routes

    • Interfaces

      • (assign)

      • WAN

      • LAN

      • DMZ

      • WIRELESS

    • Firewall

      • Aliases

      • NAT

      • Rules

      • Traffic Shaper

      • Virtual IPs

    • Services

      • Captive portal

      • DNS forwarder

      • DHCP relay

      • DHCP server

      • Dynamic DNS

      • Load Balancer

      • OLSR

      • SNMP

      • Wake on LAN

    • VPN

      • IPsec

      • OpenVPN

      • PPPoE

      • PPTP

    • Status

      • CARP (failover)

      • DHCP leases

      • Filter Reload Status

      • Interfaces

      • IPsec

      • Load Balancer

      • Queues

      • RRD Graphs

      • Services

      • System

      • System logs

      • Traffic graph

    • Diagnostics

      • ARP Tables

      • Backup/Restore

      • Command Prompt

      • Edit File

      • Factory defaults

      • Halt system

      • Ping

      • Reboot system

      <l<br>1494
      i>Routes

      • States
      • Traceroute</l<br>

    <center></center>

    System Overview

    <form action="index.php" method="post">

    | System information |
    | Name | pfsense.addressplus.net |
    | Version |
    RC2

    built on Tue Aug 1 18:56:52 UTC 2006
    |
    | Platform | embedded |
    | Uptime | |
    | State table size |

    Show states
    |
    | CPU usage |
    left barred bargray barright bar

    |
    | Memory usage |
    left barred bargray barright bar

    |
    | Temperature |
    left barred bargray barright bar

    |
    | Disk usage |
    left barred bargray barright bar

    |

    </form>

    pfSense is © 2004-2006 by Scott Ullrich. All Rights Reserved.
    [view license]

    0

    1 Reply Last reply Reply Quote 0
    • P
      ptaylor
      last edited by Aug 9, 2006, 9:22 PM

      Oh - This is on RC2 on a net4801.

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by Aug 9, 2006, 9:28 PM

        Not really sure about that one.  I haven't noticed it.  Try firefox and see if it does the same.

        1 Reply Last reply Reply Quote 0
        • P
          ptaylor
          last edited by Aug 9, 2006, 9:41 PM

          Ok - I've got the main index.php page up on firefox and will leave it there a while to see if it happens in this browser also.

          Just for kicks, I'll do the same with Safari.

          1 Reply Last reply Reply Quote 0
          • S
            sullrich
            last edited by Aug 9, 2006, 9:43 PM

            Remember, each open browser uses AJAX. Don't overload your poor 266 :)

            1 Reply Last reply Reply Quote 0
            • P
              ptaylor
              last edited by Aug 9, 2006, 9:58 PM

              I'm not doing too much online now anyhow.. :)

              So far, both Omniweb and Safari have given me the text rendering of that screen since my last post.  Firefox hasn't yet, so I'll give it some more time.

              1 Reply Last reply Reply Quote 0
              • P
                ptaylor
                last edited by Aug 10, 2006, 1:46 AM

                Well, Firefox has been refreshing away for hours now without a problem…

                I can't understand why I didn't see this issue before when I used Omniweb with my PC-based install of pfSense.

                1 Reply Last reply Reply Quote 0
                • P
                  ptaylor
                  last edited by Aug 10, 2006, 2:26 AM

                  I have thought of one other change that might be related.  I believe that I was using HTTP while using the PC version of pfSense, but I switched to HTTPS either just before or just after switching to the embedded version.

                  I've reverted to HTTP for the webGui and am testing now with Omniweb…

                  1 Reply Last reply Reply Quote 0
                  • P
                    ptaylor
                    last edited by Aug 10, 2006, 11:28 AM

                    Ok - It's been refreshing on the index page all night and hasn't gone into the "plain text" rendering of it, so I'm thinking it has something to do with Safari's SSL.

                    I'll probably just to run it in HTTP mode, since I will only remotely get into the box via SSH, plus SSL takes more processing power for each request.

                    1 Reply Last reply Reply Quote 0
                    • S
                      sullrich
                      last edited by Aug 10, 2006, 4:49 PM

                      I use SSL + Safari all the time and I have never seen this problem.  It sounds like its even more isolated than this.

                      Wish we had a way to reproduce it every time, I really have no idea what extra text is being injected into the HTTP(s) stream.

                      1 Reply Last reply Reply Quote 0
                      • P
                        ptaylor
                        last edited by Aug 10, 2006, 10:56 PM

                        Actually, I did some Ethereal traces…

                        It looks like the 1f1a is the content length in hex.  I say this because for an AJAX call, the number there is 19...  19 hex is 25 decimal, which is the size of the content of the AJAX response.  (The line after that is a 0)

                        Now, previously I've mostly done traces of IIS web applications.  With IIS, the last line of the response header specifically states "Content-length:" and the number there appears to be in decimal.

                        I quickly performed a few traces of an apache server, and it too does not have the "Content-length" header and after the closing HTML tag, there is also a zero.  It looks like lighttpd is adhering to the standard used by Apache.

                        The information just above and below the content looks like it's just fine.

                        So, I did some more looking..  Days before I switched to embedded, I backed-up my config.xml file.  In it, I was using SSL, so the problem really didn't appear until I started using pfSense on my Soekris...

                        1 Reply Last reply Reply Quote 0
                        • S
                          sullrich
                          last edited by Aug 11, 2006, 12:45 AM

                          Oh thats strange.  I have a 4801 here as my backup carp node and I've never noticed it with Firefox.  Let me fire up Safari and run it for a bit on my backup node.

                          1 Reply Last reply Reply Quote 0
                          • P
                            ptaylor
                            last edited by Aug 11, 2006, 11:49 AM

                            A Mac user too?  Great - Just park it on the index.php page, as that is the one that I could most readily recreate the issue on.  With both Omniweb and Safari (on the index page), the problem recreated itself within 10 minutes or so (though seemed to happen faster on Omniweb, but that could just be a coincidence).

                            I'm using an Intel iMac.

                            1 Reply Last reply Reply Quote 0
                            • S
                              sullrich
                              last edited by Aug 11, 2006, 6:02 PM

                              I let it run for a good couple of hours last night and it never did anything strange.  Strange.

                              1 Reply Last reply Reply Quote 0
                              • P
                                ptaylor
                                last edited by Aug 11, 2006, 9:11 PM

                                Well, I re-enabled SSL and within minutes of parking Omniweb on the index page it happened again…  Very strange...

                                1 Reply Last reply Reply Quote 0
                                • P
                                  ptaylor
                                  last edited by Aug 19, 2006, 12:00 AM

                                  I started looking at my pfSense webGui today to troubleshoot something and this issue jumped right up at me again…  The only other odd thing about my installation is that my Soekris has a dual port NIC (sis) in the PCI slot and I'm using 4 of the 5 NICs.  (WAN, LAN, DMZ, and WIRELESS segments)

                                  I've enabled polling on the NICs, as I thought this might help, especially if the issue is related to processor load.  (but I'm not even sure if SIS is supported for that feature)

                                  Other than that, in looking through a config.xml file, I'm not really doing anything unusual...  I'm running traffic shaping between my LAN and WAN interfaces (mainly for Vonage VoIP), running DHCP on the three inside interfaces, running zoneedit DynDNS, and that's about it...

                                  Paul

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    ptaylor
                                    last edited by Aug 19, 2006, 3:05 PM

                                    Well, that's the only change I've made and I'm not seeing the issue now…  I've left it overnight on the index.php page and it hasn't been a problem since...

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      ptaylor
                                      last edited by Aug 20, 2006, 1:26 AM

                                      Ok - I spoke too soon…  It still happened, but it took much longer than it previous did...  So, I'm back to the drawing board on this problem... I may just drop back to not using SSL since that seems to get around the problem for me...

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post
                                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                        This community forum collects and processes your personal information.
                                        consent.not_received