Open hesam476 opened 4 months ago
Please star this repository to motivate the developers and to get higher priority! :star:
when i start "./heplify -hs HOMER_SERVER:9060 -hn Srv-Test" heplify-server service on port 9060 is shutdown
and after the test script is stopped heplify-server serice on port 9060 is ok on HOMER Service
Does the same happen with fewer options? ./heplify -hs HOMER_SERVER:9060
yes this happen again with fewer options
I don't see any errors. Make sure you include all the logs and any coredump if the process faults.
Hi this is some logs from Homer Server /var/log/syslog:
Jul 7 09:51:49 121-Homer systemd[1]: heplify-server.service: Main process exited, code=exited, status=2/INVALIDARGUMENT Jul 7 09:51:49 121-Homer systemd[1]: heplify-server.service: Failed with result 'exit-code'. Jul 7 09:51:59 121-Homer systemd[1]: heplify-server.service: Scheduled restart job, restart counter is at 238. Jul 7 09:51:59 121-Homer systemd[1]: Stopped HEP Server & Switch in Go. Jul 7 09:51:59 121-Homer systemd[1]: Started HEP Server & Switch in Go. Jul 7 09:52:05 121-Homer heplify-server[102948]: panic: runtime error: invalid memory address or nil pointer dereference Jul 7 09:52:05 121-Homer heplify-server[102948]: #011panic: runtime error: invalid memory address or nil pointer dereference Jul 7 09:52:05 121-Homer heplify-server[102948]: [signal SIGSEGV: segmentation violation code=0x1 addr=0xb4 pc=0xb177bd] Jul 7 09:52:05 121-Homer heplify-server[102948]: goroutine 73 [running]: Jul 7 09:52:05 121-Homer heplify-server[102948]: sync.(Mutex).Lock(...) Jul 7 09:52:05 121-Homer heplify-server[102948]: #011/usr/local/go/src/sync/mutex.go:74 Jul 7 09:52:05 121-Homer heplify-server[102948]: github.com/olivere/elastic.(BulkProcessor).Flush(0x0, 0x6, 0xfc087b) Jul 7 09:52:05 121-Homer heplify-server[102948]: #011/go/pkg/mod/github.com/olivere/elastic@v6.2.33+incompatible/bulk_processor.go:410 +0x2d Jul 7 09:52:05 121-Homer heplify-server[102948]: github.com/sipcapture/heplify-server/remotelog.(Elasticsearch).start.func1(0xc0000a20a0) Jul 7 09:52:05 121-Homer heplify-server[102948]: #011/app/remotelog/elasticsearch.go:70 +0x42 Jul 7 09:52:05 121-Homer heplify-server[102948]: panic(0xe826e0, 0x17d8b70) Jul 7 09:52:05 121-Homer heplify-server[102948]: #011/usr/local/go/src/runtime/panic.go:679 +0x1b2 Jul 7 09:52:05 121-Homer heplify-server[102948]: github.com/olivere/elastic.(BulkProcessor).Add(...) Jul 7 09:52:05 121-Homer heplify-server[102948]: #011/go/pkg/mod/github.com/olivere/elastic@v6.2.33+incompatible/bulk_processor.go:404 Jul 7 09:52:05 121-Homer heplify-server[102948]: github.com/sipcapture/heplify-server/remotelog.(Elasticsearch).start(0xc0000a20a0, 0xc0000320c0) Jul 7 09:52:05 121-Homer heplify-server[102948]: #011/app/remotelog/elasticsearch.go:85 +0x31d Jul 7 09:52:05 121-Homer heplify-server[102948]: github.com/sipcapture/heplify-server/remotelog.(Remotelog).Run.func1(0xc0000a20c0) Jul 7 09:52:05 121-Homer heplify-server[102948]: #011/app/remotelog/remotelog.go:36 +0x3c Jul 7 09:52:05 121-Homer heplify-server[102948]: created by github.com/sipcapture/heplify-server/remotelog.(*Remotelog).Run Jul 7 09:52:05 121-Homer heplify-server[102948]: #011/app/remotelog/remotelog.go:35 +0x6d Jul 7 09:52:05 121-Homer systemd[1]: heplify-server.service: Main process exited, code=exited, status=2/INVALIDARGUMENT Jul 7 09:52:05 121-Homer systemd[1]: heplify-server.service: Failed with result 'exit-code'. Jul 7 09:52:15 121-Homer systemd[1]: heplify-server.service: Scheduled restart job, restart counter is at 239. Jul 7 09:52:15 121-Homer systemd[1]: Stopped HEP Server & Switch in Go. Jul 7 09:52:15 121-Homer systemd[1]: Started HEP Server & Switch in Go. Jul 7 09:53:26 121-Homer heplify-server[102958]: panic: runtime error: invalid memory address or nil pointer dereference Jul 7 09:53:26 121-Homer heplify-server[102958]: #011panic: runtime error: invalid memory address or nil pointer dereference Jul 7 09:53:26 121-Homer heplify-server[102958]: [signal SIGSEGV: segmentation violation code=0x1 addr=0xb4 pc=0xb177bd]
what are the specs of the system running heplify-server? this is definitely not normal
Jul 7 09:53:26 121-Homer heplify-server[102958]: panic: runtime error: invalid memory address or nil pointer dereference Jul 7 09:53:26 121-Homer heplify-server[102958]: #011panic: runtime error: invalid memory address or nil pointer dereference Jul 7 09:53:26 121-Homer heplify-server[102958]: [signal SIGSEGV: segmentation violation code=0x1 addr=0xb4 pc=0xb177bd]
OS: Debian 11 Kernel: 5.10.209-2 heplify-server version: 1.59.6 homer-app version: 1.4.59 postgresql version: 13.14 Memory: 4GB - free 2.5GB "I noticed that the server clock is 7 minutes behind the current time." I fix the time but issue not solved yet what other specs should i check ?
I have installed homer7 manually when i start heplify agent on my asterisk PBX like this "heplify -hs HOMER_Server:9060 -hn Srv-Test" service heplify-server port 9060 tcp and udp shutdown suddenly on homer server I attach server and client logs. please help Heplify Server Logs:
Heplify Clients Logs :