etesync / etesync-web

An EteSync web client
https://www.etesync.com
GNU Affero General Public License v3.0
243 stars 30 forks source link

(failed)net::ERR_CERT_DATE_INVALID - web form for manual creation of a calendar entry is failing #229

Closed jzacsh closed 2 years ago

jzacsh commented 2 years ago

in network tab i'm seeing: (failed)net::ERR_CERT_DATE_INVALID

otherwise, it's all /batch XHR failures with (failed) in the status column; request URL I'm guessing has my PII in it, so I'll put jzacsh-redacted just in case, but here's the URL it's happening on: https://api.etebase.com/partner/etesync/api/v1/collection/jzacsh-redacted/item/batch/

I'm guessing it's the cert error above that's root cause, but just in case here's some more info... in the UI: nothing happens when you click the save button (no error, no feedback.. it's as if the button wasn't clicked). in js console in devtools I'm seeing: ```js construct.js:19 Uncaught (in promise) Error: Network request failed at new n (Etebase.js:2) at n. (createSuper.js:14) at new n (Etebase.js:2) at n. (Etebase.js:2) at c (runtime.js:63) at Generator._invoke (runtime.js:293) at Generator.throw (runtime.js:118) at n (asyncToGenerator.js:3) at s (asyncToGenerator.js:29) o @ construct.js:19 t @ wrapNativeSuper.js:26 (anonymous) @ createSuper.js:14 n @ Etebase.js:2 (anonymous) @ createSuper.js:14 n @ Etebase.js:2 (anonymous) @ Etebase.js:2 c @ runtime.js:63 (anonymous) @ runtime.js:293 (anonymous) @ runtime.js:118 n @ asyncToGenerator.js:3 s @ asyncToGenerator.js:29 Promise.then (async) value @ EventEdit.tsx:237 A @ react-dom.production.min.js:14 h @ react-dom.production.min.js:14 (anonymous) @ react-dom.production.min.js:14 I @ react-dom.production.min.js:15 at @ react-dom.production.min.js:52 it @ react-dom.production.min.js:51 At @ react-dom.production.min.js:52 ht @ react-dom.production.min.js:56 N @ react-dom.production.min.js:287 H @ react-dom.production.min.js:19 Zt @ react-dom.production.min.js:70 Xt @ react-dom.production.min.js:69 t.unstable_runWithPriority @ scheduler.production.min.js:19 Ui @ react-dom.production.min.js:122 R @ react-dom.production.min.js:287 Vt @ react-dom.production.min.js:68 Etebase.js:2 Uncaught TypeError: input cannot be null or undefined at y (Etebase.js:2) at v (Etebase.js:2) at C (Etebase.js:2) at Object.c [as to_base64] (Etebase.js:2) at Module._ (Etebase.js:2) at construct.ts:96 at immutable.es.js:2356 at immutable.es.js:2374 at Bt.iterate (immutable.es.js:2786) at vt.iterate.Ct.iterate (immutable.es.js:2778) Uncaught (in promise) TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator)) at Function.from () at Q (Etebase.js:2) at e.setBuffer (Etebase.js:2) at Module.Y (Etebase.js:2) at F (Etebase.js:2) at Function.value (Etebase.js:2) at e.value (Etebase.js:2) at etebase-helpers.ts:34 at c (runtime.js:63) at Generator._invoke (runtime.js:293) ```
jzacsh commented 2 years ago

possibly related is myself and at least one other person (see matrix chatroom) have seen an android notification about certificate changes; My notification looks like:

EteSync - CN=etebase.com

EteSync: Connection Security
Please review the certificate
daradib commented 2 years ago

Looks like the Let's Encrypt certificate wasn't renewed automatically (e.g., with certbot) and expired. It needs to be renewed.

jzacsh commented 2 years ago

regarding the Android notification, here's a screenshot of the page:

Screenshot_20210916-223612

jzacsh commented 2 years ago

@tasn fyi, I'm sure you're already aware, but just in case you're not

(I'm guessing this is something only you can fix)

tasn commented 2 years ago

Yeah fixed, sorry about that! Will write a blog post explaining what happened in a moment.