Samar Sajnani
Samar Sajnani
Use https://github.com/azohra/ptolemy to get your secrets during runtime and have an external system like vault to manage your secrets.
I figured it might be a proxying issue or a firewall affecting the websocket. So I tried using longPolling. Getting a Jason decode issue with longpolling and uploading files using...
I ruled out a proxy issue or a firewall issue because I have other applications with live_view deployed in the same way and they are working as expected.
There is no specific action or trigger causing it to fail. I added a simple LiveView and it still crashed.
I'm checking with the versioning, because that's the main difference. However, the uploads functionality that I'm using is just in the new live view versions. The other phoenix live view...
Thanks for the quick response, I really appreciate it, my team is working on a time sensitive project so this is great. The first output above is from running discoverAllServicesAndCharacteristicsForDevice....
``` this.manager.connectToDevice(deviceID) .then((device) => { device.discoverAllServicesAndCharacteristics() .then((results) => { console.log(results); this.manager.servicesForDevice(deviceID) .then((services) => { console.log(services); }); }); }); ```