fohrloop / dash-uploader

The alternative upload component for python Dash applications.
MIT License
141 stars 29 forks source link

Upload on rsconnect and under proxy #131

Open biggiemikkie opened 7 months ago

biggiemikkie commented 7 months ago

Hello! Could you pleage give me a hint about following issue: I am deploying my app on RSConnect platform and getting next error in logs of rsconnect when i try to upload a file: 2024/02/06 13:35:12 [error] 3755#0: *17036708 readv() failed (104: Connection reset by peer) while reading upstream, client: 172.27.19.216, server: rsconnect-app.prd.net, request: "POST /API/resumable?resumableChunkNumber=1&resumableChunkSize=1048576&resumableCurrentChunkSize=241368&resumableTotalSize=241368&resumableType=application%2Fvnd.openxmlformats-officedocument.spreadsheetml.sheet&resumableIdentifier=241368-new_template_copyxlsx&resumableFilename=new_template_copy.xlsx&resumableRelativePath=new_template_copy.xlsx&resumableTotalChunks=1&upload_id=c39cc72a-c4e9-11ee-a117-48df37301c48 HTTP/2.0", upstream: "http://127.0.0.1:3939/API/resumable?resumableChunkNumber=1&resumableChunkSize=1048576&resumableCurrentChunkSize=241368&resumableTotalSize=241368&resumableType=application%2Fvnd.openxmlformats-officedocument.spreadsheetml.sheet&resumableIdentifier=241368-new_template_copyxlsx&resumableFilename=new_template_copy.xlsx&resumableRelativePath=new_template_copy.xlsx&resumableTotalChunks=1&upload_id=c39cc72a-c4e9-11ee-a117-48df37301c48", host: "rsconnect-app.prd.net", referrer: "https://rsconnect-app.prd.net/content/595b9bd9-f506-4931-8997-c65d9c3c02e6/" As far as i understand i have to configure _requests_pathnameprefix and _routes_pathnameprefix but i don't really understand this concept from other issue threads