# 'No keepalive from datasource sqlHana. Restarting' message for SAP HANA Database remote monitoring 2.0 extension

**URL:** <https://community.dynatrace.com/t/no-keepalive-from-datasource-sqlhana-restarting-message-for-sap-hana-database-remote-monitoring-2-0-extension/42881>\
**Category:** Extensions\
**Tags:** sap, extensions\
**Created:** [November 28, 2023, 3:02pm UTC](https://community.dynatrace.com/t/no-keepalive-from-datasource-sqlhana-restarting-message-for-sap-hana-database-remote-monitoring-2-0-extension/42881 "2023-11-28T15:02:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sivart\_89](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@sivart\_89](https://community.dynatrace.com/u/sivart_89)\
**Post date:** [November 28, 2023, 3:02pm UTC](https://community.dynatrace.com/t/no-keepalive-from-datasource-sqlhana-restarting-message-for-sap-hana-database-remote-monitoring-2-0-extension/42881/1 "2023-11-28T15:02:49Z")

</div>

I’ve just started trying to setup the 2.0 extension ‘SAP HANA Database (remote monitoring)’. I am continuing to see the error below logged which is the same type message someone else outlined in the post below, related to Oracle. Is anyone using this extension and able to successfully get metrics into dynatrace?

I did have someone on login to the db and was able to run a query manually and get back results but we never see any data for it in dynatrace. The prereq also states ‘A SAP HANA database user with the PUBLIC and MONITORING roles’, this has been confirmed.

Error I am seeing:  
No keepalive from datasource sqlHana. Restarting

Similar issue but related to Oracle:  
[https://community.dynatrace.com/t5/Open-Q-A/Oracle-Database-Extension-quot-No-keepalive-from-datasource-quot/m-p/216902](https://community.dynatrace.com/post/216902)

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [December 20, 2023, 11:09am UTC](https://community.dynatrace.com/t/no-keepalive-from-datasource-sqlhana-restarting-message-for-sap-hana-database-remote-monitoring-2-0-extension/42881/2 "2023-12-20T11:09:14Z")

</div>

This could happen if one of the queries timed out (10 seconds by default). Just 4 days ago there was a&nbsp;fix for handling query timeout better and making sure there were no lingering sessions. It was backported to the 1.279 & 1.281 versions of the Active Gate. If you still see this error please raise a support ticket.

---

<div class="post-metadata">

**Author:** ![sivart\_89](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@sivart\_89](https://community.dynatrace.com/u/sivart_89)\
**Post date:** [December 20, 2023, 12:05pm UTC](https://community.dynatrace.com/t/no-keepalive-from-datasource-sqlhana-restarting-message-for-sap-hana-database-remote-monitoring-2-0-extension/42881/3 "2023-12-20T12:05:17Z")

</div>

I ended up creating a ticket for this, #252901. We are using AG version&nbsp;1.279.112.20231130-012710 and that is the latest version showing for us right now. I’ve since found that I have been able to access the HANA db from the AG and execute a query that is in the extension with no issues. Support had be capture some traces to look further.

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [December 20, 2023, 12:19pm UTC](https://community.dynatrace.com/t/no-keepalive-from-datasource-sqlhana-restarting-message-for-sap-hana-database-remote-monitoring-2-0-extension/42881/4 "2023-12-20T12:19:10Z")

</div>

Right, then that is the developer ticket I found with the potential fix. I am sure that support will let you know once it is live.

Good luck!

---

<div class="post-metadata">

**Author:** ![sivart\_89](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@sivart\_89](https://community.dynatrace.com/u/sivart_89)\
**Post date:** [January 17, 2024, 2:51pm UTC](https://community.dynatrace.com/t/no-keepalive-from-datasource-sqlhana-restarting-message-for-sap-hana-database-remote-monitoring-2-0-extension/42881/5 "2024-01-17T14:51:03Z")

</div>

Quick update here for anyone having the same issue. This appears to be fixed in AG version 1.281. It finally made its way to our cluster today. Testing with it I no longer see the error message and see consistent data.

The fix was noted in the OneAgent release notes. Not sure why it is noted there since the extension is an AG extension and the fix required an update to the AG.

[https://docs.dynatrace.com/docs/shortlink/release-notes-oneagent-sprint-281](https://docs.dynatrace.com/docs/shortlink/release-notes-oneagent-sprint-281)

 ![sivart_89_1-1705502875461.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/f/5f6ceb5c0e3f48eba2dc6ed724ea5f774361055a.png)
