![]() ![]() Jan 04 02:24:27 danef-dictionary-api app/web.1 at .(StandardServiceRegistryImpl.java:101) Jan 04 02:24:27 danef-dictionary-api app/web.1 at .(JdbcEnvironmentInitiator.java:35) Jan 04 02:24:27 danef-dictionary-api app/web.1 at .(JdbcEnvironmentInitiator.java:68) Jan 04 02:24:27 danef-dictionary-api app/web.1 at .$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:180) Jan 04 02:24:27 danef-dictionary-api app/web.1 at .(DatasourceConnectionProviderImpl.java:122) Jan 04 02:24:27 danef-dictionary-api app/web.1 at .getConnection(HikariDataSource.java:112) Jan 04 02:24:27 danef-dictionary-api app/web.1 at .HikariPool.(HikariPool.java:115) Jan 04 02:24:27 danef-dictionary-api app/web.1 at .HikariPool.checkFailFast(HikariPool.java:562) Jan 04 02:24:27 danef-dictionary-api app/web.1 at .HikariPool.createPoolEntry(HikariPool.java:473) Jan 04 02:24:27 danef-dictionary-api app/web.1 at .PoolBase.newPoolEntry(PoolBase.java:201) ~ Jan 04 02:24:27 danef-dictionary-api app/web.1 at .PoolBase.newConnection(PoolBase.java:353) ~ Jan 04 02:24:27 danef-dictionary-api app/web.1 at .DriverDataSource.getConnection(DriverDataSource.java:138) ~ Jan 04 02:24:27 danef-dictionary-api app/web.1 at .(NonRegisteringDriver.java:199) ~ Jan 04 02:24:27 danef-dictionary-api app/web.1 at .(ConnectionImpl.java:246) ~ Jan 04 02:24:27 danef-dictionary-api app/web.1 at .jdbc.ConnectionImpl.(ConnectionImpl.java:456) ~ Jan 04 02:24:27 danef-dictionary-api app/web.1 at .(ConnectionImpl.java:836) ~ Jan 04 02:24:27 danef-dictionary-api app/web.1 at .(SQLExceptionsMapping.java:64) ~ The driver has not received any packets from the server. Jan 04 02:24:27 danef-dictionary-api app/web.1 The last packet sent successfully to the server was 0 milliseconds ago. Below is the related part of the log that I see when I start the application running on url Heroku provided me, in this case: .: Communications link failure But if I deploy it to production, I see exceptions thrown in the logs. I can make POST requests and add new data to database. I can make GET requests and get data stored in database. Everything works great when I run the application locally with heroku local web. ![]() This is the tutorial I've followed throughout this approach. After that I've started configuring mysql as the database. I've developed a Spring Boot Application based on Heroku's "Getting Started on Heroku with Java".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |