Skip to content

Getting http error 500 as soon as I start typing #2369

@cryptomilk

Description

@cryptomilk

Describe the bug
If I open a text document and start typing, I get http error 500 from the server after the first char.

I need help to further debug this. Any suggestions?

To Reproduce
Steps to reproduce the behavior:

  1. Open a text file e.g. README.md
  2. Start typing

Expected behavior
You are able to write text.

Client details:

  • OS: openSUSE Tumbleweed
  • Browser: Firefox 99
Server details

Text app version: (see Nextcloud apps page)
3.5.1

Operating system:
openSUSE 15.3

Web server:
apache2-2.4.51
php7-fpm-7.4.6

Database:
Postgresql 14

PHP version:
php 7.4.6

Nextcloud version: (see Nextcloud admin page)
24.0.0.12

Logs

Nextcloud log (data/nextcloud.log)

Nothing to find

Browser log

Insert your browser log here, this could for example include:

XHR POST https://cloud.cryptomilk.org/index.php/apps/text/session/sync
[HTTP/2 500 Internal Server Error 189ms]

	
POST
	https://cloud.cryptomilk.org/index.php/apps/text/session/sync
Status
500
Internal Server Error
VersionHTTP/2
Transferred859 B (41 B size)
Referrer Policyno-referrer

    	
    cache-control
    	no-cache, no-store, must-revalidate
    content-length
    	41
    content-security-policy
    	default-src 'none';base-uri 'none';manifest-src 'self';frame-ancestors 'none'
    content-type
    	application/json; charset=utf-8
    date
    	Thu, 05 May 2022 13:01:00 GMT
    expires
    	Thu, 19 Nov 1981 08:52:00 GMT
    feature-policy
    	autoplay 'none';camera 'none';fullscreen 'none';geolocation 'none';microphone 'none';payment 'none'
    pragma
    	no-cache
    referrer-policy
    	no-referrer
    server
    	Apache
    strict-transport-security
    	max-age=15768000; includeSubDomains
    x-content-type-options
    	nosniff
    X-Firefox-Spdy
    	h2
    x-frame-options
    	SAMEORIGIN
    x-permitted-cross-domain-policies
    	none
    x-powered-by
    	PHP/7.4.6
    x-request-id
    	0so2WU5xe32FHWhq7HSR
    x-robots-tag
    	none
    x-xss-protection
    	1; mode=block
    	
    Accept
    	application/json, text/plain, */*
    Accept-Encoding
    	gzip, deflate, br
    Accept-Language
    	en-US,en;q=0.5
    Connection
    	keep-alive
    Content-Length
    	238
    Content-Type
    	application/json
    Cookie
    	__Host-nc_sameSiteCookielax=true; __Host-nc_sameSiteCookiestrict=true; nc_username=asn; nc_token=XXXXXXXXXXXXXXX; nc_session_id=XXXXXXXXXXXX; oc_sessionPassphrase=XXXXXXXXXXXXXXXX
    DNT
    	1
    Host
    	cloud.cryptomilk.org
    Origin
    	https://cloud.cryptomilk.org
    requesttoken
    	XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    Sec-Fetch-Dest
    	empty
    Sec-Fetch-Mode
    	cors
    Sec-Fetch-Site
    	same-origin
    Sec-GPC
    	1
    TE
    	trailers
    User-Agent
    	Mozilla/5.0 (X11; Linux x86_64; rv:99.0) Gecko/20100101 Firefox/99.0
Failed to fetch steps due to other reason Error: Request failed with status code 500
    exports createError.js:16
    exports settle.js:17
    k xhr.js:66
    exports xhr.js:78
    exports xhr.js:15
    exports dispatchRequest.js:58
    request Axios.js:112
    e Axios.js:147
    exports bind.js:9
    value PollingBackend.js:121
    setInterval handler*value PollingBackend.js:268
    value PollingBackend.js:170
    promise callback*value PollingBackend.js:131
    value PollingBackend.js:103
    value PollingBackend.js:230
    promise callback*value PollingBackend.js:227
    value SyncService.js:184
    onSendable EditorWrapper.vue:408
    t Collaboration.js:28
    v Collaboration.js:16
    setTimeout handler*85152/onCreate/this.getSendableSteps< Collaboration.js:15
    onCreate Collaboration.js:40
    emit tiptap-core.esm.js:3116
    emit tiptap-core.esm.js:3116
    dispatchTransaction tiptap-core.esm.js:3454
    dispatch index.es.js:5280
    qe index.es.js:2866
    domObserver index.es.js:3474
    flush index.es.js:3387
    observer index.es.js:3254
    at index.es.js:3243
    Vt index.es.js:3474
    Vt index.es.js:4940
    createView tiptap-core.esm.js:3401
    Ht tiptap-core.esm.js:3247
    Sn EditorFactory.js:172
PollingBackend.js:203:11

Nothing in apache error log.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions