Open profilesName opened 2 days ago
What do you mean by uploading but not doing anything? Do you get a response from the server when you send the POST request? Zipline should be able to handle any sort of file so I'm not sure what the problem is yet, but you can try to enable debug logs by adding the DEBUG=true
environment variable in the docker-compose.yml and checking the logs then, it'll just have a bunch more logs and probably useless information but it might help pinpoint the issue.
Hey diced. I turned on the debugging and found that the server just straight up doesnt receive a POST request for the files i mentioned that I cannot upload. Logs below.
Uploading an image: 2024-10-23 22:19:25 zipline-1 | 2024-10-24 02:19:25,230 AM info [server::response] GET /api/version -> 200 2024-10-23 22:19:25 zipline-1 | 2024-10-24 02:19:25,231 AM debug [server::response] {"method":"GET","url":"/api/version","headers":{"host":"zipline.pnzr.xyz","x-real-ip":"192.168.0.1","x-forwarded-for":"192.168.0.1","x-forwarded-proto":"https","connection":"close","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0","accept":"/","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate, br, zstd","referer":"https://zipline.pnzr.xyz/dashboard/upload/file","dnt":"1","sec-gpc":"1","cookie":"user=MGFjNWU3ZGQtMjU0MS00YzUzLWI4NTAtOWRlNTY5MzA2NjdjOlZFN1VuTWduTWkzOVYzM1htZnM2c0FQOUpZQ0tHeDhDQWlMby9Ob1RrakU%3D","sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","priority":"u=4","x-middleware-invoke":"","x-invoke-path":"/api/version","x-invoke-query":"%7B%7D","x-invoke-output":"/api/version","x-forwarded-host":"zipline.pnzr.xyz","x-forwarded-port":"3000"}} 2024-10-23 22:19:30 zipline-1 | 2024-10-24 02:19:30,164 AM debug [upload] recieved upload (len=1) [{"fieldname":"file","originalname":"Screenshot%202024-10-22%20134847.png","mimetype":"image/png","size":62520,"encoding":"7bit"}] 2024-10-23 22:19:30 zipline-1 | 2024-10-24 02:19:30,176 AM info [upload] User admin (1) uploaded lIRzIn.png (11) 2024-10-23 22:19:30 zipline-1 | 2024-10-24 02:19:30,177 AM info [server::response] POST /api/upload -> 200 2024-10-23 22:19:30 zipline-1 | 2024-10-24 02:19:30,177 AM debug [server::response] {"method":"POST","url":"/api/upload","headers":{"host":"zipline.pnzr.xyz","x-real-ip":"192.168.0.1","x-forwarded-for":"192.168.0.1","x-forwarded-proto":"https","connection":"close","content-length":"62767","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0","accept":"/","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate, br, zstd","authorization":"4TmRgNS7L2XNgQCUDvm4Flu0.MTcyOTY2Nzk4NzkzOQ","content-type":"multipart/form-data; boundary=---------------------------368950772017074169001309691326","origin":"https://zipline.pnzr.xyz","dnt":"1","sec-gpc":"1","referer":"https://zipline.pnzr.xyz/dashboard/upload/file","cookie":"user=MGFjNWU3ZGQtMjU0MS00YzUzLWI4NTAtOWRlNTY5MzA2NjdjOlZFN1VuTWduTWkzOVYzM1htZnM2c0FQOUpZQ0tHeDhDQWlMby9Ob1RrakU%3D","sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","priority":"u=0","x-middleware-invoke":"","x-invoke-path":"/api/upload","x-invoke-query":"%7B%7D","x-invoke-output":"/api/upload","x-forwarded-host":"zipline.pnzr.xyz","x-forwarded-port":"3000"}}
Uploading a .zip file: 2024-10-23 22:20:15 zipline-1 | 2024-10-24 02:20:15,334 AM info [server::response] GET /api/version -> 200 2024-10-23 22:20:15 zipline-1 | 2024-10-24 02:20:15,334 AM debug [server::response] {"method":"GET","url":"/api/version","headers":{"host":"zipline.pnzr.xyz","x-real-ip":"192.168.0.1","x-forwarded-for":"192.168.0.1","x-forwarded-proto":"https","connection":"close","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0","accept":"/","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate, br, zstd","referer":"https://zipline.pnzr.xyz/dashboard/upload/file","dnt":"1","sec-gpc":"1","cookie":"user=MGFjNWU3ZGQtMjU0MS00YzUzLWI4NTAtOWRlNTY5MzA2NjdjOlZFN1VuTWduTWkzOVYzM1htZnM2c0FQOUpZQ0tHeDhDQWlMby9Ob1RrakU%3D","sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","priority":"u=4","x-middleware-invoke":"","x-invoke-path":"/api/version","x-invoke-query":"%7B%7D","x-invoke-output":"/api/version","x-forwarded-host":"zipline.pnzr.xyz","x-forwarded-port":"3000"}} 2024-10-23 22:20:19 zipline-1 | 2024-10-24 02:20:19,954 AM info [server::response] GET /api/version -> 200 2024-10-23 22:20:19 zipline-1 | 2024-10-24 02:20:19,955 AM debug [server::response] {"method":"GET","url":"/api/version","headers":{"host":"zipline.pnzr.xyz","x-real-ip":"192.168.0.1","x-forwarded-for":"192.168.0.1","x-forwarded-proto":"https","connection":"close","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0","accept":"/","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate, br, zstd","referer":"https://zipline.pnzr.xyz/dashboard/upload/file","dnt":"1","sec-gpc":"1","cookie":"user=MGFjNWU3ZGQtMjU0MS00YzUzLWI4NTAtOWRlNTY5MzA2NjdjOlZFN1VuTWduTWkzOVYzM1htZnM2c0FQOUpZQ0tHeDhDQWlMby9Ob1RrakU%3D","sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","priority":"u=4","x-middleware-invoke":"","x-invoke-path":"/api/version","x-invoke-query":"%7B%7D","x-invoke-output":"/api/version","x-forwarded-host":"zipline.pnzr.xyz","x-forwarded-port":"3000"}}
What happened?
I setup this server 2 days ago so bare with me. Zipline is running on a proxmox xubuntu vm currently with docker. I've finally managed to set it up with an nginx reverse proxy, and am able to get on the site itself to upload very specific things. By that I mean that I can upload jpg, xlsx and mp4 files, but not zip, pptx or exes. I find this quite odd as I've setup zipline to not block any extensions what so ever in the docker-compose.yml file. Also, it's not that it denies it outright, its more like it says that its uploading whilst its not actually doing anything. Logs show that the files that never upload aren't creating any errors and normally receiving requests.
Version
latest (ghcr.io/diced/zipline or ghcr.io/diced/zipline:latest)
What browser(s) are you seeing the problem on?
No response
Zipline Logs
Browser Logs
No response
Additional Info
No response