profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/matrix-amiel/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Amiel Elboim (Matrix) matrix-amiel Matrix Israel @matrix-israel Isreal Web developer at Matrix Isreal. Member of the Clinikal team (@matrix-israel)

matrix-amiel/docs 0

The official documentation website for Select2.

matrix-amiel/EventSource 0

a polyfill for http://www.w3.org/TR/eventsource/

matrix-amiel/html2pdf 0

OFFICIAL PROJECT | HTML to PDF converter written in PHP

matrix-amiel/openemr 0

Mirror of official OpenEMR Sourceforge repository

matrix-amiel/validate.js 0

Declarative validation written in javascript

issue openedopenemr/openemr

Save documents in CouchDB using socket - missing body response

Hi all.

Describe the bug

We updated our server with version 6.0.0 in the last week, we encountered problems only in the production environment with the saving document in the CouchDB process. It is very strange but in the part of CouchDB server version 1.6 (still not updated) the request was sent correctly and the document realy saved in the CouchDB but the response contains only the headers and not the JSON body (therefore we got an error message 'CouchDB save failed' and the saving not recorded in the DB.

we are not using encryption in the CouchDB and do not use SSL.

for example after success request we got -

HTTP/1.0 201 Created
Cache-Control: must-revalidate
Content-Length: 99
Content-Type: application/json
Date: Tue, 14 Sep 2021 13:04:32 GMT
ETag: "1-d27655f998e9be546957e59ce873c88a"
Location: http://localhost/db/946538e5-11a7-47a9-a59f-2edd849a1aa1
Server: CouchDB/1.6.0 

But the important line is missing -

{"ok":true,"id":"946538e5-11a7-47a9-a59f-2edd849a1aa1","rev":"1-d27655f998e9be546957e59ce873c88a"}

The debug I did in the openemr/library/classes/CouchDB.class.php file.

I found the revision in response in the header - ETag: "1-d27655f998e9be546957e59ce873c88a" so I wonder may be better to collect it from the header and continue with the correct process even without body response.

Does somebody know about such a problem, it will be helpful...

Thanks

Amiel (Matrix)

created time in 10 days

create barnchCoronaTeamMOD/CoronaInvestigation

branch : scrollContantResults

created branch time in 3 months

create barnchCoronaTeamMOD/CoronaInvestigation

branch : impove_contact_performance

created branch time in 3 months

push eventMohGovIL/Clinical-DevOps

Amiel Elboim

commit sha 46561804413c5a56e613e07297c68205ded61352

changes after moving to official moh repository

view details

push time in 3 months

push eventMohGovIL/Clinical-Vertical-emergency-medicine-backend

Amiel Elboim

commit sha 081f60f68be018bc9024878750fb0d47984861a7

change reposiory in the composer file

view details

push time in 3 months

push eventMohGovIL/Clinikal-Backend

Amiel Elboim

commit sha a7eb8cfb04f4c4a0913944e9fde96fbb51cda7c6

change reposiory in the composer file

view details

push time in 3 months

push eventMohGovIL/Clinikal-React

Amiel Elboim

commit sha 4336182cffaf614cf006ab0de4f5d0249bd196e6

test moving to new repositoty

view details

push time in 3 months