-
-
Notifications
You must be signed in to change notification settings - Fork 244
Troubleshooting Homer 7.7
Guys, please if you have some issues, provide a little bit more information. We couldn't guess or read your mind remotely.
First of all, please be sure that you have the latest version of homer-app/homer-ui/heplify-server:
https://github.com/sipcapture/homer-app/releases/latest https://github.com/sipcapture/homer-ui/releases/latest https://github.com/sipcapture/heplify-server/releases/latest
or use our packagecloud.io repository (https://github.com/sipcapture/homer/wiki/Quick-Install#-manual-install)
So. You run the latest versions and you still have issues, than you go to next steps:
If you are upgrading from Homer 7.0 to Homer 7.7. Please reinit your configuration database:
./homer-app -populate-table-db-config -force-populate
or if you have some users and don't loose them, upgrade only these tables:
./homer-app -populate-table-db-config -force-populate -populate-table=mapping_schema -populate-table=global_settings -populate-table=user_settings -populate-table=hepsub_mapping_schema
Be sure you have some SIP (or RTCP, LOG) data in the tables of your DB (homer_data)
Execute in the shell (terminal/ssh) of the DB host:
# su - postgres
$ psql homer_data
homer_data=# \dt
it will show you if you have any tables in your database:
I don't see any tables, the DB is empty or psql tells you: "psql: FATAL: database "homer_data" does not exist"
- you didn't install postgress or it's not up.
- you didn't create database (see the https://github.com/sipcapture/homer/wiki/Quick-Install#-initialization)
- you didn't run heplify-server or there is any issues with connectivity (wrong credentials, wrong path to the config or firewall), because heplify-server will create the tables on the first start_
Oh, I have tables:
Great, now:
Check if you have any data inside:
select count(*) from hep_proto_1_call;
count
---------
3993340
(1 row)
if you see 0 rows = you didn't send any HEP data or again wrong configuration (heplify-server, captagent or firewall) Be sure that you send
- SIP
- encapsulation protocol HEPv3 , not HEPv2
Again non RTCP non LOG, you send SIP
(if you are not sure - capture packets with wireshark/ngrep/tcpdump (ports: 9060 or 9063) and do analyze with https://github.com/sipcapture/hep-wireshark . In worse case check if you have HEPv3 in the headers of packets)
if you have records, but you don't see anything in your UI, but you can login and create widgets, you see configurations etc...
in the browser, press F12 (Web console):
and do a search again. Please be sure that you have selected the correct time range. If you don't see any requests in the Network tab:
in Homer - UI do:
- Logout
- Login
- and press Search again
and NOW:
Check the /api/v3/search/call/data Don't execute this query, go to the Network tab in your Web console F12 (see the screenshoots) and check the reply of this api request and analyze the data. Check if you have some records inside
The screenshoots:*
if you don't see any data in the result grid (table) of UI, but you have data in hep_proto_1_call (DB: homer_data, Table: hep_proto_1_call): :
- timerange is wrong - you don't have any data for this time range. Be sure you don't have any search parameters and make the range bigger.
- the database connection to homer_data in your webapp_conf.json is wrong or firewall issue.__
If you see a response with DATA inside, but nothing has been displayed:
Congratulation, probably you found a bug, and you can submit an issue
- Submit versions of your homer-app/UI/heplify/heplify-server (the version of UI you can find in the title.)
- How did you install the applications (package / installer script / self compiling)
- How do you send data to Homer (SIP/ RTCP/ RTP / LOG)
- Small network topology description
- any additonal information that can help us understand and solve your issue
I hope this small instruction helps you to localize your problem and avoid waste your and our time for a ping-pong communication.
(C) 2008-2023 QXIP BV
HEP/EEP Agent Examples:
- CaptAgent
- HEPlify
- Kamailio
- OpenSIPS
- FreeSwitch
- Asterisk
- sipgrep
- sngrep
- RTPEngine
- RTPProxy
- Oracle ACME SBC
- Sonus SBC
- Avaya SM
- Sansay SBC
HEP/EEP Agent Examples (LOGS):
HEP/EEP Proxy:
Extra Examples:
- Custom JSON Stats
- RTCP-XR Stats
- GEO IP Maps
- Janus/Meetecho-WebRTC
- Cloudshark Export
- Encrypted HEP Tunneling
- SNMP Monitoring
- FreeSWITCH ESL Monitoring
- Kazoo Monitoring
- Speech-to-Text-to-HEP
Extra Resources: