Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2011

    java.io.IOException : Error in HTTP operation

    My application work with HTTP connection for get data from server.
    Every time I try to open an HttpConnection, I get "java.io.IOException : Error in HTTP operation".
    I checked and found error with command: http.openInputStream();
    When I tried to connect from a basic MIDLET, everything was working fine.

    I tried to follow the threads, but not successful

    Thank you so much!

  2. #2
    Nokia Developer Expert
    Join Date
    Aug 2011

    Re: java.io.IOException : Error in HTTP operation


    Can you please check the example code from Java Developer's Library:


    and see if you still get the error?

    Try also different urls. If you connect via https make sure to use HttpsConnection.

Similar Threads

  1. java.io.IOException: Error in HTTP operation
    By varma_111 in forum Mobile Java Networking & Messaging & Security
    Replies: 19
    Last Post: 2011-10-16, 09:27
  2. java.io.IOException: 7-Error in HTTP operation
    By murugacse4 in forum Mobile Java General
    Replies: 1
    Last Post: 2011-08-22, 20:49
  3. IOException java.io.IOException: 40-Error in HTTP operation
    By @RainierLabs in forum Mobile Java General
    Replies: 2
    Last Post: 2011-05-06, 14:23
  4. Getting java.io.IOException: Error in Http operation
    By techendeavour_abhijeet in forum Mobile Java General
    Replies: 3
    Last Post: 2009-05-29, 07:18

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts