# 1.55.1 Problems: ERROR contact:service ping satellite failed?

**URL:** <https://forum.storj.io/t/1-55-1-problems-error-contact-service-ping-satellite-failed/18616>\
**Category:** troubleshooting\
**Tags:** online-score, offline\
**Created:** [June 4, 2022, 1:50pm UTC](https://forum.storj.io/t/1-55-1-problems-error-contact-service-ping-satellite-failed/18616 "2022-06-04T13:50:46Z")\
**Posts on this page:** 1\
**Showing post:** 29

<div class="post-metadata">

**Author:** ![svet0slav](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/svet0slav/32/8791_2.png) [@svet0slav](https://forum.storj.io/u/svet0slav)\
**Post date:** [June 8, 2022, 9:05am UTC](https://forum.storj.io/t/1-55-1-problems-error-contact-service-ping-satellite-failed/18616/29 "2022-06-08T09:05:19Z")

</div>

Appears it also restarts the node on

> ERROR piecestore download/upload failed

This does not take the node offline, so it is OK to not restart the node on such errors, I take it.  
@Alexey, is this OK to you or I could modify it to this…

`* * * * * /bin/journalctl --since "1 min ago" --until "now" -eu NODESERVICENAME | awk '/ERROR/ && /ping satellite failed/ {a=1}; END { if (a == 1){system("systemctl restart NODESERVICENAME.service")} }' `

or even

`* * * * * /bin/journalctl --since "1 min ago" --until "now" -eu NODESERVICENAME | awk /ping satellite failed/ {a=1}; END { if (a == 1){system("systemctl restart NODESERVICENAME.service")} }' `

After all, the nodes DO NOT GO OFFLINE now with this hack implemented on the source server. Even if they do, it is for less than a second - during the service restart.

Again… Why this works:

`awk` uses a _pattern-action_ paradigm. `/ERROR/` and `/ping satellite failed/` are the _pattern_ and `{a=1}` is the _action_ . After `awk` has processed all the `journalctl` output of the node it is testing, the `END` section is executed. A simple `if (a == 1)` test determines if one or more matches occurred, and if so, the `systemctl restart NODESERVICENAME.service` command is executed to restart the node on error found in the node log for the last 1 min.

---

_[View the full topic](https://forum.storj.io/t/1-55-1-problems-error-contact-service-ping-satellite-failed/18616)._
