Code Monkey home page Code Monkey logo

Comments (3)

MazizEsa avatar MazizEsa commented on August 20, 2024

Found the problem. It seems HttpUrlConnection setDoOutput() set to true is causing the problem. The library works when you set to false.

from httpresponsecache.

candrews avatar candrews commented on August 20, 2024

That doesn't make a lot of sense... from the stack trace you've provided, it appears that your device was trying to reach a server at 192.168.0.101:8888 refused the connection. So that's a network level problem, not in the software here. But, if you provide a bit of sample code which reproduces the problem, I'll be happy to try it and explore it some more.

from httpresponsecache.

MazizEsa avatar MazizEsa commented on August 20, 2024

Hi Craig.
Thanks for the reply.
Yeah you are right. The stack trace does point to network level problem. But
when running the same code with seDoOutput() off, it will read from the
cache (if it's available) instead of trying to access the server. I'm not
sure why though.

Regards.

From: Craig [email protected]
Reply-To: candrews/HttpResponseCache
<reply+i-6196360-6d0dc01d35d6af868685d3190eaf64d0a076942d-1955327@reply.gith
ub.com>
Date: Friday, August 31, 2012 10:52 AM
To: candrews/HttpResponseCache [email protected]
Cc: Ahmad Maziz Esa [email protected]
Subject: Re: [HttpResponseCache] Failed to cache data on 3.0 Honeycomb
(#16)

That doesn't make a lot of sense... from the stack trace you've provided, it
appears that your device was trying to reach a server at 192.168.0.101:8888
refused the connection. So that's a network level problem, not in the
software here. But, if you provide a bit of sample code which reproduces the
problem, I'll be happy to try it and explore it some more.


Reply to this email directly or view it on GitHub
<#16 (comment)
6> .

from httpresponsecache.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.