Displaying 20 results from an estimated 108 matches for "econnrefused".
2011 Dec 12
1
Errno::ECONNREFUSED (Connection refused - connect(2)): sending email in production
...ane.org"
@subject = "this is a subject"
@body = "this is the body"
end
end
>> MyMailer::deliver_test_email is delivering fine this test email
I used these smtp_settings, in a specific initializer file :
config/initializers/mail.rb
but then I get the Errno::ECONNREFUSED in production log, right after
the email rendering ...
how can I check what''s wrong ? the production log doesn''t give me
enough info ...
thanks for your feedback .. I''m lost in translation ...
--
You received this message because you are subscribed to the Google...
2006 Oct 31
0
6292950 getsockname consumes pending ECONNREFUSED errors
Author: blu
Repository: /hg/zfs-crypto/gate
Revision: f0d84e66bf3b67624b5681ccf78a3435e40e1ea5
Log message:
6292950 getsockname consumes pending ECONNREFUSED errors
Files:
update: usr/src/uts/common/fs/sockfs/socktpi.c
2009 Apr 29
1
Errno::ECONNREFUSED (Connection refused - connect(2)) Act
Hi All,
I encountered with following error when i try to send e-mail in
production mode.
Errno::ECONNREFUSED (Connection refused - connect(2)):
/usr/lib/ruby/1.8/net/protocol.rb:206:in `initialize''
/usr/lib/ruby/1.8/net/protocol.rb:206:in `new''
/usr/lib/ruby/1.8/net/protocol.rb:206:in `old_open''
/usr/lib/ruby/1.8/timeout.rb:62:in `timeout''
/usr/lib/r...
2012 Nov 21
3
ip6tables REJECT target 3s timeout
...hanged outgoing from drop to reject.
Now I try manually
# strace telnet 2a02:180:ffff:1::551f:b966 80
...
connect(3, {sa_family=AF_INET6, sin6_port=htons(80), inet_pton(AF_INET6,
"2a02:180:ffff:1::551f:b966", &sin6_addr), sin6_flowinfo=0,
sin6_scope_id=0}, 28
3 second delay
) = -1 ECONNREFUSED (Connection refused)
...
The ECONNREFUSED is quite expected of course, but what is not expected
that the connect syscall lasts 3 seconds. This 3 second delay is not
happening with a equivalent telnet to a IPv4 address.
Why is this 3 second delay?
--
Kind Regards, Markus Falb
-------------- next...
2014 Jun 20
0
Errno::ECONNREFUSED (Connection refused - connect(2))
I am reading " Agile Web Developement with rails". I am using Ruby 1.9.3
and Rails 3.2.16.
I can able to run application locally But application not working on
heroku. I deployed my application successfully on heroku.
When I run rake test, there is no failure.
When I click on place order button i got error like:
>We're sorry, but something went wrong.
I have attached heroku
2018 Dec 20
2
Authentication/Penalty disabled (socket mode=0) introduces constant 5 sec delays (2.27 on debian 9)
...52 was an auth process freshly forked)
[pid 9652] socket(AF_UNIX, SOCK_STREAM, 0) = 14
[pid 9652] fcntl(14, F_GETFL) = 0x2 (flags O_RDWR)
[pid 9652] fcntl(14, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 9652] connect(14, {sa_family=AF_UNIX, sun_path="anvil-auth-penalty"}, 110) = -1 ECONNREFUSED (Connection refused)
[pid 9652] close(14) = 0
[pid 9652] nanosleep({tv_sec=0, tv_nsec=20000000}, NULL) = 0
[pid 9652] socket(AF_UNIX, SOCK_STREAM, 0) = 14
[pid 9652] fcntl(14, F_GETFL) = 0x2 (flags O_RDWR)
[pid 9652] fcntl(14, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 96...
2001 Feb 10
1
Handling of failed connect()s when ssh-agent is busy
We have an application, running under ssh-agent, which fires off a large
number of ssh processes, all of which try to talk to the agent through the
UNIX domain socket under /tmp. When the agent is slow to respond and the
listen queue fills up, connect()s start to fail with ECONNREFUSED, and ssh
exits (agent authentication being used exclusively). To some extent this
problem can be mitigated by increasing the listen queue in ssh-agent.c, but it
only masks the problem: the client should retry a number of times, possibly
forever, when the connect() fails temporarily and is likely to...
2010 May 14
3
dovecot 2.0 vs. SELinux
...= 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 4
fcntl(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(4, {sa_family=AF_FILE, path="/var/run/dovecot/config"}, 110) = -1
ECONNREFUSED (Connection refused)
close(4) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 4
fcntl(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(4, {sa_family=AF_FILE, path="/etc/dovecot/dovecot.conf"}, 110) = -1...
2019 Jan 08
1
Authentication/Penalty disabled (socket mode=0) introduces constant 5 sec delays (2.27 on debian 9)
...t; [pid? 9652] socket(AF_UNIX, SOCK_STREAM, 0) = 14
>> [pid? 9652] fcntl(14, F_GETFL)????????? = 0x2 (flags O_RDWR)
>> [pid? 9652] fcntl(14, F_SETFL, O_RDWR|O_NONBLOCK) = 0
>> [pid? 9652] connect(14, {sa_family=AF_UNIX,
>> sun_path="anvil-auth-penalty"}, 110) = -1 ECONNREFUSED (Connection
>> refused)
>> [pid? 9652] close(14)?????????????????? = 0
>> [pid? 9652] nanosleep({tv_sec=0, tv_nsec=20000000}, NULL) = 0
>> [pid? 9652] socket(AF_UNIX, SOCK_STREAM, 0) = 14
>> [pid? 9652] fcntl(14, F_GETFL)????????? = 0x2 (flags O_RDWR)
>> [pid? 9...
2019 Jan 06
0
Authentication/Penalty disabled (socket mode=0) introduces constant 5 sec delays (2.27 on debian 9)
...reshly forked)
>
> [pid 9652] socket(AF_UNIX, SOCK_STREAM, 0) = 14
> [pid 9652] fcntl(14, F_GETFL) = 0x2 (flags O_RDWR)
> [pid 9652] fcntl(14, F_SETFL, O_RDWR|O_NONBLOCK) = 0
> [pid 9652] connect(14, {sa_family=AF_UNIX, sun_path="anvil-auth-penalty"}, 110) = -1 ECONNREFUSED (Connection refused)
> [pid 9652] close(14) = 0
> [pid 9652] nanosleep({tv_sec=0, tv_nsec=20000000}, NULL) = 0
> [pid 9652] socket(AF_UNIX, SOCK_STREAM, 0) = 14
> [pid 9652] fcntl(14, F_GETFL) = 0x2 (flags O_RDWR)
> [pid 9652] fcntl(14, F_SETFL, O_RDWR...
2006 Jul 22
3
Connection refused - connect(2)
...@cd_details = CdDetails.find_data
end
end
[/code]
my database configuration is
adapter: postgresql
database: cdlibrary
username: cdlibrary
password: cdlibrary
If I call this action "VIEW" from test controller, I am getting the
following error message in screen,
Errno::ECONNREFUSED in TestController#view
Connection refused - connect(2)
#{RAILS_ROOT}/app/models/cd_details.rb:7:in `find_data''
#{RAILS_ROOT}/app/controllers/test_controller.rb:4:in `view''
How to solve this problem.
--
with regds,
Nahalingam N. Kanakavel.
(http://www.nahalingam.bravehost.com/...
2020 Apr 30
2
[PATCH] vhost: vsock: don't send pkt when vq is not started
...es up after 2s, send connecting pkt again,
> > > everything is fine.
> > >
> > > This fixes it by checking vq->private_data in vhost_transport_send_pkt,
> > > and return at once if !vq->private_data. This makes user connect()
> > > be returned with ECONNREFUSED.
> > >
> > > After this patch, kata-runtime (with vsock enabled) boottime reduces from
> > > 3s to 1s on ThunderX2 arm64 server.
> > >
> > > [1] https://github.com/kata-containers/runtime/issues/1917
> > >
> > > Reported-by: Ning Bo <...
2020 Apr 30
2
[PATCH] vhost: vsock: don't send pkt when vq is not started
...es up after 2s, send connecting pkt again,
> > > everything is fine.
> > >
> > > This fixes it by checking vq->private_data in vhost_transport_send_pkt,
> > > and return at once if !vq->private_data. This makes user connect()
> > > be returned with ECONNREFUSED.
> > >
> > > After this patch, kata-runtime (with vsock enabled) boottime reduces from
> > > 3s to 1s on ThunderX2 arm64 server.
> > >
> > > [1] https://github.com/kata-containers/runtime/issues/1917
> > >
> > > Reported-by: Ning Bo <...
2007 Mar 14
2
Connection Refused
Mailer works fine when I''m running my app locally. But when I deploy
it I keep getting this error in the log.
Errno::ECONNREFUSED (Connection refused - connect(2)):
Anyone have any idea what this could be?
Thank in advance,
Seth
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send e...
2008 Apr 16
1
File descriptor passing broken in FreeBSD 7?
...FD passing, as do the Ruby
1.8.6 standard unit tests. They all fail with EBADF
I've also tried this test case (with minor appropriate changes to file
paths etc.)
http://www.gnome.org/~markmc/code/test-descriptor-passing.c
Again it works in FreeBSD 6, but not in FreeBSD 7 (albeit with
ECONNREFUSED not EBADF).
Any ideas?
Cheers
Phil
2008 Apr 22
2
error after sending email.(conection refused- connect(2))
...s then they
can go to a page where they can enter their mail id and the login
details''ll be mailed them to that mail id.after mailing them the user''ll
be redirected to the login page.
but after entering the mail id and clicking the button im
getting error like
Errno::ECONNREFUSED in LoginController#take_forgotten
Connection refused - connect(2)
people knows whats the problem please help me.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Rub...
2020 Apr 30
0
[PATCH] vhost: vsock: don't send pkt when vq is not started
...ecting pkt again,
> > > > everything is fine.
> > > >
> > > > This fixes it by checking vq->private_data in vhost_transport_send_pkt,
> > > > and return at once if !vq->private_data. This makes user connect()
> > > > be returned with ECONNREFUSED.
> > > >
> > > > After this patch, kata-runtime (with vsock enabled) boottime reduces from
> > > > 3s to 1s on ThunderX2 arm64 server.
> > > >
> > > > [1] https://github.com/kata-containers/runtime/issues/1917
> > > >
> >...
2019 Sep 12
2
[PATCH libnbd 1/2] nbd_connect_tcp: Try to return errno from underlying connect(2) call.
...localhost:nbd: could not connect to remote host
This commit saves the errno from the first failed connect(2):
$ ./run nbdsh -c 'h.connect_tcp ("localhost", "nbd")'
nbd.Error: nbd_connect_tcp: connect: localhost:nbd: could not connect to remote host: Connection refused (ECONNREFUSED)
---
generator/states-connect.c | 12 ++++++++++--
lib/internal.h | 1 +
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/generator/states-connect.c b/generator/states-connect.c
index 9e2e1d4..e9b3582 100644
--- a/generator/states-connect.c
+++ b/generator/states-connec...
2005 Dec 15
5
Action Mailer - connection refused - connect(2)
...> "brucebalmercanada.com"
}
ActionMailer::Base.perform_deliveries = true # alternative was false
ActionMailer::Base.default_charset = "utf-8"
I have created the mail successfully because I can display it in my
browser. But when I try to send it I get this error:
Errno::ECONNREFUSED in Events#send_my_email
Connection refused - connect(2)
My mail account does not require authentication.
I also tried using the sendmail option but got the same error. I also
tried a different mail account I have (dot mac) and received the same
error.
Any ideas where I should begin looking?...
2020 Aug 19
1
syslog logging + 2.3.10 + centos 7
All,
Running dovecot 2.3.10 on a CentOS 7.x and logging via syslog seems to
stop when i restart rsyslog process. Reload doesnt get it working again
only a dovecot restart. Tested this with dovecot 2.2.36 and this did not
exhibit the same behaviour.
systemctl restart dovecot rsyslog ----- this gets a working state
systemctl restart rsyslog ------------- this restarts syslog other
processes