Hacker Poesy
  • FAQ
  • Login
  • Public

    • Public
    • Groups
    • Recent tags
    • Popular
    • Directory

Conversation:

Notices

  1. AndStatus@Quitter.no (andstatus)'s status on Saturday, 04-Apr-2015 17:06:08 EDT AndStatus@Quitter.no AndStatus@Quitter.no
    Remote profile options...
    • MMN-o ✅⃠
    • lnxw48 (Linux Walt)
    • Abjectio
    • Alberto
    @knuthollund@quitter.no You surely noticed that some of my posts are duplicated. As I see logs at a client side, the quitter . no server returned "HTTP 500" error on a first attempt. Maybe this is due to "Use legacy HTTP protocol" set to "Auto" at my side now...
    You may test this using the latest !andstatus commit at GitHub

    @moshpirit@quitter.es @mmn@social.umeahackerspace.se @lnxw48@fresh.federati.net
    Saturday, 04-Apr-2015 17:06:08 EDT from quitter.no permalink
    • AndStatus repeated this.
    • Alberto (moshpirit)'s status on Monday, 30-Mar-2015 13:25:26 EDT Alberto Alberto
      Remote profile options...
      @moshpirit @andstatus !gnusocial why is it linked to https://fediverse.com/group/andstatus instead of https://loadaverage.org/andstatus
      Monday, 30-Mar-2015 13:25:26 EDT permalink
    • MMN-o ✅⃠ (mmn)'s status on Monday, 30-Mar-2015 13:32:58 EDT MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • Alberto
      @moshpirit Good question. It shouldn't link to a group unless using ! :)
      Monday, 30-Mar-2015 13:32:58 EDT permalink
    • MMN-o ✅⃠ (mmn)'s status on Monday, 30-Mar-2015 13:34:42 EDT MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • Alberto
      @moshpirit !andstatus Maybe this is related? Does the client send a Content-Length header with the data? It shouldn't be a problem adding that anyway. https://social.umeahackerspace.se/url/28848
      Monday, 30-Mar-2015 13:34:42 EDT permalink
    • AndStatus (andstatus)'s status on Monday, 30-Mar-2015 14:46:46 EDT AndStatus AndStatus
      Remote profile options...
      • Hannes
      • MMN-o ✅⃠
      • Abjectio
      • Alberto
      @moshpirit@quitter.es @mmn@social.umeahackerspace.se This is about the issue we are discussing here: https://quitter.no/notice/341434
      I hope that @knuthollund@quitter.no will figure out a solution collaborating with @hannes2peer@quitter.se, and then we will be able to recommend the same for quitter.es
      Monday, 30-Mar-2015 14:46:46 EDT permalink
    • AndStatus (andstatus)'s status on Monday, 30-Mar-2015 15:11:42 EDT AndStatus AndStatus
      Remote profile options...
      • Hannes
      • MMN-o ✅⃠
      • Alberto
      @hannes2peer@quitter.se Of course most of problems may be fixed from different sides (client or server). However, solving the problem by configuration/library updates is much easier than redoing client application. Regarding Mustard application - it is actually an example of a non-maintainable code resulted from numerous patches (probably to fix issues like this one). I will t…
      Monday, 30-Mar-2015 15:11:42 EDT permalink

      Attachments

      1. andstatus-20150330-ostatus-dh66.html
    • MMN-o ✅⃠ (mmn)'s status on Monday, 30-Mar-2015 15:58:18 EDT MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • AndStatus
      • Abjectio
      @knuthollund @andstatus There's this setting in FastCGI that restricts the request size (which is yet another setting apart from PHP's own max_upload_size and max_post_size). Is that related perhaps? When running Apache and mod_fcgid at least, the setting is: FcgidMaxRequestLen - probably something similar for mod_fastcgi.
      Monday, 30-Mar-2015 15:58:18 EDT permalink
    • MMN-o ✅⃠ (mmn)'s status on Monday, 30-Mar-2015 16:00:20 EDT MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • Abjectio
      @mmn @knuthollund The default is something tiny like 128KiB: https://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidmaxrequestlen
      But that should also affect uploads from the web frontend of course.
      Monday, 30-Mar-2015 16:00:20 EDT permalink
    • MMN-o ✅⃠ (mmn)'s status on Monday, 30-Mar-2015 16:05:18 EDT MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • Abjectio
      @mmn @knuthollund I can't find a similar setting for mod_fastcgi though so maybe it was just a shot in the dark. I will try !AndStatus to #quitter.es and see what happens.
      Monday, 30-Mar-2015 16:05:18 EDT permalink
    • MMN-o ✅⃠ (mmn)'s status on Monday, 30-Mar-2015 16:22:47 EDT MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • AndStatus
      • Abjectio
      So, as I mentioned earlier in the thread, if @andstatus@loadaverage.org adds the Content-Length header to the request then everything is alright? Seems very much like this is not a !gnusocial issue.
      Monday, 30-Mar-2015 16:22:47 EDT permalink
    • MMN-o ✅⃠ (mmn)'s status on Monday, 30-Mar-2015 16:31:58 EDT MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • AndStatus
      • Abjectio
      @knuthollund "Length required" sounds like it requires a content-length header. There is no problem for @AndStatus to send the Content-Length since notice uploads with attachments are extremely predictable. Right?
      Monday, 30-Mar-2015 16:31:58 EDT permalink
    • MMN-o ✅⃠ (mmn)'s status on Monday, 30-Mar-2015 16:34:53 EDT MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • Abjectio
      @knuthollund Isn't the chunked stuff what a _server_ is allowed to send? I didn't know clients could require the server to request more chunks. Not sure how that'd work in the server-client model even.
      Monday, 30-Mar-2015 16:34:53 EDT permalink
    • MMN-o ✅⃠ (mmn)'s status on Tuesday, 31-Mar-2015 04:32:59 EDT MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • Abjectio
      • AndStatus@Quitter.no
      @andstatus @knuthollund Either way the problem is not in GNU social and asking everyone who use mod_fastcgi/whatever to _change webserver software_ to nginx is unfeasible (I run lighttpd on #quitter.es). Has the problem tried to be mitigated by sending the Content Length header yet?
      We can't fix anything for this in !gnusocial code as far as I can tell.
      Tuesday, 31-Mar-2015 04:32:59 EDT permalink
    • AndStatus@Quitter.no (andstatus)'s status on Tuesday, 31-Mar-2015 09:27:07 EDT AndStatus@Quitter.no AndStatus@Quitter.no
      Remote profile options...
      • Hannes
      • MMN-o ✅⃠
      • lnxw48 (Linux Walt)
      • AndStatus
      • Abjectio
      • Alberto
      @mmn@social.umeahackerspace.se @hannes2peer@quitter.se As I see you didn't notice that according to both error @knuthollund@quitter.no saw in server logs and to the link to nginx documentation I sent today "411 content length" is _not_ a real problem - this is just an HTTP error chosen by developers to report to a User about another problem :-) Please look at this info: http://statu…
      Tuesday, 31-Mar-2015 09:27:07 EDT permalink

      Attachments

      1. andstatus-20150331-ostatus-bkpr.html
      AndStatus repeated this.
    • MMN-o ✅⃠ (mmn)'s status on Tuesday, 31-Mar-2015 10:40:28 EDT MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • AndStatus@Quitter.no
      @andstatus nginx has nothing to do with this. It is just one out of several webservers in a very varied eco system. I am using lighttpd instead on #quitter.es, Apache with mod_fastcgi is used on #quitter.no. #quitter.se works because it is does not use CGI. I do not have any experience whatsoever with Java development, so I have no motivation to setup a debug environm…
      Tuesday, 31-Mar-2015 10:40:28 EDT permalink

      Attachments

      1. mmn-20150331-ostatus-22es.html
    • MMN-o ✅⃠ (mmn)'s status on Tuesday, 31-Mar-2015 10:46:38 EDT MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • AndStatus@Quitter.no
      @mmn @andstatus ...and even the #nginx "solution" looks like a dirty hack. "on error, go to a page that doesn't treat it as an error!". HTTP/1.1 describes "411 Length Required" as "The request did not specify the length of its content, which is required by the requested resource". If the resource requires it - the solution is not to add a hack on the resource side but …
      Tuesday, 31-Mar-2015 10:46:38 EDT permalink

      Attachments

      1. mmn-20150331-ostatus-b7ll.html
    • MMN-o ✅⃠ (mmn)'s status on Tuesday, 31-Mar-2015 10:51:02 EDT MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • AndStatus@Quitter.no
      @andstatus Maybe Twitter - a single server environment - has implemented this hack too. But we can't all do it. And we're not all going to switch to nginx. So I guess you haven't tried sending the Content-Length yet. I'll ignore this thread until I know it has been tested and failed. You're welcome to send me the .apk of a test build which sends that header if you stil…
      Tuesday, 31-Mar-2015 10:51:02 EDT permalink

      Attachments

      1. mmn-20150331-ostatus-8jfs.html
    • MMN-o ✅⃠ (mmn)'s status on Tuesday, 31-Mar-2015 13:53:06 EDT MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • Vinilox
      • Abjectio
      • AndStatus@Quitter.no
      @andstatus Different webservers and configs. http://status.hackerposse.com/url/6998 runs Apache with mod_php - that does _not_ use CGI. http://status.hackerposse.com/url/6999 runs nginx v1.6.2, maybe he has even applied the config fix? I don't know about @vinilox@status.vinilox.eu but I would guess he runs a similar config to #quitter.se The nodes where "411 Length…
      Tuesday, 31-Mar-2015 13:53:06 EDT permalink

      Attachments

      1. mmn-20150331-ostatus-6r4p.html
    • MMN-o ✅⃠ (mmn)'s status on Tuesday, 31-Mar-2015 13:56:04 EDT MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • Abjectio
      @knuthollund You can see which webserver software they use (but not how PHP is loaded, only which version) by running 'curl -I domain.com' :)
      Tuesday, 31-Mar-2015 13:56:04 EDT permalink
    • MMN-o ✅⃠ (mmn)'s status on Tuesday, 31-Mar-2015 14:05:01 EDT MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • AndStatus@Quitter.no
      @andstatus Sorry, I was going to ignore this thread until sending the Content-Length header from AndStatus has been attempted.
      Tuesday, 31-Mar-2015 14:05:01 EDT permalink
    • AndStatus@Quitter.no (andstatus)'s status on Wednesday, 01-Apr-2015 02:16:39 EDT AndStatus@Quitter.no AndStatus@Quitter.no
      Remote profile options...
      • Hannes
      • MMN-o ✅⃠
      • lnxw48 (Linux Walt)
      • AndStatus
      • Abjectio
      • Alberto
      As I understand now, lack of chunked encoding support is a real cause of this incompatibility. Chunked encoding is used exactly when content length is unknown beforehand. As suggested here: http://status.hackerposse.com/url/7005 , switching to HTTP 1.0 protocol reliably turns this feature off, and this will ensure compatibility with different legacy/"simple" server implementations. …
      Wednesday, 01-Apr-2015 02:16:39 EDT permalink

      Attachments

      1. andstatus-20150401-ostatus-f622.html
      AndStatus repeated this.
    • MMN-o ✅⃠ (mmn)'s status on Wednesday, 01-Apr-2015 04:35:49 EDT MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • AndStatus
      • AndStatus@Quitter.no
      @andstatus@loadaverage.org It could perhaps also be possible according to various internet sources to just supply a content-length of 0 and still use chunked transfer. Untested though. But if your library (apache.httpclient?) doesn't let you, I understand your problem.
      Wednesday, 01-Apr-2015 04:35:49 EDT permalink
    • AndStatus@Quitter.no (andstatus)'s status on Thursday, 02-Apr-2015 01:57:08 EDT AndStatus@Quitter.no AndStatus@Quitter.no
      Remote profile options...
      • Hannes
      • MMN-o ✅⃠
      • lnxw48 (Linux Walt)
      • AndStatus
      • Abjectio
      • Alberto
      I succeeded in posting a message with an attachment to http://status.hackerposse.com/url/7013. This required two changes: 1. Set apache HttpPost request to HTTP 1.0 protocol: HttpPost request; ... request.setProtocolVersion(HttpVersion.HTTP_1_0); When creating Multipart post request I'm providing as an input for an attachment not a InputStream (as for HTTP 1.1, which causes chunked…
      Thursday, 02-Apr-2015 01:57:08 EDT permalink

      Attachments

      1. andstatus-20150402-ostatus-tlt7.html
      AndStatus repeated this.
    • MMN-o ✅⃠ (mmn)'s status on Thursday, 02-Apr-2015 04:27:30 EDT MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • AndStatus
      • AndStatus@Quitter.no
      Why not just an automatic fallback? If you get the 411 error, you send it with HTTP/1 @andstatus@loadaverage.org
      Thursday, 02-Apr-2015 04:27:30 EDT permalink
    • MMN-o ✅⃠ (mmn)'s status on Thursday, 02-Apr-2015 04:31:33 EDT MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • AndStatus
      If the _client_ users have to track the _server's_ behaviour it will just cause confusion. The client app should automatically fall back to whatever works so when the server fixes its problem all the client users don't have to configure a setting which they don't even understand the meaning of. @andstatus@loadaverage.org
      Thursday, 02-Apr-2015 04:31:33 EDT permalink
    • AndStatus (andstatus)'s status on Thursday, 02-Apr-2015 09:31:12 EDT AndStatus AndStatus
      Remote profile options...
      • mcscx
      • MMN-o ✅⃠
      • lnxw48 (Linux Walt)
      • Abjectio
      • AndStatus@Quitter.no
      • Alberto
      @mmn@social.umeahackerspace.se As we discussed already regarding "SSL Mode" in AndStatus, indeed, it would be good for a client application to adapt to a server automatically. But as for an "SSL Mode", for the second option: "Use legacy HTTP protocol" - automatic discovery _during normal operation_ of a proper connection option is not practical. Because this will mean substant…
      Thursday, 02-Apr-2015 09:31:12 EDT permalink

      Attachments

      1. andstatus-20150402-ostatus-35fp.html
    • MMN-o ✅⃠ (mmn)'s status on Sunday, 05-Apr-2015 15:00:19 EDT MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • AndStatus@Quitter.no
      Do you have an already compiled APK? I don't feel like setting up a build environment that I've never used before just to get a test build. .)
      Sunday, 05-Apr-2015 15:00:19 EDT permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • Privacy
  • Source
  • Version
  • Contact

Hacker Poesy is a GNU social hub. It runs version 1.1.3-beta3, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Hacker Poesy content and data are available under the Creative Commons Attribution 3.0 license.

Switch to mobile site layout.