How to fix read error (104) Connection reset by peer
I cannot get to certain web sites (eg The Nation newspaper, Political Wire), because I keep getting this error
read error
(104) connection reset by peer
Please help
Are you using network that requires a network administratior?
See if any of the boxes are selected in System Preferences > Network - Advanced - Proxies
Similar Messages
-
Linux Error: 104: Connection reset by peer TNS-12547: TNS:lost contact
My system seems to be hanged , so I restarted my RHEL 4 linux with ORACLE 10.2.0.4.
but i can't able to start the listener.
please help me out.
[oracle@localhost log]$ lsnrctl start LISTENER_LIMCAMP
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 26-AUG-2010 09:02:09
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting /ora10gsoft/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.4.0 - Production
System parameter file is /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /ora10gsoft/oracle/product/10.2.0/db_1/network/log/listener_limcamp.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 104: Connection reset by peer[oracle@localhost admin]$ cat listener.ora
# listener.ora Network Configuration File: /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER_LIMCAMP =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1521))
CLONE =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1523))
PROD1 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1522))
SID_LIST_CLONE =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /ora10gsoft/oracle/product/10.2.0/db_1)
(SID_NAME = CLONE)
SID_LIST_PROD1 =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /ora10gsoft/oracle/product/10.2.0/db_1)
(SID_NAME = PROD1)
SID_LIST_LISTENER_LIMCAMP =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /ora10gsoft/oracle/product/10.2.0/db_1)
(SID_NAME = LIMCAMP)
[oracle@localhost admin]$ cat tnsnames.ora
# tnsnames.ora Network Configuration File: /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
DEV =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1523))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dev)
LIMCAMP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = LIMCAMP)
# tnsnames.ora Network Confi72uration File: /ora1072soft/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora
LISTENER_DEV =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1523))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1522))
LIMCADEV =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = LIMCADEV)
LIMCASP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.119.221)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = LIMCASP)
TOCLONE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1523))
(CONNECT_DATA =
(SERVICE_NAME = CLONE)
TOPROD1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1522))
(CONNECT_DATA =
(SERVICE_NAME = PROD1)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
[oracle@localhost admin]$ lsnrctl start
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 26-AUG-2010 13:07:55
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting /ora10gsoft/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.4.0 - Production
System parameter file is /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /ora10gsoft/oracle/product/10.2.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 104: Connection reset by peer
[oracle@localhost admin]$ lsnrctl services
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 26-AUG-2010 13:08:02
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
[oracle@localhost admin]$ lsnrctl start LISTENER_LIMCAMP
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 26-AUG-2010 13:08:13
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting /ora10gsoft/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.4.0 - Production
System parameter file is /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /ora10gsoft/oracle/product/10.2.0/db_1/network/log/listener_limcamp.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.106.72)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.106.72)(PORT=1521)))
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 104: Connection reset by peer
[oracle@localhost log]$ tail -100 listener.log
TNSLSNR for Linux: Version 10.2.0.4.0 - Production on 26-AUG-2010 13:00:22
Copyright (c) 1991, 2007, Oracle. All rights reserved.
System parameter file is /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /ora10gsoft/oracle/product/10.2.0/db_1/network/log/listener.log
Trace information written to /ora10gsoft/oracle/product/10.2.0/db_1/network/trace/listener.trc
Trace level is currently 0
Started with pid=6230
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1522)))
Listener completed notification to CRS on start
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
TNSLSNR for Linux: Version 10.2.0.4.0 - Production on 26-AUG-2010 13:02:15
Copyright (c) 1991, 2007, Oracle. All rights reserved.
System parameter file is /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /ora10gsoft/oracle/product/10.2.0/db_1/network/log/listener.log
Trace information written to /ora10gsoft/oracle/product/10.2.0/db_1/network/trace/listener.trc
Trace level is currently 0
Started with pid=6295
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Listener completed notification to CRS on start
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
TNSLSNR for Linux: Version 10.2.0.4.0 - Production on 26-AUG-2010 13:07:55
Copyright (c) 1991, 2007, Oracle. All rights reserved.
System parameter file is /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /ora10gsoft/oracle/product/10.2.0/db_1/network/log/listener.log
Trace information written to /ora10gsoft/oracle/product/10.2.0/db_1/network/trace/listener.trc
Trace level is currently 0
Started with pid=6429
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Listener completed notification to CRS on start
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
[oracle@localhost log]$ pwd
/ora10gsoft/oracle/product/10.2.0/db_1/network/log
Please find the above inputs.
Regards,
Sakthivel -
(104) Connection reset by peer
Dears,
I have a web Application which works fine when accessed from other machines except one. Only in that machine I get an error
**(104) Connection reset by peer**
Please help me to solve this problem.monoranjang wrote:
Even I thought that it is a bug in JSP. Good because it is.
But if it a bug then the issue should occur in all the computers, why is it from a specific computer? I don't know. Some really bad coding?
We could not reproduce this issue from any other computers except that one.Doesn't really matter does it?
I mean you are the server and you are aborting the connection for some reason. -
How to correct socket communications error 10054: connection reset by peer
We are running Lookout 5.1 (build 8) reading data through Modbus Ethernet Drivers and we are constantly getting "socket communications error 10054: connection reset by peer" alarms on the server. When I connect to the server file with a client file the client is experiencing communications problems including locking up when editing, trends not showing up, stops updating completely (can only be corrected by restarting server file), and losing symbolic link.
Does anyone know how to stop this alarm from happening and if this could be the cause of my faulty server-client connection or is this strictly a problem between the server and the ethernet radios in the field?
Any response would be appreciated.
Thanks!
Jason
Jason PhillipsDST1,
All I had to do was increase the receive timeout in each driver's properties until the socket errors disappeared. I have them all set to 30000 msec. Communications have been great on this wireless ethernet system ever since.
Sorry for not answering sooner - needed to make time to go back and look at the file and then TS Lee came our way!
Jason Phillips -
Hi All
I am trying to upload a file (5GB) to storage account using put page blob api of azure python sdk.
example- blob_service.put_page_blob_from_path('container', 'windows.vhd', '/mnt/23/Windows.vhd').
But after sometime connection gets reset, i am getting same error in other regions as well. Following is the connection reset log-
>> blob_service.put_page_blob_from_path('container', 'windows.vhd', '/mnt/snapshotted_images/23/Windows7-flat.vhd')
*** error: [Errno 104] Connection reset by peer
Thanks,
Vaibhav KaleHello Vaibhav,
Directly uploading a 5GB file may last long time due to client network, then in that time period, if certain network latency or exception happens, then the upload action will be impacted.
To overcome this type of issue, you can consider to apply existing tool to upload vhd: azcopy
http://azure.microsoft.com/en-us/documentation/articles/storage-use-azcopy/
http://blogs.msdn.com/b/windowsazurestorage/archive/2012/12/03/azcopy-uploading-downloading-files-for-windows-azure-blobs.aspx
you can either start the tool by your python code to upload the target vhd file or manually run azcopy command to upload(if this uploading happens very rarely to you).
in azcopy, as the tutorial, there is option for you to specify the target blob to be page blob:
/BlobType:<block | page>
Specifies whether the destination blob is a block blob or a page blob. This option is applicable only when uploading blob; otherwise, an error is generated. If the destination is a blob and this option is not specified, then by default AzCopy will create
a block blob.
hopes this helps in your project.
In addition, I tested the python sdk here
https://github.com/Azure/azure-sdk-for-python, as it described, the function for create page blobs (from a stream, a file, or a string) worked for me. could you also try to reload this sdk and test?
let me know if there is any question.
Jian Wu -
WSAECONNRESET Connection reset by peer every 10 min
We are getting an error WSAECONNRESET Connection reset by peer every 10 min. We are running SAP on windows Small Business Server.
If I log in on server or within LAN it is working file without any problem. When we use WAN or outside network and connect SAP using SAP router it is giving an error of Connection reset by peer every 10 min.
I have reviewed OSS 155147 - WinNT: Connection reset by peer, 107407 - Win95: Connection Reset by Peer and 500235 - Network Diagnosis with NIPING without any success. I have played with registry parameters as per OSS 413330.
Could any one explain how to resolve this problem?
Thanks in advance...> But the consistency is It reset exactly every 10 min.
Maybe you connection (whatever technical kind it is) resets connections all 10 minutes, maybe a firewall tears down the connection after that time... without knowing anything about the infrastructure I can just guess.
If the system is running internally fine without any interruptions then it's not a problem of the SAP system.
Markus -
Rdesktop Connection reset by peer
Hello,
When I try connecting to a Vista system on my lan with rdesktop, I'm getting this failure:
$ rdesktop <ip_address>
Autoselected keyboard map en-us
ERROR: recv: Connection reset by peer
Based on some findings via google, I have also tried
$ rdesktop -n <hostname> <ip_address>
with the same result.
Since rdesktop is mentioning the keyboard map, I'll mention that I have
KEYMAP="us"
in my rc.conf
This system is very clean and bare. I installed ArchLinux x86_64 today and have just about as minimal of a system as one can have to attempt to use rdesktop.
Thanksdp3 wrote:
Hello,
When I try connecting to a Vista system on my lan with rdesktop, I'm getting this failure:
$ rdesktop <ip_address>
Autoselected keyboard map en-us
ERROR: recv: Connection reset by peer
Based on some findings via google, I have also tried
$ rdesktop -n <hostname> <ip_address>
with the same result.
Since rdesktop is mentioning the keyboard map, I'll mention that I have
KEYMAP="us"
in my rc.conf
This system is very clean and bare. I installed ArchLinux x86_64 today and have just about as minimal of a system as one can have to attempt to use rdesktop.
Thanks
I use the same command and it works fine with me. Are you using a router? Are you using the public ip adress? Did you assign a static ip on the windows machine? Are you able to connect to a different server over the internet via RDP? Can you telnet to the windows box from linux on port 3389? what about testing vnc on the windows box and trying the same things. What im trying to see if its a network or software issue. If your able to use vnc or the port is indeed open to connect then its a software issue. If you can't see the port open or can't connect then its a network issue. because the port should be open.
EDIT: Can you please post your rc.conf as well? Also what DE are you using?
Last edited by JuseBox (2010-01-11 13:19:23) -
Microsoft Remote Desktop displaying "Connection Reset by Peer"
Server Side Configuration:
RDS Gateway Server: MS Server 2008 R2
RDS Web Server: MS Server 2012 R2 Standard
RDS Server: MS Server 2008 R2
Client Side Configurations:
Dell OptiPlex 9020: MS Windows 7 Enterprise with MS RDC [will refer to as DELL]
Apple iPad Air: IOS 7.1 with MRD 8.0.5.24403 [will refer to as IPAD]
Apple MacBook Pro Retina: OS X 10.9.2 with MRD 8.0.5 (Build 24428) [will refer to as MAC]
First off, this setup is in production and has been working great for all our remote users internally and externally for more then a year. This is our first Apple client to try and connect. I'm pretty sure it's not the server side of things.
I have tested all three client setups decried above on the same internal network and form the same external Internet connection.
The DELL and IPAD connect both internally and externally. The MAC will not connect internally or externally. The error box that is displayed simply states "connection reset by peer."[2014-Mar-17 10:20:46] RDP (0): en0 af=2 (AF_INET) addr=192.168.113.147 netmask=255.255.255.0
[2014-Mar-17 10:20:46] RDP (0): en1 af=18 addr= netmask=
[2014-Mar-17 10:20:46] RDP (0): en2 af=18 addr= netmask=
[2014-Mar-17 10:20:46] RDP (0): bridge0 af=18 addr= netmask=
[2014-Mar-17 10:20:46] RDP (0): p2p0 af=18 addr= netmask=
[2014-Mar-17 10:20:46] RDP (0): --- END INTERFACE LIST ---
[2014-Mar-17 10:20:46] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
[2014-Mar-17 10:20:46] RDP (0): client version: 8.0.24428
[2014-Mar-17 10:20:46] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
[2014-Mar-17 10:20:51] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
[2014-Mar-17 10:20:51] RDP (0): ------ END ACTIVE CONNECTION ------
[2014-Mar-17 10:20:51] RDP (0): --- BEGIN INTERFACE LIST ---
[2014-Mar-17 10:20:51] RDP (0): lo0 af=18 addr= netmask=
[2014-Mar-17 10:20:51] RDP (0): lo0 af=30 (AF_INET6) addr=::1 netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
[2014-Mar-17 10:20:51] RDP (0): lo0 af=2 (AF_INET) addr=127.0.0.1 netmask=255.0.0.0
[2014-Mar-17 10:20:51] RDP (0): lo0 af=30 (AF_INET6) addr=fe80::1%lo0 netmask=ffff:ffff:ffff:ffff::
[2014-Mar-17 10:20:51] RDP (0): gif0 af=18 addr= netmask=
[2014-Mar-17 10:20:51] RDP (0): stf0 af=18 addr= netmask=
[2014-Mar-17 10:20:51] RDP (0): en0 af=18 addr= netmask=
[2014-Mar-17 10:20:51] RDP (0): en0 af=30 (AF_INET6) addr=fe80::7a31:c1ff:febb:5fc%en0 netmask=ffff:ffff:ffff:ffff::
[2014-Mar-17 10:20:51] RDP (0): en0 af=2 (AF_INET) addr=192.168.113.147 netmask=255.255.255.0
[2014-Mar-17 10:20:51] RDP (0): en1 af=18 addr= netmask=
[2014-Mar-17 10:20:51] RDP (0): en2 af=18 addr= netmask=
[2014-Mar-17 10:20:51] RDP (0): bridge0 af=18 addr= netmask=
[2014-Mar-17 10:20:51] RDP (0): p2p0 af=18 addr= netmask=
[2014-Mar-17 10:20:51] RDP (0): --- END INTERFACE LIST ---
[2014-Mar-17 10:20:51] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
[2014-Mar-17 10:20:51] RDP (0): client version: 8.0.24428
[2014-Mar-17 10:20:51] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
[2014-Mar-17 10:20:51] RDP (0): Resolved 'gw.glennburdette.com' to '71.93.34.165' using NameResolveMethod_DNS(1)
[2014-Mar-17 10:20:51] RDP (0): Resolved 'gw.glennburdette.com' to '71.93.34.165' using NameResolveMethod_DNS(1)
[2014-Mar-17 10:20:51] RDP (0): Error message: Connection reset by peer
[2014-Mar-17 10:20:51] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
[2014-Mar-17 10:20:51] RDP (0): Error message: Connection reset by peer
[2014-Mar-17 10:20:51] RDP (0): ------ END ACTIVE CONNECTION ------
[2014-Mar-17 10:21:01] RDP (0): Final rdp configuration used: redirectcomports=1
server port=3389
use multimon=1
promptcredentialonce=1
authentication level=2
full address=rds.gbpb.local
session bpp=32
prompt for credentials on client=1
redirectprinters=1
drivestoredirect=
gatewayusagemethod=2
alternate full address=rds.gbpb.local
workspace id=RDWEB.gbpb.local
allow font smoothing=1
redirectposdevices=0
gatewaycredentialssource=0
devicestoredirect=*
redirectsmartcards=1
redirectclipboard=1
gatewayprofileusagemethod=1
gatewayhostname=gw.glennburdette.com
[2014-Mar-17 10:21:01] RDP (0): Final rdp configuration used: gatewayhostname:s:gw.glennburdette.com
screen mode id:i:2
use multimon:i:1
session bpp:i:32
full address:s:rds.gbpb.local
audiomode:i:0
username:s:
disable wallpaper:i:0
disable full window drag:i:0
disable menu anims:i:0
disable themes:i:0
alternate shell:s:
shell working directory:s:
authentication level:i:2
connect to console:i:0
gatewayusagemethod:i:1
disable cursor setting:i:0
allow font smoothing:i:1
allow desktop com:1
bookmarktype:i:3
use redirection server name:i:0 -
Always suffer "connection reset by peer" while performing software update
Hi all,
I just bought a brand new macbook air. The first thing I do for this laptop is to perform the software update. It suffered me for a long time that I always encounter the error message
"Connection reset by peer The Installer package has been moved to the Trash. To try again, open the package from the Finder"
For some update that the file larger than 10Mbytes, the error is very easy to occur. I will be ever lucky that I could download the update package for larger update file.
I can make sure that my network to wireless route is well as I could download 500Mbytes file manually from internet without any problem. Actually, I had downloaded the mac X OS 10.5.4 package manually and upgrade the system from 10.5.2 to 10.5.4 as it is almost impossible for me use "software update" to download about 500Mbytes without "connection reset by peer" problem.
Any input is appreciate.
Thanks.I have the exact same problem , can any one please help with this
Thanks -
How to fix imessage error on ios8.1.2 .. Already reset network still same issue please help
Hi ashmanryan36,
Thanks for using Apple Support Communities. Based on what you stated, it sounds like you are having trouble with iMessage. It looks like you have already done some troubleshooting. I would recommend that you read these articles, they may be helpful in troubleshooting your issue.
If you can't send or receive messages on your iPhone, iPad, or iPod touch - Apple Support
You did not mention what the error was but since you are running 8.1.2 and update is available and my help.
Update the iOS software on your iPhone, iPad, and iPod touch - Apple Support
Cheers,
Mario -
Lightroom crashes at start up with the error message "Lightroom encountered an error when reading from its preview cache and needs to quit". Please advise on how to fix this error. Thanks
You probably need to delete your preview cache. See here
Why And How To Clear Your Lightroom Cache - Lightroom Fanatic
Preference and other file locations in Lightroom 5 -
Socket read error: connection reset by peer
Hi.
Has anybody experienced the error message �Socket read error: connection reset by peer�
Please see below for detailed information.
Appreciate your help
Regards
RT
Enviroment specification
Server: HP/UX 11.00 64-bit, Oracle RDBMS 8.1.6.0.0 64-bit
2 firewalls between client and db.
Client:
Win 2000,
SP3,
Oracle Client 8.1.7.0.0 ,JDBC OCI (thin JDBC driver,class12.zip)
JDK 1.3
JRUN3.0
The TCP protocol is being used in the communication
Error messages
Web Users receive: Socket read error: connection reset by peer
Trace files on the sever: Read unexpected EOF ERROR on 18.
Explanation: The error in the server sqlnet trace file, suggests that a client connection has terminated abnormally, i.e. client machine powered off, a cable removed or a network connection aborted without warning. No user has complained of such a problem and there is no client trace with an error.
The problem
The users of the java web application, experiencing an exception almost once or twice a day.
The JRUN web-server reports broken connections to the db and client are receiving "connection reset by peer".
At the moment when the errors occurs the users just have to wait a while(2-10 min) and then they can use the web application again.(no action is taken)
This problem can not be reproduced. The problem happens only occasionally when the network is under heavy load and new DB connection is being created.
The application
The java web-application uses a customized connection pooling against the database. This pool is shared among all the users of the website. whenever a user process needs to fetch data from the database, a free connection from this pool is allocated. The application is testing if the connection is valid before making a transaction (select '1' from dual). When the error occurs a ORA-3113 end-of-file on communication channel is returned to the application.
The path between the client and db involves at least two firewalls. The firewalls are opened for sql*net traffic. The network group can tell that enquiries from the app.server is not getting feedback from the db. They have not however, identified if the enquiries are reaching the db-srever, or if they are stopped earlier in the network.
Around 1000 users, are using other applications which uses dedicated sqlnet connections against the db and they have not experienced any problems.
Issues considered
Connection pooling
It is a customized connection pooling, developed by Lindorff developers.
I have read through the source code for the connection pooling and it does the job as it should, and in case of bad connection, it tries to create a new connection.
The log file shows that the call to the method DriverManager.getConnection() hangs until the server goes down, which is probably because of the fact that the method DriverManager.setLoginTimeout(), does not take effect and timeout value is Zero. ( According to oracle , Oracle JDBC does not support login timeouts and calling the static DriverManager.setLoginTimeout() method will have no effect).
Firewall
One thing to consider is when the firewall may decide to shut down the socket due to long inactivity of a connection. This will cause problems to JDBC Connection Pool because the pool is not aware of this disconnection at the TCP/IP level; until someone checks out the connection from the pool and tries to use it. The user will get a Socket read error: connection reset by peer.
Jrun timeout paramter is less than the firewall�s timeout so the firewall will not close a connection before Jrun does.
Number of processes the DB can handle
Processes parameter is 1300, , they have not experienced the Oracle error msg �max # of processes reached�.
Port redirection through a firewall:
Since the firewall has a sql net proxy Port redirection through a firewall is not a problem. Problems with port redirection only appear at connect time, but in this situation the connections fail long after the connection is established.
The network group
The network people who investigaged the problem at Lindorff report that there are a significant amount of "dropped packages" between the database server and the jdbc client (web-application) 24 hrs. The reason for this is "unknown established TCP packet" which means that the firewall does not consider these packages to be part of an already established session. The network group believes this happen because one of the hosts send a RESET or FIN signal which the firewall have noticed but are not received by the other host.
It seems like the firewall are dropping packages bacause of "Unknown
established TCP packet" from both the JDBC client and the TNSLISTENER on the database server. The dropped packages are SQL*Net v2 traffic so clearly Oracle products are involvedPresumably something is working.
Thus the problem is not with your code. At least not the database part that you have control over.
That error occurs when the other side closes the socket. Presumably you are catching lost connection exceptions and trying to restore it. -
How to fix "DRM Error 3321" withouting connecting PC to internet?
How to fix "DRM Error 3321" withouting connecting PC to internet?
Currently, we are encountering "DRM Error 3321" because our PCs/Notebooks do NOT have connection to internet for “http://individualization.adobe.com”. Thoese PCs are in isolated network and can NOT connect to internet.
Is there a way to solve this issue without connecting their PCs/Notebooks to internet?
Thank in advance.Hi Soe,
Unfortunately there is no way to resolve this error without connecting to the Internet at least once. This initial connection is required to create and download the device specific key as mentioned in this post (http://forums.adobe.com/message/6240315). Once you have established that initial connection, you can play content offline assuming your content licenses are constructed correctly. Some content providers will require at least an initial connection to their license servers as well, although once you have the device specific key you can play files protected with PHLS or PHDS without further license acquisition.
If you are content provider, you can find more details on how to do protect your content for offline playback here:
Protecting Content (http://www.adobe.com/support/adobeaccess/pdfs/server/AdobeAccess_4_ProtectingContent.pdf)
Protected Streaming (http://www.adobe.com/support/adobeaccess/pdfs/server/AdobeAccess_4_ProtectedStreaming.pdf)
This is probably not the answer you are looking for, but hopefully this helps a little.
Joe Steele -
Netscape Error: Connection reset by peer
I am running a JSP application on weblogic and when I view in Netscape 4.08 on
W2K I am getting an error saying Netscape Error:Connection reset by peer. Anyone
else see same error. Any fixes?
do u see this on the 5.1 line ?
Netscape needs a content-length for every response that comes in, and in case the
response is larger than the buffer size, the content-length isnt set and netscape
keeps hovering even after getting all the data.
When it sees that the connection has been closed from the other side, it thinks that
the connection has been reset. (even after the server sends it a Connection: Close
header)
solns can be summed up as:
1. call response.setContentLength whereever possible
2. increase the buffersize of jsps (there might be an upperlimit though)
3. move to another version of netscape (atleast > 4.7 ) on win2k
let me know how the workarounds are
thanks
Nagesh
Mettu Kumar wrote:
> which version of wls are u using and what sp's?
>
> Kumar.
>
> Kyle Donovan wrote:
>
> > I am running a JSP application on weblogic and when I view in Netscape 4.08 on
> > W2K I am getting an error saying Netscape Error:Connection reset by peer. Anyone
> > else see same error. Any fixes?
-
how to fix this error message The backup disk image “/Volumes/AirPort Disk/FARES DEL VALLE’s iMac.sparsebundle” could not be accessed (error -1).
The troubleshooting C17 is the specific article.
http://pondini.org/TM/Troubleshooting.html
This is generally a Lion error.. and you will need 5.6 utility to get access to the disk area.
So download the real utility. Run it instead of v6 toy version.
http://support.apple.com/kb/DL1482
Go to the manual setup, disk page and click on disconnect all users.. that will unmount all users connected to the disk and allow it to start working. But there are a number of other issues that are possible cause. Pondini lists some of them.
Maybe you are looking for
-
How can I draw a bar graph using netbeans?
Hello, I am quite new to java and netbeans. I have got the hang of placing controls on the forms and getting them to function.. Now I want to be able to draw a graph. Is there a way I can do this is net beans? Or is there a control that lets me draw
-
How do I add column headings to an output file?
Hi, I have an internal table that is created in my program and I send that table out as a data file attachment on an email. I have a request to include column heading on the data file going out. Does anyone have any ideas as to how I can include a h
-
Use PHP code coloring in HTML files
In Dreamweaver CS3, what changes do I need to make to get PHP code coloring show up in .html files?
-
Variable to display data from Current Fiscal Year to the MONTH entered
Hi Friends, In the Quey Designer I require a CHARACTERISTIC VARIABLE for the 0CALMONTH which should have the following features:- 1.Input Month(e.g JUN 2008) 2.Mandatory 3.Ready for Input The query should show the following OUTPUT:- The data should b
-
SAPf180p - Log for balancesheet adjustment
Hi all, I am trying to generate a B/S adjustment log and have therefore run sapf180p. we haven't run this program before. I am having problems running the program. It states that nothing was selected even when i have entered all the details. As this