I’m running CODE locally through Docker for dev purposes, with:
docker run -t -d -p 127.0.0.1:9980:9980 -e "domain=localhost" -e "username=admin" -e "password=S3cRet" -e "extra_params=--o:ssl.enable=false" --restart always collabora/code
(I don’t want a security cert as I’m developing locally).
The service runs, and https://localhost:9980 shows “ok”, and the Dashboard shows ok with http://localhost:9980/loleaflet/dist/admin/admin.html
This is being hooked into an already working piece of local development for Moodle. When uploading a document, and trying to view it in the browser at this url: http://localhost:9980/loleaflet/a400fc3/loleaflet.html?WOPISrc=http://localhost/mod/collabora/callback.php/wopi/files/26_0&access_token=ece774b70a72
I get an error from CODE saying, “Failed to read document from storage. Please contact your storage server (localhost) administrator.”
I can see the “File/Edit/View/Insert/Tools” toolbar.
When I run:
curl -v --tlsv1.2 https://127.0.0.1:9980/hosting/discovery
I get:
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number
* Closing connection 0
I’m not sure what I can do to resolve this. I’d appreciate any advice. I am entirely new to this.
Thanks,
Steven