Art-of-WiFi / UniFi-API-browser

Tool to browse data exposed by Ubiquiti's UniFi Controller API
MIT License
1.1k stars 150 forks source link

API does'nt work need help #93

Closed egbertgertz closed 2 years ago

egbertgertz commented 2 years ago

Hello, i have installed the Unifi-API-browser under Linux Debian 10.7. PHP 7.31, webserver is apache2. The config.php and the users.php are ok. If i want to open the website https://ip of the proxmox-vm/Unifi-API-browser/ the edge-browser failes. The failure is: Website is unavialable. Browser is edge with Windows 11, chrome-browser also fails. Sorry for my bad english language, hope, you understand my issue. Best regards from Germany Egbert Gertz

malle-pietje commented 2 years ago

Please share a screenshot that also shows the URL you are trying to connect. Please also confirm exactly where the tool is installed.

egbertgertz commented 2 years ago

<img width="1205" alt="Screenshot 2021-10-30 235216" src="https://user-images.githubusercontent.com/54790162/139559364-80d5666e-1f4d-4b8e-a1b8-b9fcf84cdeaa.png"

Screenshot 2021-10-30 235102
egbertgertz commented 2 years ago
Screenshot 2021-10-30 235216
egbertgertz commented 2 years ago

Hello, thank You for Your answer. The B API-Browser is installed on a debian Server. Installed apache2 and php.

malle-pietje commented 2 years ago

Have you tried with the capital letter F in the URL?

egbertgertz commented 2 years ago

Hi, now i have found the failure. The files for the Browser are saved in /var/www/html/Unifi-API-browser/.. Now i have all files copied from the directory /..../Unifi-API-browser/ to /var/www/html/. Now I can open the Site with http://192.168.1.126/index.php . Thats ok for me, we can close here. Thanks for Your help.

egbertgertz commented 2 years ago

Hello,

i have closed the issue. I have copied all files and directories from /var/www/html/Unifi-API-browser/ to /var/www/html/. After restarting apache2 i have opened the Browser, first page was the login-page. All ok, thanks for Your help.

Best regards from germany

Mit freundlichen Grüßen

Egbert & Ilona Gertz

Obstwiese 22

18182 Blankenhagen

Tel.: +49 38201 592902

Fax: +49 38201 592905

@.***> E-Mail senden

Von: malle-pietje @.> Gesendet: Samstag, 30. Oktober 2021 18:46 An: Art-of-WiFi/UniFi-API-browser @.> Cc: egbertgertz @.>; Author @.> Betreff: Re: [Art-of-WiFi/UniFi-API-browser] API does'nt work need help (Issue #93)

Please share a screenshot that also shows the URL you are trying to connect. Please also confirm exactly where the tool is installed.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Art-of-WiFi/UniFi-API-browser/issues/93#issuecomment-955459246 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ANCAQEQ7TFTP67HLABUFXS3UJQVNXANCNFSM5HBIC4DA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . https://github.com/notifications/beacon/ANCAQEW35EYMOWASIZN6UWTUJQVNXA5CNFSM5HBIC4DKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHDZSNLQ.gif