-
Couldn't load subscription status.
- Fork 98
Description
I just followed the instructions to install nats and this client. I then created the example in the README.md and I get the following messages:
PHP Notice: Undefined index: tls_required in /home/dario/development/gnatsd/vendor/repejota/nats/src/Nats/ServerInfo.php on line 106
PHP Notice: Undefined index: tls_verify in /home/dario/development/gnatsd/vendor/repejota/nats/src/Nats/ServerInfo.php on line 107
Data: Marty McFly
I can see with Xdebug that $connectionresponse contains:
INFO {"server_id":"xZgNYujpa0EHN3jgo7NDKI","version":"1.3.1","proto":1,"go":"go1.9.7","host":"0.0.0.0","port":4222,"auth_required":true,"max_payload":1048576,"client_id":8}
Running PHP5.6 with NATS 1.3.1.
Looking at the code, it is clear it assumes a response's content that is not there.
Is it the NATS's version or... ?