Community discussions

MikroTik App
 
bematft
just joined
Topic Author
Posts: 22
Joined: Mon Mar 04, 2013 9:17 am
Location: Hungary

web-proxy error gateway timeout

Mon Mar 04, 2013 9:37 am

/ip proxy

enabled: yes
src-address: 0.0.0.0
port: 8085
parent-proxy: 0.0.0.0
parent-proxy-port: 0
cache-administrator: Admin
max-cache-size: 10485760KiB
cache-on-disk: yes
max-client-connections: 600
max-server-connections: 600
max-fresh-time: 3d
serialize-connections: yes
always-from-cache: no
cache-hit-dscp: 12
cache-drive: secondary-master

/ip nat
;;; Transparent Proxy Redirect
chain=dstnat action=redirect to-ports=8085 protocol=tcp src-address=192.168.1.10-192.168.1.250 in-interface=Eth1 dst-port=80
Stores:

Flags: X - disabled, A - active
# NAME TYPE DISK STATUS
0 user-manager1 user-manager primary-master backup
1 A WebProxy web-proxy secondary-master active

Disks:

Flags: S - system
# NAME TOTAL-SPACE FREE-SPACE STATUS
0 S primary-master 123951KiB 83557KiB ready
1 secondary-master 38468940KiB 37620048KiB ready
resource:

uptime: 36m16s
version: 5.22
free-memory: 235664KiB
total-memory: 254664KiB
cpu: Celeron
cpu-count: 1
cpu-frequency: 895MHz
cpu-load: 4%
free-hdd-space: 83557KiB
total-hdd-space: 123951KiB
write-sect-since-reboot: 1866
write-sect-total: 31794470
architecture-name: x86
board-name: x86
platform: MikroTik
Mikrotik Router OS (x86) 5.22

After a few days the users catch the "Error Gateway Timeout" response from the microtic OS.
I lift up the cache-from-dscp from 4 to 12... and check in the serialize connecton. Nothing!
I tried to clear cache. Nothing!
Just if I reboot the MikrotikOS PC, stoping the problem.
 
User avatar
dotnet
Frequent Visitor
Frequent Visitor
Posts: 53
Joined: Tue Feb 26, 2013 11:41 am
Location: Chittagong, Bangladesh.

Re: web-proxy error gateway timeout

Mon Mar 04, 2013 10:15 am

your configuration is ok.
but something may be edit.
just try this way.

/ip proxy
enabled: yes
src-address: 0.0.0.0
port: 8085
parent-proxy: 0.0.0.0
parent-proxy-port: 0
cache-administrator: Dotnet
max-cache-size: unlimited
cache-on-disk: yes
max-client-connections: 1000
max-server-connections: 1000
max-fresh-time: 3d
serialize-connections: no
always-from-cache: no
cache-hit-dscp: 4
cache-drive: secondary-master

/ip firewall mangle
add action=mark-packet chain=output comment="Cache Hits/Dotnet" disabled=no dscp=4 new-packet-mark=cache-hits passthrough=no

Best regards

Who is online

Users browsing this forum: panisk0, voytecky and 34 guests