Author Topic: [SOLVED] 104 Connection reseted by peer  (Read 5785 times)

astana

  • Zen Warrior
  • ***
  • Posts: 128
  • Karma: +10/-0
    • View Profile
Re: 104 Connection reseted by peer
« Reply #15 on: March 05, 2014, 05:25:42 pm »
dansguardian is already installed, or should be by Zentyal.
It's the one responsible for the filtering.

christian

  • Guest
Re: 104 Connection reseted by peer
« Reply #16 on: March 05, 2014, 06:24:11 pm »
That's my understanding too, reason why I don't understand these comments about "shall I install Dansguardian?"

igord93

  • Zen Monk
  • **
  • Posts: 56
  • Karma: +0/-0
    • View Profile
Re: 104 Connection reseted by peer
« Reply #17 on: March 05, 2014, 08:44:28 pm »
Sorry for the misunderstanding, I went to the etc/ folder and didn't find dansguardian, so, like i'm not familiarized with Zentyal, I supposed that it wasn't installed, but after a while I found it.

I'm not used to it, i'm just trying to get better with your help :)

Continuing, I saw the conf of desguardian, and noticed that the proxy was wrong, I set my to 192.168.0.253 and it was 127.0.0.1, can it be that?

I'll wait until tomorrow to check if it works.

Thanks guys

astana

  • Zen Warrior
  • ***
  • Posts: 128
  • Karma: +10/-0
    • View Profile
Re: 104 Connection reseted by peer
« Reply #18 on: March 06, 2014, 01:38:54 am »
it should be localhost unless you've got a very strange setup  ;)

Zentyal has a sandwich of 2 proxys with dansguardian in the middle:
Users connect to proxy:3128
proxy:3128 -> Dansgaurdian:3129 ->proxy:3130
Then back again to the client machine.
If the filling is broken (port 3129 as per your logs) then your internet won't work.
If there's not enough filling then it will be really slow for some and fine for others.

igord93

  • Zen Monk
  • **
  • Posts: 56
  • Karma: +0/-0
    • View Profile
Re: 104 Connection reseted by peer
« Reply #19 on: March 06, 2014, 12:50:36 pm »
So if it's broken, what is the solution, reinstall zentyal?

Or it is sort of a misconfiguration?

My max and min children are default, what do I have to watch in the logs? Don't know much what to look for.

Is this happening because of this switching rules? Remembering that everytime that this error occures, reseting the HTTP proxy always fixes this.


igord93

  • Zen Monk
  • **
  • Posts: 56
  • Karma: +0/-0
    • View Profile
Re: 104 Connection reseted by peer
« Reply #20 on: March 06, 2014, 06:18:10 pm »
the cache log from today

igord93

  • Zen Monk
  • **
  • Posts: 56
  • Karma: +0/-0
    • View Profile
Re: 104 Connection reseted by peer
« Reply #21 on: March 07, 2014, 01:13:24 pm »
Maaaaan

Everytime I need to restart this ProxyHTTP, such a pain :(

astana

  • Zen Warrior
  • ***
  • Posts: 128
  • Karma: +10/-0
    • View Profile
Re: 104 Connection reseted by peer
« Reply #22 on: March 07, 2014, 01:25:17 pm »
Your last log is incomplete (looks like a lot is missing or no logging happened), and apart from the slow shutdown in the early morning and at 12:13 and 1:15 there are no errors, without complete logs and insight as to symptoms and actions it isn't obvious as how to help you.

igord93

  • Zen Monk
  • **
  • Posts: 56
  • Karma: +0/-0
    • View Profile
Re: 104 Connection reseted by peer
« Reply #23 on: March 07, 2014, 02:08:18 pm »
But I taked all the cache log, can u advise me where should I have to look?

The only thing I can say is that every time a reset it came back to work, i'm frustrated

Thanks

astana

  • Zen Warrior
  • ***
  • Posts: 128
  • Karma: +10/-0
    • View Profile
Re: 104 Connection reseted by peer
« Reply #24 on: March 07, 2014, 02:12:11 pm »
Those ports are correct, see my description above.

So, knowing the logs are full you need to describe the symptoms and what you did and when Also check your syslog and dansguardian logs to see if anything is appearing there.

igord93

  • Zen Monk
  • **
  • Posts: 56
  • Karma: +0/-0
    • View Profile
Re: 104 Connection reseted by peer
« Reply #25 on: March 07, 2014, 02:46:00 pm »
Here are the logs, from sys and dansguardian

Hope it can help

The symptoms are like I said, when it changes the access rules, it came with the massege 104 Connection reseted by peer, and when I reset the Proxy HTTP, it come back to work normally.
« Last Edit: March 07, 2014, 02:48:16 pm by igord93 »

astana

  • Zen Warrior
  • ***
  • Posts: 128
  • Karma: +10/-0
    • View Profile
Re: 104 Connection reseted by peer
« Reply #26 on: March 07, 2014, 02:51:26 pm »
and what happens when you remove the change of access rules on a time period?

Btw, your syslog looks like a squid log!
try /var/logs/syslog

igord93

  • Zen Monk
  • **
  • Posts: 56
  • Karma: +0/-0
    • View Profile
Re: 104 Connection reseted by peer
« Reply #27 on: March 07, 2014, 03:15:44 pm »
These are my filters, maybe it's because i'm not contemplating all the hours of the day?

The log that I sent is the one that you cited

astana

  • Zen Warrior
  • ***
  • Posts: 128
  • Karma: +10/-0
    • View Profile
Re: 104 Connection reseted by peer
« Reply #28 on: March 07, 2014, 03:19:45 pm »
wow! I think you've just explained what is happening!
There is no bug, if there's no rule then there will be no access!
Looks like you've found the problem yourself :D

igord93

  • Zen Monk
  • **
  • Posts: 56
  • Karma: +0/-0
    • View Profile
Re: 104 Connection reseted by peer
« Reply #29 on: March 07, 2014, 05:29:17 pm »
Same thing as always :(

Even with all the hours filled