#12510 closed bug (fixed)
Web+ doesn't upload screenshots to HaikuDepot
Reported by: | humdinger | Owned by: | pulkomandy |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Applications/WebPositive | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | #12467 | Blocking: | #12992 |
Platform: | All |
Description
This is hrev49872.
Uploading screenshots to HaikUDepot doesn't work anymore (at least I think it has worked in the past, but I've been using QupZilla a lot before the latest Web+ improvements). The site just shows those three blinking dots and never returns.
Attachments (2)
Change History (15)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Attached is a screenshot of the script console (there seems to be no copying from it implemented). I tried to upload another screenshot to BeVexed. It stalls quite a while before ending in https://depot.haiku-os.org/error.
comment:3 by , 9 years ago
The console output is also sent to Terminal if you run Web+ there (but a copy button would be a nice addition). In this case, I think it would be more interesting to run with the network kit built in debug mode, which will trace a lot of things (all http requests) to the Terminal.
comment:4 by , 9 years ago
Hope I got it right, I put SetConfigVar DEBUG : HAIKU_TOP src kits network : 1 : global ;
into my UserBuildConfig. Attached is the Wep+ output after hitting the "Add" button on the screenshot page of the HaikuDepot Server, complete with the falling back to the error page.
comment:5 by , 9 years ago
MESSAGE https://depot.haiku-os.org/jawr/js/gzip_540832521/bundles/libs.js?:121:325: unable to add the screenshot for; bevexed MESSAGE https://depot.haiku-os.org/jawr/js/gzip_540832521/bundles/libs.js?:121:325: reset the breadcrumb stack
Have you tried with other browsers?
follow-up: 8 comment:7 by , 9 years ago
I'm looking at the "Content-Length" value of "1925622312" in that trace at line 10 and wondering if that is correct. If I am not mistaken that's quite large at around 1.7GB. That is quite a bit for a screenshot. Could there be some problem there? Looking on the server-side at this time, I see the server logs;
2015-12-01 16:38:32.019:WARN:oejs.ServletHandler:qtp21796458-397: /pkgscreenshot/bevexed/add java.io.IOException: java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms at org.eclipse.jetty.server.HttpInput$ErrorState.noContent(HttpInput.java:745) at org.eclipse.jetty.server.HttpInput.read(HttpInput.java:157)
This could be because the header on the HTTP request is stating a larger quantity than is being delivered on the HTTP request body. The server is probably left waiting for those additional bytes to arrive and eventually times-out. @humdinger; what was the _actual_ size of that screenshot upload?
comment:8 by , 9 years ago
Replying to apl-haiku:
@humdinger; what was the _actual_ size of that screenshot upload?
For the test, I tried to re-upload the existing screenshot I downloaded before. It's size is 26,469 bytes.
comment:10 by , 9 years ago
Blocked By: | 12467 added |
---|
comment:11 by , 9 years ago
Fixed in https://github.com/haiku/webkit/commit/d613ddf1edc586b4f495d3241a646da384a6f07f. Will be part of HaikuWebKit 1.5.3.
comment:12 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:13 by , 8 years ago
Blocking: | 12992 added |
---|
Hi @humdinger; are you able to see if there is something in the JavaScript console for the web page. That may help to indicate the source of the problem.