Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump to akka 2.10.0-M1, align with changes from upstream #859

Merged
merged 3 commits into from
Sep 20, 2024

Conversation

sebastian-alfers
Copy link
Contributor

  • bump akka to 2.10.0-M1 and other dependencies
  • slick to not exclude slf4j anymore
  • drop scala.collection.JavaConverters
  • drop akka.dispatch.ExecutionContexts
  • drop scala.compat.java8

@sebastian-alfers
Copy link
Contributor Author

Hem, failures with SqlServer:

An infinite loop of:

WARNING: ConnectionID:5 ClientConnectionId: f3933fcd-d5de-48b1-8286-3d70d2ae211e Prelogin error: host localhost port 1433 Error reading prelogin response: Connection reset ClientConnectionId:f3933fcd-d5de-48b1-8286-3d70d2ae211e
Sep 20, 2024 4:49:16 AM com.microsoft.sqlserver.jdbc.SQLServerConnection Prelogin
WARNING: ConnectionID:6 ClientConnectionId: e112f190-4787-471c-a53d-f5f6d690e8c8 Prelogin error: host localhost port 1433 Error reading prelogin response: Connection reset ClientConnectionId:e112f190-4787-471c-a53d-f5f6d690e8c8
Sep 20, 2024 4:49:16 AM com.microsoft.sqlserver.jdbc.SQLServerConnection Prelogin
WARNING: ConnectionID:5 ClientConnectionId: f260c3ac-7d68-477d-9cf2-0000f540a55d Prelogin error: host localhost port 1433 Error reading prelogin response: Connection reset ClientConnectionId:f260c3ac-7d68-477d-9cf2-0000f540a55d
Sep 20, 2024 4:49:17 AM com.microsoft.sqlserver.jdbc.SQLServerConnection Prelogin
WARNING: ConnectionID:6 ClientConnectionId: a7bd75b2-02e8-4950-9c43-37bbe9247e8b Prelogin error: host localhost port 1433 Error reading prelogin response: Connection reset ClientConnectionId:a7bd75b2-02e8-4950-9c43-37bbe9247e8b
Sep 20, 2024 4:49:17 AM com.microsoft.sqlserver.jdbc.SQLServerConnection Prelogin
WARNING: ConnectionID:5 ClientConnectionId: 299cb40c-e2b4-419c-b796-1534a9b5ba1c Prelogin error: host localhost port 1433 Error reading prelogin response: Connection reset ClientConnectionId:299cb40c-e2b4-419c-b796-1534a9b5ba1c
Sep 20, 2024 4:49:18 AM com.microsoft.sqlserver.jdbc.SQLServerConnection Prelogin
WARNING: ConnectionID:6 ClientConnectionId: 13287e35-d317-45a0-8f2d-226b83b207ec Prelogin error: host localhost port 1433 Unexpected end of prelogin response after 0 bytes read
Sep 20, 2024 4:49:18 AM com.microsoft.sqlserver.jdbc.SQLServerConnection Prelogin
WARNING: ConnectionID:5 ClientConnectionId: fba8954c-08d3-42f3-ace4-e5506043ec8d Prelogin error: host localhost port 1433 Error reading prelogin response: Connection reset ClientConnectionId:fba8954c-08d3-42f3-ace4-e5506043ec8d

As well as:

[info] akka.persistence.jdbc.integration.SqlServerJournalDaoStreamMessagesMemoryTest *** ABORTED *** (6 minutes, 0 seconds)
[info]   java.sql.SQLTransientConnectionException: slick.db - Connection is not available, request timed out after 180001ms.
[info]   at com.zaxxer.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:696)
...
[info]   at akka.persistence.jdbc.query.SqlServerCleaner.beforeAll$(QueryTestSpec.scala:401)
[info]   at akka.persistence.jdbc.integration.SqlServerJournalDaoStreamMessagesMemoryTest.beforeAll(JournalDaoStreamMessagesMemoryTest.scala:23)
[info]   at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:212)
...
[info]   at java.base/java.lang.Thread.run(Thread.java:829)
[info]   Cause: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host localhost, port 1433 has failed. Error: "The driver received an unexpected pre-login response. Verify the connection properties and check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. This driver can be used only with SQL Server 2005 or later.". ClientConnectionId:d574cac1-be1b-4978-a352-46cd48808b12

@sebastian-alfers
Copy link
Contributor Author

Same error locally, but also on main, so 🤷

@sebastian-alfers
Copy link
Contributor Author

The failing test for SqlServer was disabled in #861.

@sebastian-alfers sebastian-alfers merged commit 0f66ec0 into akka:main Sep 20, 2024
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants