As I noted, ZM components are referencing THREE variables associated with SSL. In 1.30.4 I used TWO (configured in zm.conf).
Yes, I am having API issues. That is why I am asking why a packaged component is showing three ZM-specific variables associated with SSL. Perhaps you aren't aware of this?
Search found 228 matches
- Wed May 27, 2020 2:51 pm
- Forum: ZoneMinder 1.34.x
- Topic: Setting SSL variables
- Replies: 5
- Views: 2840
- Tue May 26, 2020 5:28 pm
- Forum: ZoneMinder 1.34.x
- Topic: [CLOSED]API problems/errors
- Replies: 16
- Views: 8295
Re: API problems/errors
Does the fact that I can run things out of "host" (getVersion.json; getload.json etc.) mean that the API facility is working, that it is purely only the database connection that is failing? BUT... isn't authentication requiring database access? I have tried everything, even statically setting ...
- Tue May 26, 2020 5:38 am
- Forum: ZoneMinder 1.34.x
- Topic: Setting SSL variables
- Replies: 5
- Views: 2840
Setting SSL variables
In pursuit of some API issues ( https://forums.zoneminder.com/viewtopic.php?f=40&t=29428&sid=68a54a38d90f8da47f4ee14da7d13e36 ) I started digging through php code and found that database.php.default references three ZM SSL variables: 'ssl_ca' => ZM_DB_SSL_CA_CERT, 'ssl_key' => ZM_DB_SSL_CLIENT_KEY ...
- Mon May 25, 2020 6:11 pm
- Forum: ZoneMinder 1.34.x
- Topic: [CLOSED]API problems/errors
- Replies: 16
- Views: 8295
Re: API problems/errors
Tried running zmNinja desktop on my server but it wouldn't run (sandbox issues), so am currently trying to troubleshoot through web browsers only (Firefox). On ZM I enabled OPT_USE_LEGACY_API_AUTH and am able to, via web browser, get getVersion.json to return proper values. With anything that ...
- Wed May 20, 2020 10:46 am
- Forum: ZoneMinder 1.34.x
- Topic: [CLOSED]API problems/errors
- Replies: 16
- Views: 8295
Re: API problems/errors
Same connect issue with events.json. What I meant when I said I was wanting to try ZMninja direclty ON the server was more for convenience than anything to do with ZMninja-specific processing/operation: I don't trust the mechanisms with browser access (authenticating by logging in on one window and ...
- Tue May 19, 2020 1:10 pm
- Forum: ZoneMinder 1.34.x
- Topic: [CLOSED]API problems/errors
- Replies: 16
- Views: 8295
Re: API problems/errors
Would running ZMninja desktop directly on the server likely give me more insight? I'd have done this already if not for the fact that the server is headless: it's kind of remote; I'd have to lug a monitor, keyboard and mouse to test). Seems that I'm the only person to have this problem that isn't ...
- Tue May 19, 2020 10:39 am
- Forum: ZoneMinder 1.34.x
- Topic: [CLOSED]API problems/errors
- Replies: 16
- Views: 8295
Re: API problems/errors
OK, I messed with the certs to no avail. ZMninja desktop (on a client) logs make it appear as though it's a cache problem (highlighted below)? May 19, 2020 03:26:59 AM INFO Login data not changed, not saving May 19, 2020 03:26:54 AM DEBUG Does login need to hear the wizard? false May 19, 2020 03:26 ...
- Tue May 19, 2020 9:52 am
- Forum: ZoneMinder 1.34.x
- Topic: [CLOSED]API problems/errors
- Replies: 16
- Views: 8295
Re: API problems/errors
Continuing to dig into this.. At this point it seems most likely that it's an SSL cert issue or a socket one. The former affecting the later? mysql.sock is properly configured, so that's not likely it. Which seems to leave SSL cert as the issue. I'd previously used a self-signed cert w/o issue ...
- Mon May 18, 2020 5:11 am
- Forum: ZoneMinder 1.34.x
- Topic: [CLOSED]API problems/errors
- Replies: 16
- Views: 8295
Re: API problems/errors
As this seems to be a DB connection issue I'm tending to focus on that. Here's a couple more bits of relevant information on mysqld (as reported by phpinfo): Version: mysqlnd 5.0.12-dev - 20150407 core SSL: supported extended SSL: supported Loaded plugins: mysqlnd,debug_trace,auth_plugin_mysql ...
- Mon May 18, 2020 4:20 am
- Forum: ZoneMinder 1.34.x
- Topic: [CLOSED]API problems/errors
- Replies: 16
- Views: 8295
Re: API problems/errors
Yeah, that's one take on what the error could be about. I've got zero resource issues that I've been able to determine. The ONLY thing that seems to raise a red flag is the number of active_connections that phpinfo reported: 18446744073709551614 This is on a system install that's less than a week ...
- Sun May 17, 2020 3:28 am
- Forum: ZoneMinder 1.34.x
- Topic: [CLOSED]API problems/errors
- Replies: 16
- Views: 8295
Re: API problems/errors
Still having issues. mysql log: 2020-05-16 6:05:47 12362 [Warning] Aborted connection 12362 to db: 'zm' user: 'zmuser' host: 'localhost' (Got an error reading communication packets) Increased cake debugging level and now see this output: Request URL: /zm/api/monitors/index/Type%20!=:WebSite.json ...
- Sun May 17, 2020 2:43 am
- Forum: Mobile Apps and Event Server
- Topic: Another API issue..
- Replies: 17
- Views: 10507
Re: Another API issue..
Thanks! I'll close this thread here and pick back up on my one under viewtopic.php?f=40&t=29428.
- Sat May 16, 2020 11:48 am
- Forum: Mobile Apps and Event Server
- Topic: Another API issue..
- Replies: 17
- Views: 10507
Another API issue..
zmNinja 1.4.005 on Android 7 Zoneminder 1.34.11 (new install) Issue/error: "No monitors to display" Please check your credentials As far as I can tell I'm getting authenticated, getting tokens: zmNinja says that I'm authenticated. I have SSL certs from Let's Encrypt: with my previous install of ZM ...
- Thu May 14, 2020 10:49 am
- Forum: ZoneMinder 1.34.x
- Topic: [CLOSED]API problems/errors
- Replies: 16
- Views: 8295
[CLOSED]API problems/errors
Debian Buster (fresh install) ZM 1.34.11 (fresh install) w/APIs enabled for all/every user Testing (per instructions in the document noted below): https://<my server>/zm/api/host/getVersion.json From Firefox on my Linux laptop (also on my Android phone using Chrome or Firefox) gives me: {"success ...
- Sat May 09, 2020 4:10 am
- Forum: ZoneMinder 1.34.x
- Topic: Buttons doesn't work
- Replies: 3
- Views: 4412
Re: Buttons doesn't work
Unfortunately I wasn't able to figure this one out before I totally trashed my server (not ZM's fault). I'd had _some_ functions show up with just a name (no control boxes appearing) in which they were clickable but nothing would happen. This was on an OS and ZM upgrade: Debian Stretch to Buster and ...