Skip to content

uwsgi problem #102

@iagooteroc

Description

@iagooteroc

Hi. I have migrated my higlass-manage instance to a server behind a nginx reverse proxy, but I am running into a new problem I didn't have before.

When trying to load a Contact Map, the GET request has a lot of parameters &d=, and that seems to be causing a problem:

2025/03/11 12:23:24 [error] 12#12: *114 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.62.170, server: , request: "GET /api/v1/tiles/?d=aRt5v2YPRaGtPZtXQuB4Bg.3.2.2&d=aRt5v2YPRaGtPZtXQuB4Bg.3.2.3&d=aRt5v2YPRaGtPZtXQuB4Bg.3.2.4&d=aRt5v2YPRaGtPZtXQuB4Bg.3.2.5&d=aRt5v2YPRaGtPZtXQuB4Bg.3.2.6&d=aRt5v2YPRaGtPZtXQuB4Bg.3.2.7&d=aRt5v2YPRaGtPZtXQuB4Bg.3.2.8&d=aRt5v2YPRaGtPZtXQuB4Bg.3.2.9&d=aRt5v2YPRaGtPZtXQuB4Bg.3.3.3&d=aRt5v2YPRaGtPZtXQuB4Bg.3.3.4&d=aRt5v2YPRaGtPZtXQuB4Bg.3.3.5&d=aRt5v2YPRaGtPZtXQuB4Bg.3.3.6&d=aRt5v2YPRaGtPZtXQuB4Bg.3.3.7&d=aRt5v2YPRaGtPZtXQuB4Bg.3.3.8&d=aRt5v2YPRaGtPZtXQuB4Bg.3.3.9&s=HxgokGq-RPOVtL1_zy7k5Q HTTP/1.0", upstream: "uwsgi://127.0.0.1:8001", host: "example.domain.com", referrer: "https://example.domain.com/app"
2025/03/11 12:23:24 [error] 12#12: *116 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.62.170, server: , request: "GET /api/v1/tiles/?d=aRt5v2YPRaGtPZtXQuB4Bg.3.4.4&d=aRt5v2YPRaGtPZtXQuB4Bg.3.4.5&d=aRt5v2YPRaGtPZtXQuB4Bg.3.4.6&d=aRt5v2YPRaGtPZtXQuB4Bg.3.4.7&d=aRt5v2YPRaGtPZtXQuB4Bg.3.4.8&d=aRt5v2YPRaGtPZtXQuB4Bg.3.4.9&d=aRt5v2YPRaGtPZtXQuB4Bg.3.5.5&d=aRt5v2YPRaGtPZtXQuB4Bg.3.5.6&d=aRt5v2YPRaGtPZtXQuB4Bg.3.5.7&d=aRt5v2YPRaGtPZtXQuB4Bg.3.5.8&d=aRt5v2YPRaGtPZtXQuB4Bg.3.5.9&d=aRt5v2YPRaGtPZtXQuB4Bg.3.6.6&d=aRt5v2YPRaGtPZtXQuB4Bg.3.6.7&d=aRt5v2YPRaGtPZtXQuB4Bg.3.6.8&d=aRt5v2YPRaGtPZtXQuB4Bg.3.6.9&s=HxgokGq-RPOVtL1_zy7k5Q HTTP/1.0", upstream: "uwsgi://127.0.0.1:8001", host: "example.domain.com", referrer: "https://example.domain.com/app"

I say that because I see a 502 error response with the browser network tool, but if I remove some of the &d= and resend the request, it returns a 200 OK. I tried increasing my nginx server buffer size configurations, but the problem remains. I think it is a problem with the HiGlass Docker image's server, perhaps the uwsgi configuration. Is there any way to increase the uwsgi buffer-size?

Anyway, any info is appreciated. Here is my command:

sudo higlass-manage start --site-url example.domain.com --port 8080 --data-dir /mnt/higlass-data/ --temp-dir /mnt/higlass-data/tmp/ --version latest

And this is my /version.txt

SERVER_VERSION: 1.14.8
WEB_APP_VERSION: 1.1.11
LIBRARY_VERSION: 1.11.4
HIPILER_VERSION: 1.4.0
MULTIVEC_VERSION: 0.2.7
CLODIUS_VERSION: 0.19.0
TIME_INTERVAL_TRACK_VERSION: 0.2.0-rc.2
LINEAR_LABELS_TRACK: 0.1.6
LABELLED_POINTS_TRACK: 0.1.12
BEDLIKE_TRIANGLES_TRACK_VERSION: 0.1.2
RANGE_TRACK_VERSION: 0.1.1
PILEUP_VERSION: 1.1.0
TRANSCRIPTS_VERSION: 0.2.1
TEXT_VERSION: 0.1.0
SEQUENCE_VERSION: 0.3.1
CLINVAR_VERSION: 0.2.1
ORTHOLOGS_VERSION: 0.2.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions