Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

/messages fails and returns invalid error #3489

Open
t3chguy opened this issue Jan 7, 2025 · 1 comment
Open

/messages fails and returns invalid error #3489

t3chguy opened this issue Jan 7, 2025 · 1 comment
Labels
good first issue Good for newcomers T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.

Comments

@t3chguy
Copy link
Member

t3chguy commented Jan 7, 2025

Background information

  • Dendrite version or git SHA: docker main
  • SQLite3 or Postgres?: sqlite3
  • Running in Docker?: yes
  • go version: docker main
  • Client used (if applicable): element-web

Description

  • What is the problem: /messages API fails and with an invalid error
  • Who is affected: Element Web users
  • How is this bug manifesting: Loading thread
  • When did this first appear: Unclear

Steps to reproduce

  • open a thread such that pagination is triggered
  • GET http://localhost:32780/_matrix/client/v3/rooms/!p1fMlcUbat0NHzFF%3Alocalhost/messages?limit=9007199254740991&dir=b&filter=%7B%22lazy_load_members%22%3Atrue%2C%22types%22%3Anull%2C%22not_types%22%3A%5B%5D%2C%22rooms%22%3Anull%2C%22not_rooms%22%3A%5B%5D%2C%22senders%22%3Anull%2C%22not_senders%22%3A%5B%5D%2C%22contains_url%22%3Anull%2C%22io.element.relation_senders%22%3A%5B%5D%2C%22io.element.relation_types%22%3A%5B%22io.element.thread%22%5D%7D
  • Observe return of
{
  "Err": ""
}
  • Observe error
time="2025-01-07T17:26:43.546857655Z" level=error msg="mreq.retrieveEvents failed" error="GetEventsInRange: s.db.Prepare: near \"=\": syntax error" req.id=OcJIXsvGklfe req.method=GET req.path="/_matrix/client/v3/rooms/!p1fMlcUbat0NHzFF:localhost/messages" user_id="@user:localhost"
@t3chguy
Copy link
Member Author

t3chguy commented Jan 7, 2025

trace (1).zip

@S7evinK S7evinK added good first issue Good for newcomers T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. labels Jan 16, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
good first issue Good for newcomers T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Projects
None yet
Development

No branches or pull requests

2 participants