Page 1 of 1

Web Proxy status, uptime and store

Posted: Thu Dec 20, 2012 5:14 pm
by orcinus
Possibly not a 6.0rc issue, but haven't noticed it until now...

- Web Proxy on my RB-2011 reads as "stopped" no matter if its enabled or disabled
- its Uptime keeps ticking away, no matter if its enabled or disabled
- i have a web-proxy store named web-proxy1 (that was auto-generated) i cannot delete because it claims to be in use
[admin@OrcaTik] > /ip proxy print
                 enabled: no
             src-address: 0.0.0.0
                    port: 8080
            parent-proxy: 0.0.0.0
       parent-proxy-port: 0
     cache-administrator: webmaster
          max-cache-size: none
           cache-on-disk: no
  max-client-connections: 600
  max-server-connections: 600
          max-fresh-time: 3d
   serialize-connections: no
       always-from-cache: no
          cache-hit-dscp: 4
             cache-drive: system
[admin@OrcaTik] > /store print
Flags: X - disabled, A - active 
 #   NAME                   TYPE                 DISK                 STATUS   
 0 A web-proxy1             web-proxy            system               active 
Image

I've tried disabling the SNTP client as suggested in another thread (because it was reported it's using the web-proxy store for some reason), but that didn't change anything (and doesn't seem to affect the first two issues).

Re: Web Proxy status, uptime and store

Posted: Thu Dec 20, 2012 5:46 pm
by tomaskir
No problem like this here.
[admin@proxy.backbone.local] /ip proxy> print
                 enabled: yes
             src-address: 0.0.0.0
                    port: 8080
            parent-proxy: 0.0.0.0
       parent-proxy-port: 0
     cache-administrator: admin@atris.sk
          max-cache-size: unlimited
           cache-on-disk: yes
  max-client-connections: 5000
  max-server-connections: 5000
          max-fresh-time: 4w2d
   serialize-connections: no
       always-from-cache: yes
          cache-hit-dscp: 4
             cache-drive: primary-slave
[admin@proxy.backbone.local] /ip proxy> monitor
                 status: running
                 uptime: 18w3d1h6m3s
               requests: 3496294
                   hits: 838324
             cache-used: 34393442KiB
         total-ram-used: 6571KiB
  received-from-servers: 134732032KiB
        sent-to-clients: 147208544KiB
   hits-sent-to-clients: 10029094KiB

[admin@proxy.backbone.local] /ip proxy> 
About the store: there has to be a store configured, so you will not be able to delete it no matter what, as long as its active, even if the proxy is not enabled.

Re: Web Proxy status, uptime and store

Posted: Thu Dec 20, 2012 6:19 pm
by orcinus
It gets better...

Image

Running vs. stopped, uptime from terminal vs. uptime from webfig.
All the other stats in Webfig are completely off as well.

Re: Web Proxy status, uptime and store

Posted: Thu Dec 20, 2012 6:30 pm
by tomaskir
Ah, you were talking about webfig not having proper values. Sorry, I thought you ment winbox/console.
So yes, I can confirm with 5.18. Webfix is completly off on values and shows stopped even when proxy is running.

So, should I make a support ticket or will you? :D

Re: Web Proxy status, uptime and store

Posted: Thu Dec 20, 2012 10:19 pm
by orcinus
Yeah, i've initially thought it was running despite being disabled, due to WebFig uptime ticking away and the store being active. Then realized it's actually just WebFig that's displaying nonsense.

Sent an e-mail to support.