Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #23174

Re: JAVA Networking: Code with getInputStream() was compatible with Java 1.6, is but anymore with 1.7

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: JAVA Networking: Code with getInputStream() was compatible with Java 1.6, is but anymore with 1.7
Organization Canadian Mind Products
Message-ID <g1pjl85snvb42d73816iff3bfnmn0m85ht@4ax.com> (permalink)
References <042eb983-7952-46e4-8002-2eb5c8ff9323@googlegroups.com> <5bd3b330-86de-461e-8e4d-59c464c77a1a@googlegroups.com>
Date 2013-04-01 12:50 -0700

Show all headers | View raw


On Sun, 31 Mar 2013 01:37:20 -0700 (PDT), marcos.barandun@gmail.com
wrote, quoted or indirectly quoted someone who said :

>Status variable (int status =3D connection.getResponseCode()) is always -1 =

-1 is what happens when you get no response whatsoever. Try cranking
up the timeout. Retry. Check that DNS is working. Try probe using IP.
Make sure this is not redirected to https:  If so anything not kosher
with cert or list of CAs in cacerts will derail you.
-- 
Roedy Green Canadian Mind Products http://mindprod.com
Motors make noise, and that tells you about the feelings and attitudes 
that went into it. Something was more important than sensory pleasure -- 
nobody would invent a chair or dish that smelled bad or that made horrible 
noises -- why were motors invented noisy? How could they possibly be 
considered complete or successful inventions with this glaring defect?
Unless, of course, the aggressive, hostile, assaultive sound actually served
to express some impulse of the owner. 
~ Philip Slater (born: 1927 age: 85)
The Wayward Gate: Science and the Supernatural

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

JAVA Networking: Code with getInputStream() was compatible with Java 1.6, is but anymore with 1.7 musart <marcos.barandun@gmail.com> - 2013-03-30 14:22 -0700
  Re: JAVA Networking: Code with getInputStream() was compatible with Java 1.6, is but anymore with 1.7 Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-03-30 19:38 -0700
  Re: JAVA Networking: Code with getInputStream() was compatible with Java 1.6, is but anymore with 1.7 marcos.barandun@gmail.com - 2013-03-31 01:37 -0700
    Re: JAVA Networking: Code with getInputStream() was compatible with Java 1.6, is but anymore with 1.7 Roedy Green <see_website@mindprod.com.invalid> - 2013-04-01 12:50 -0700
  Re: JAVA Networking: Code with getInputStream() was compatible with Java 1.6, is but anymore with 1.7 Kevin McMurtrie <mcmurtrie@pixelmemory.us> - 2013-03-31 09:57 -0700
  Re: JAVA Networking: Code with getInputStream() was compatible with Java 1.6, is but anymore with 1.7 marcos.barandun@gmail.com - 2013-03-31 11:40 -0700
  Re: JAVA Networking: Code with getInputStream() was compatible with Java 1.6, is but anymore with 1.7 Steven Simpson <ss@domain.invalid> - 2013-03-31 00:00 +0000
    Re: JAVA Networking: Code with getInputStream() was compatible with Java 1.6, is but anymore with 1.7 Steven Simpson <ss@domain.invalid> - 2013-03-31 09:27 +0100
  Re: JAVA Networking: Code with getInputStream() was compatible with Java 1.6, is but anymore with 1.7 musart <marcos.barandun@gmail.com> - 2013-04-02 14:08 -0700
    Re: JAVA Networking: Code with getInputStream() was compatible with Java 1.6, is but anymore with 1.7 Steven Simpson <ss@domain.invalid> - 2013-04-03 09:05 +0100
  Re: JAVA Networking: Code with getInputStream() was compatible with Java 1.6, is but anymore with 1.7 jorge <negrin1969@gmail.com> - 2013-04-05 09:11 -0700

csiph-web