cthit / chalmersit-rails

Chalmers.it built with Rails
MIT License
4 stars 6 forks source link

Printer error: Connection closed by remote host #278

Open Xiaoming94 opened 7 years ago

Xiaoming94 commented 7 years ago

According to the error log and from other sources, this is the error that the PhD's in the physics department are receiving.

Kalior commented 7 years ago

Can confirm. Got this error message several times earlier today as I was printing some files. Worked after a couple of tries though.

lindskogen commented 7 years ago

Isn't this just chalmers blocking too many unsuccessful password attempts?

Kalior commented 7 years ago

Could have been, but it did not seem that way. In abbreviation I went through the following steps:

  1. Write wrong password (Got wrong password error message)
  2. Got this error message
  3. Successfully printed file
  4. Got this error message again two times
  5. Successfully printed file

So I guess it could still be the case if I was blocked on one of Chalmers' hosts but not the other?

Kalior commented 7 years ago

In any case, the error message could be clearer

Edholm commented 7 years ago

I may be wrong, but I think the printer script will randomly try one of the two servers available. Thus the server IP may have been banned on one server, and not the other.

But I agree with @Kalior that the error message may be improved. Also, we should probably implement "banning" after x tries to avoid DOSing ourselves...