https://bugzilla.wikimedia.org/show_bug.cgi?id=71797
Bug ID: 71797
Summary: Crash with HTTPS only Mediawiki instances
Product: OCG
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General/Unknown
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Web browser: ---
Mobile Platform: ---
If you have a HTTPS only instance of Mediawiki, it's not possible to use OCG
directly.
You get this error:
error: Error: Hostname/IP doesn't match certificate's altnames
at SecurePair.<anonymous> (tls.js:1371:23)
at SecurePair.EventEmitter.emit (events.js:92:17)
at SecurePair.maybeInitFinished (tls.js:974:10)
at CleartextStream.read [as _read] (tls.js:462:15)
at CleartextStream.Readable.read (_stream_readable.js:320:10)
at EncryptedStream.write [as _write] (tls.js:366:25)
at doWrite (_stream_writable.js:221:10)
at writeOrBuffer (_stream_writable.js:211:5)
at EncryptedStream.Writable.write (_stream_writable.js:180:11)
at write (_stream_readable.js:583:24) channel=backend.bundler.bin,
id=65848afb3f242ab641e6d3f9cb031244c780172d, writer=rdf2latex,
details=undefined
error: Bundling process died with non zero code: 1
channel=backend.bundler.error, id=65848afb3f242ab641e6d3f9cb031244c780172d,
writer=rdf2latex, metabook={
It should be explained how to get rid of this error in the document. I'm not
sure this is relevant to take care about this as in 99% of the instances this
run on the same machine like MW. Maybe a simple option (activated per default?)
should avoid this check.
I have achieved to get ride of this problem by
addingprocess.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
PS: This problem is also valid for Parsoid.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l