sipcapture / homer

HOMER - 100% Open-Source SIP, VoIP, RTC Packet Capture & Monitoring
https://sipcapture.org
GNU Affero General Public License v3.0
1.65k stars 244 forks source link

Homer View Authentication Issue #581

Open flaviogoncalves opened 1 year ago

flaviogoncalves commented 1 year ago

Hi,

After installing homer view react and angular I get "something went wrong". I checked the proxy in the port 8765 and it is working fine I can see the dashboard. So proxy seems fine. Using inspect I saw the message 401 unauthorized when trying to access the APis api/v3/call/transaction.

POST http://x.y.z.w:8765/api/v3/call/transaction

Answers 401 Unauthorized.

It seems we have a problem in the API authentication. I saw in the list another ticket with a similar issue.

lmangani commented 1 year ago

Hi Flavio. I would guess the problem might be bad apiUser or apiPass used by the homer-view proxy for JWT authentication with the actual HOMER backend causing a 401 to be forwarded back to your client. Tell us more about the steps you followed and how you configured authentication as a starter.

flaviogoncalves commented 1 year ago

Hi, I have used two different users and passwords including admin/sipcapture.

idanam-del commented 1 year ago

hey i have the same issue posted here: https://github.com/sipcapture/homer-view-react/issues/84