I have a problem with SQL Server Reporting Services. I got this error message by enabling verbose logging on the server:
Reporting Services error
Microsoft.ReportingServices.Diagnostics.Utilities.RSException: An
error has occurred during report processing.
---> Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException:
An error has occurred during report processing.
---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException:
Query execution failed for dataset 'dsMyDSNAme'.
---> Microsoft.ReportingServices.DataExtensions.XmlDP.XmlDPException:
Failed to execute web request for the specified URL.
---> System.Net.WebException: The underlying connection was closed: An
unexpected error occurred on a receive.
---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
---> System.Net.Sockets.SocketException: An existing connection was
forcibly closed by the remote host
I've googled and nobody else had this specific problem. I'm suspecting a networking issue somewhere. How can I trace the problem?
Related
My application creates multiple (6-7) connections to the server. After about 5 minutes, 1 of the connections will be dropped. I can't really figure out why. Other than the aurora_fwd_master_idle_timeout that is set to 60, other configs remain at their default values. wait_timeout value, for example, defaults at 8 hours, so it should be long enough.
If I limit the multiple connections to 3-4, sometimes it work, sometimes it doesn't.
When it doesn't work, the detailed error is as follows:
MySql.Data.MySqlClient.MySqlException (0x80004005): Fatal error encountered during data read.
---> MySql.Data.MySqlClient.MySqlException (0x80004005): Reading from the stream has failed.
---> System.IO.IOException: The read operation failed, see inner exception.
---> System.TimeoutException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
---> System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
Any ideas of what could possibly cause this?
I'm having difficulty sending auto generated e-mails via SSRS. I'm getting a vague error that states "An error has occurred during report processing.". I've detailed the full error below. Does anyone know some of the possible reasons why I would be getting this error?
Here are examples of the Shared Dataset Properties:
Here's the error I'm getting:
library!WindowsService_9!14c0!07/11/2019-10:18:01:: i INFO: Schedule 3d1ac939-3fb6-4313-9e04-bce6353a6825 executed at 07/11/2019 10:18:01.
schedule!WindowsService_9!14c0!07/11/2019-10:18:01:: Creating Time based subscription notification for subscription: a9d6e90a-84fc-439d-b715-49f7479cf69d
library!WindowsService_9!14c0!07/11/2019-10:18:01:: i INFO: Schedule 3d1ac939-3fb6-4313-9e04-bce6353a6825 execution completed at 07/11/2019 10:18:01.
library!WindowsService_9!14c0!07/11/2019-10:18:01:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: AuthzInitializeContextFromSid: Win32 error: 1722, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. ;
processing!WindowsService_9!14c0!07/11/2019-10:18:01:: e ERROR: An exception has occurred in data set 'DS_Example'. Details: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error.
processing!WindowsService_9!14c0!07/11/2019-10:18:01:: i INFO: DataPrefetch abort handler called for Report with ID=. Aborting data sources ...
processing!WindowsService_9!14c0!07/11/2019-10:18:01:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: , Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error.
--- End of inner exception stack trace ---;
processing!WindowsService_9!14c0!07/11/2019-10:18:01:: w WARN: Data source ' Data source for shared dataset': Report processing has been aborted.
processing!WindowsService_9!14c0!07/11/2019-10:18:01:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: , Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error.
--- End of inner exception stack trace ---;
library!WindowsService_9!14c0!07/11/2019-10:18:01:: i INFO: Initializing EnableExecutionLogging to 'True' as specified in Server system properties.
notification!WindowsService_9!14c0!07/11/2019-10:18:01:: e ERROR: Error occured processing subscription a9d6e90a-84fc-439d-b715-49f7479cf69d: An error has occurred during report processing.
I ran the procedure that the data set reference. The data generates without any issues. I've created subscriptions for existing reports and they all executed without error. I've also check the connections to confirm that it wasn't a credential issue but it connected without error.
The subscription should generate a daily report to specified users.
The Win32 error 1722 is the key to this error message. It's an RPC server not available error. Microsoft has a KB article addressing this exact issue:
https://support.microsoft.com/en-us/help/842423/a-call-to-the-authzinitializecontextfromsid-api-function-fails-during
So it looks like the permissions needed to be granted for the service account database and table. The issue has been resolved!
I have a problem integrating liquibase maven execution with a mysql 5.7 database provided by azure as a Service.
the error log is:
Failed to execute goal org.liquibase:liquibase-maven-plugin:3.0.5:status (default-cli) on project — : Error setting up or running Liquibase: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
Last packet sent to the server was 575 ms ago. Remote host closed connection during handshake: SSL peer shut down incorrectly.
this is the connection string I give to liquibase:
jdbc:mysql://server-name:3306/db-name?useSSL=true&requireSSL=false
Any suggestion?
I have just tryed to set -Dhttps.protocols=TLSv1.1,TLSv1.2
but nothing changed..
Fixed issue using version 8.0.12 of mysql unit connector and updating jdbc URL with useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC for the jdbc time zone parameter
mysql on azure uses by default the ssl security protocol
This question already has answers here:
Official reasons for "Software caused connection abort: socket write error"
(14 answers)
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure Software caused connection abort: recv failed [duplicate]
(1 answer)
Closed 7 months ago.
I am working with a Java Web application(spring mvc) connecting to a Mysql database .
When i left my application overnight and there is no request to process during the night, in the morning it was throwing java.sql.SQLException: Communication link failure: java.net.SocketException, underlying cause: Software caused connection abort: recv failed error.
i am using Apache JDBC connection pool i.e. in my Spring config file.
I did some research and found that the real cause of the problem was that database timed out the connection when left idle and when Java application tries to connect to the database using those stale connection it throws
java.sql.SQLException: Communication link failure:
java.net.SocketException, underlying cause: Software caused connection abort: recv failed error.
i fixed this probleme by increasing the timeout value in mysql config file = C:\Program Files (x86)\MySQL\MySQL Server 5.1\my.ini :
[mysqld] wait_timeout=2147483 interactive_timeout=2147483
and then i have restarted mysql service.
thank you #EJP
I have a tomcat app running on a ubuntu cloud server. Everything was working well until a few hours ago. I tried to add a second tomcat app with a similar data source resource in the context.xml. The idea was that the first app would connect to the first DB and the second to the second Database. I called the datasources the same name. It didnt work.
Now I have removed the second app and I cant connect to the database from the original app. All with the same context.xml as it was before I started today. This is driving me crazy.
I get this exception.
Caused by: com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Server connection failure during transaction. Due to underlying exception: 'java.net.ConnectException: Connection refused'.
** BEGIN NESTED EXCEPTION **
java.net.ConnectException
MESSAGE: Connection refused
STACKTRACE:
java.net.ConnectException: Connection refused