Jonathan Puckey

Results 97 comments of Jonathan Puckey

`localStorage` offers this functionality as `localStorage.clear()`

@SaulMoonves Could you reopen? I am experiencing the same issue

tracked down the issue to the `pg` library instead - will post an issue there. This issue can be closed again – sorry about that : )

I am able to trace this to a combination of `node-libcurl` and `pg` after all.. Using Node v14.17.4 on Ubuntu 20.04.1 LTS (but can not reproduce locally on my mac)...

When I use the https module, the query is not interrupted (also tested this in a loop to make sure): ```js import https from 'https'; (async () => { const...

Then I get: ``` Error: Client network socket disconnected before secure TLS connection was established at connResetException (internal/errors.js:628:14) at TLSSocket.onConnectEnd (_tls_wrap.js:1561:19) at TLSSocket.emit (events.js:412:35) at TLSSocket.emit (domain.js:470:12) at endReadableNT (internal/streams/readable.js:1317:12)...

Then the error is still logged to the console, but it does not throw: ```js (async () => { while (true) { await curly.get('https://radio.infoo.ro:8600/;').catch(error => { console.error(`Swallow ssl error`, {...

This does throw: ```js (async () => { while (true) { await curly.get('https://radio.infoo.ro:8600/;').catch(error => { console.error(`Swallow ssl error`, { error }); }); } })(); (async () => { while (true)...

Try changing this line: https://github.com/s123121/react-native-track-player/blob/test/playlist-paused/example/src/services/SetupService.ts#L10 to ``` await TrackPlayer.setupPlayer({ waitForBuffer: true }); ``` or wait for this pr to be merged: https://github.com/doublesymmetry/react-native-track-player/pull/1695

Okay just to reiterate, the following stream keeps playing, buffering, playing: https://vnno-pt-1-tf-playlist-live-zmp3.zadn.vn/hpOx2UjqVEQ/zhls/live/standard-audio/855a669d5ad8b386eac9/standard-audio.m3u8 Results of a curl: ``` #EXTM3U #EXT-X-VERSION:4 #EXT-X-MEDIA-SEQUENCE:12708563 #EXT-X-TARGETDURATION:5 #EXTINF:5.016, //vnno-pt-1-tf-chunk-zmp3.zadn.vn/106facf9739a9ac4c38b #EXTINF:5.015, //vnno-pt-1-tf-chunk-zmp3.zadn.vn/edff7a69a50a4c54151b #EXTINF:5.016, //vnno-pt-1-tf-chunk-zmp3.zadn.vn/45843013ef70062e5f61 #EXTINF:5.015, //vnno-pt-1-tf-chunk-zmp3.zadn.vn/52e50272dd11344f6d00 #EXTINF:5.016,...