Failure of HTTP post when connecting via SIP

Hi all

I'm doing HTTP post, but I get corrupted in the response data.

This problem only occurs on the device (4.5) and only if you use the SIP configuration

(the problem does not when you use a device via Wifi 4.6)

Here is my code:

HttpConnection connection = (HttpConnection)Connector.open(url + ";deviceside=false");connection.setRequestProperty("x-rim-transcode-content", "*/*");connection.setRequestMethod(HttpConnection.POST);connection.setRequestProperty("Content-Type","multipart/form-data; boundary=@---------------------------123");connection.setRequestProperty(HttpProtocolConstants.HEADER_CONTENT_LENGTH, String.valueOf(data.length));      OutputStream os = connection.openOutputStream();os.write(data);

if (connection.getResponseCode()==HttpConnection.HTTP_OK){   StringBuffer result = new StringBuffer();   byte[] buffer = new byte[2000];   int i = 0;         DataInputStream in = connection.openDataInputStream();

   while ((i = in.read(buffer)) != -1){      result.append(new String(buffer, 0, i,"ISO-8859-1"));   }}

Does someone know what I'm doing wrong here?

(BTW, the system cut the suffix HTTP "ConnectionType =" which should be equal to "mds" + "»' + 'public')

I guess that your assumption that the "transcode-including" in the request header method caused the problem was correct.

I changed the method request header, it shows the HttpConnection API:

...

// Set the request method and headers
c.setRequestMethod(HttpConnection.POST);
c.setRequestProperty("If-Modified-Since","29 Oct 1999 19:43:31 GMT");
c.setRequestProperty("User-Agent","Profile/MIDP-2.0 Configuration/CLDC-1.0");
c.setRequestProperty("Content-Language", "en-US");

...

and the problem has been corrected

Tags: BlackBerry Developers

Similar Questions

  • D1370 "Scan type not the Remote Scan value... "Why this error when connected via USB

    Printer D1370 MF w / usb on win7 x 64 machine connection.

    I understand that when networked, I owe to the printer and manually press , then then before you scan using the software MF Toolbox on my PC and then must go to the printer once the scan is complete and cancel this setting manually before I can print or use other functions. What is total pain BTW...

    However, I also have a MF6530 and can scan directly from MF Toolbox without manually change the setting of the printer when connected via USB.

    So, I would like to connect one of my PC via USB for scanning to eliminate the requirement to manually configure the printer for the mode. But, when I do this I always get the error "type of analysis is not defined for [Remote scanner] on the device" even though I am connected via usb.

    1. I do something wrong when I try to scan via a usb connection that causes the error "remote scanner?

    2. that this has something to do with D1370 being a network printer. My MF6530 isn't a network printer.

    3 is there a manual for the software MF Toolbox? The manual on the installation disc is for 'Send email' and 'Store to Shared Folder. The manuals provided in the box do not address MF Toolbox. There must be a detailed operating manual provided by Canon for this program?

    4. What is the error Code 162,0,0?

    5. where is the complete list of the error codes for MF Toolbox.

    6 help!

    Hi monza.

    I know that this issue is frustrating and I'll be happy to help you.

    The new imageCLASS machines are designed so that you can select an option to scan the machine.  There is no way to set a default scan on this computer option.  You will need to select [Remote scanner] or [computer].  This is to ensure that your device correctly handles the scan project.  For this reason, the ability to program a specific mode is not available.

    Although an extra step to make, an advantage to choose the mode desired for a respective scanning can ensure that poor communication of scanner does not occur if it was programmed to a different mode.

    The 162,0,0, the error indicates the Toolbox does not detect the scanner mode "Remote Scanner.  Scanning is not supported with a connection on the USB hub, as the hubs can cause communication problems, trying to transmit data to the computer.  We recommend a direct connect between the printer and the computer.  Once you have connected the printer directly, perform the following steps and check if you receive the same error 162,0,0:

    1. Check that the MF Toolbox is closed on the computer and press the [SCAN] button on the printer.
    2. Select [Remote scanner], then press [OK].  The display reads, "remote scanner. Waiting in line... ».
    3. On the computer, open the MF Toolbox and select [PDF].
    4. Click the [START] button green on the window [PDF].  The machine begins to deal with the scan.

    Then I recommend to download and install the e-manual for the device to your computer.  It gives very detailed instructions on each of the functions of the machine.  The e-manual should be included in the manual on CD-ROM supplied with the machine.  If you are unable to access it from there, please click the link below to download the electronic Handbook:

    imageCLASS D1370 - Brochures & manuals

    I hope this information is useful for you.  However, if you need more assistance, please contact us at 1-800-OK-CANON (1-800-652-2666).

  • Redirect 302 get only when connected via BES loop

    Hello

    I have a problem when I am connected via BES, I get a server redirection loop (it returns a 302 with the originial URL response in the "location" header field). When it is connected via the BIS-B, WiFi or carrier, the server returns redirects as expected and the app works. However I require a BES connection and him give a priority when they are available.

    Note that I checked the connection returned by Networking.java string is correct (we add ";) (deviceside = false' when BES is to be using).

    Here's the network code I use:

    package [redacted]
    
    /*
     * Networking.java
     *
     * This code is based on the connection code developed by Mike Nelson of AccelGolf.
     * http://blog.accelgolf.com/2009/05/22/blackberry-cross-carrier-and-cross-network-http-connection
     *
     */
    
    import net.rim.device.api.system.CoverageInfo;
    import net.rim.device.api.system.DeviceInfo;
    import net.rim.device.api.system.WLANInfo;
    
    public class Networking
    {
        Networking()
        {
        }
    
    // Whether or not to the simulator should use MDS to connect.
    // By default this should be false, however if you are testing
    // in an environment where MDS will be the expected connection method,
    // set this to true to have the simulator attempt to use MDS.  This variable
    // has no effect on what happens on a real device.
        private static final boolean isMDS = false;
    
        // the timeout
        public static final int TIMEOUT = 30000;
    
        /**
         * Determines what connection type to use and returns the necessary string
         * to use it.
         *
         * @return A string with the connection info
         */
        public static String getConnectionString()
        {
    
            String connectionString = null;
    
            // Simulator behavior is controlled by the USE_MDS_IN_SIMULATOR variable.
            if (DeviceInfo.isSimulator())
            {
                if (isMDS)
                {
                    connectionString = ";ConnectionTimeout=" + TIMEOUT + ";deviceside=false";
                }
                else
                {
                    connectionString = ";ConnectionTimeout=" + TIMEOUT + ";deviceside=true";
                }
            }
    
            // Check for an MDS connection instead (BlackBerry Enterprise Server)
            else if ((CoverageInfo.getCoverageStatus() & CoverageInfo.COVERAGE_MDS) == CoverageInfo.COVERAGE_MDS)
            {
                System.out.println("MDS coverage found");
                connectionString = ";ConnectionTimeout=" + TIMEOUT + ";deviceside=false";
            }
    
            else if ((CoverageInfo.getCoverageStatus() & CoverageInfo.COVERAGE_BIS_B) == CoverageInfo.COVERAGE_BIS_B)
            {
                // otherwise, use the Uid to construct a valid carrier BIS-B request
                System.out.println("Using BIS");
                connectionString = ";ConnectionTimeout=" + TIMEOUT + ";deviceside=false;ConnectionType=[redacted]";
            }
    
            // Wifi is the preferred transmission method
            else if (WLANInfo.getWLANState() == WLANInfo.WLAN_STATE_CONNECTED)
            {
                System.out.println("Using WIFI");
                connectionString = ";interface=wifi";
            }
    
            // Is the carrier network the only way to connect?
            else if ((CoverageInfo.getCoverageStatus() & CoverageInfo.COVERAGE_DIRECT) == CoverageInfo.COVERAGE_DIRECT)
            {
    
                // Has carrier coverage, but not BIBS.  So use the carrier's TCP network
                System.out.println("Device is connected Direct");
                connectionString = ";ConnectionTimeout=" + TIMEOUT + ";deviceside=true";
    
            }
    
            // If there is no connection available abort to avoid bugging the user unnecssarily.
            else if (CoverageInfo.getCoverageStatus() == CoverageInfo.COVERAGE_NONE)
            {
                System.out.println("There is no available connection.");
            }
    
            // In theory, all bases are covered so this shouldn't be reachable.
            else
            {
                System.out.println("no other options found, assuming device.");
                connectionString = ";ConnectionTimeout=" + TIMEOUT + ";deviceside=true";
            }
    
            return connectionString;
        }
    }
    

    Here is sendRequest managed the connection method and the redirection:

    public HttpResponse sendRequest(HttpRequest request)
        {
            String url = request.getUrl();
            if (url == null)
            {
                HttpResponse result = new HttpResponse();
                result.responseCode = 404;
                result.responseMessage = "Not Found";
                return result;
            }
    
            ConnectionWrapper cw = connectionWrapperForRequest(request);
            if (cw == null)
            {
                return null;
            }
    
            boolean compressionEnabled = !request.disableCompression() && COMPRESSION_ENABLED;
    
            HttpResponse result = new HttpResponse();
            try
            {
                String finalURL = url.trim() + Networking.getConnectionString();
                cw.connection = (HttpConnection) Connector.open(finalURL, Connector.READ_WRITE, false);
                System.out.println("Connection string: " + Networking.getConnectionString());
                System.out.println("Full connec.  URL: " + finalURL);
    
                if (cw.connection == null)
                {
                    result.errorMessage = "Could not open a network connection.";
                    result.completedWithError = true;
                    return result;
                }
    
                cw.connection.setRequestMethod(request.getHttpMethod());
    
                if (compressionEnabled)
                {
                    cw.connection.setRequestProperty("Accept-Encoding", "gzip");
                }
    
                cw.connection.setRequestProperty("User-Agent",
                        "" + DeviceInfo.getManufacturerName() + "/" + DeviceInfo.getDeviceName() + "/" + Config.getVersionNumber());
                if (request.username() != null)
                {
                    cw.connection.setRequestProperty("Authorization", "Basic " + Utils.base64Encode(request.username() + ":" + request.password()));
                }
    
                // set this header so BES servers will not change the content of the headers
                cw.connection.setRequestProperty("x-rim-transcode-content", "none");
    
                //add cookies
                if (HttpCookieJar.getInstance().cookieCount() > 0)
                {
                    cw.connection.setRequestProperty("Cookie", HttpCookieJar.getInstance().getCookiesAsString());
                }
    
                //pull request headers from HttpRequest
    
                Hashtable headers = request.getHeaders();
                for (Enumeration e = headers.keys(); e.hasMoreElements();)
                {
                    String key = (String) e.nextElement();
                    cw.connection.setRequestProperty(key, (String) headers.get(key));
                }
    
                byte[] upstreamBytes = request.requestBytes();
                if (upstreamBytes != null && upstreamBytes.length > 0)
                {
                    Logger.getLogger().log(new String(upstreamBytes));
                    cw.connection.setRequestProperty(HttpProtocolConstants.HEADER_CONTENT_TYPE,
                            HttpProtocolConstants.CONTENT_TYPE_APPLICATION_X_WWW_FORM_URLENCODED);
                    cw.connection.setRequestProperty(HttpProtocolConstants.HEADER_CONTENT_LENGTH, String.valueOf(upstreamBytes.length));
                    cw.outputStream = cw.connection.openOutputStream();
                    cw.outputStream.write(upstreamBytes);
                }
    
                Logger.getLogger().log("Get response");
    
                result.responseCode = cw.connection.getResponseCode();
                result.responseMessage = cw.connection.getResponseMessage();
    
                Logger.getLogger().log("Status Code: " + result.responseCode);
                Logger.getLogger().log("Status Message: " + result.responseMessage);
    
                //suck out the cookies here
                int fieldNo = 0;
                String headerField;
                while ((headerField = cw.connection.getHeaderField(fieldNo)) != null)
                {
                    if (cw.connection.getHeaderFieldKey(fieldNo).equals("Set-Cookie"))
                    {
                        HttpCookieJar.getInstance().setCookie(headerField);
                    }
                    fieldNo++;
                }
    
                System.out.println("get redirect");
    
                //get redirect location
                String location;
                if ((location = cw.connection.getHeaderField("Location")) != null)
                {
                    if (location == url.trim())
                    {
                        Logger.getLogger().log("Redirect loop");
                    }
                    Logger.getLogger().log("Redirect: " + location);
                    result.redirectLocation = location.trim();
                }
                else
                    result.redirectLocation = null;
    
                byte[] buffer = new byte[HTTP_BUFFER_SIZE];
                int count;
    
                System.out.println("compression");
    
                cw.inputStream = cw.connection.openInputStream();
                if (compressionEnabled)
                {
                    String encoding = cw.connection.getEncoding();
                    if ("gzip".equalsIgnoreCase(encoding))
                    {
                        cw.inputStream = new GZIPInputStream(cw.inputStream);
                    }
                }
    
                cw.inputStream = new DataInputStream(cw.inputStream);
    
                System.out.println("output stream");
    
                ByteArrayOutputStream out = new ByteArrayOutputStream();
                try
                {
                    while ((count = cw.inputStream.read(buffer)) >= 0)
                    {
                        out.write(buffer, 0, count);
                    }
                    result.bytes = out.toByteArray();
                }
                finally
                {
                    out.close();
                }
                cw.close();
                Logger.getLogger().log("Response complete");
            }
            catch (IOException e)
            {
                result.errorMessage = e.getMessage();
                result.completedWithError = true;
                Logger.getLogger().log("ERROR!:" + e.getMessage());
            }
            finally
            {
                removeConnectionWrapper(cw);
            }
            return result;
        }
    

    Here's the whole HttpService.java for the context of the SendRequest method above:

    //#preprocess
    
    //package
    //imports
    
    public class HttpService
    {
        private static HttpService _instance;
    
        private static final boolean COMPRESSION_ENABLED = false;
        private static final int HTTP_BUFFER_SIZE = 1024;
    
        public static synchronized HttpService instance()
        {
            if (_instance == null)
            {
                _instance = new HttpService();
            }
            return _instance;
        }
    
        private WorkQueue _requestQueue = new WorkQueue(1024, 4);
        private Hashtable _connections = new Hashtable(10);
    
        private HttpService()
        {
            // singleton
        }
    
        private ConnectionWrapper connectionWrapperForRequest(HttpRequest request)
        {
            ConnectionWrapper cw = null;
            synchronized (request)
            {
                if (!request.cancelled())
                {
                    cw = new ConnectionWrapper(request);
                    synchronized (_connections)
                    {
                        _connections.put(request, cw);
                    }
                }
            }
            return cw;
        }
    
        private void removeConnectionWrapper(ConnectionWrapper cw)
        {
            synchronized (_connections)
            {
                _connections.remove(cw.request);
            }
            cw.close();
        }
    
        public void cancelRequest(HttpRequest request)
        {
            ConnectionWrapper cw = null;
            synchronized (request)
            {
                synchronized (_connections)
                {
                    cw = (ConnectionWrapper) _connections.remove(request);
                }
                request.setCancelled();
            }
            if (cw != null)
            {
                cw.close();
            }
        }
    
        public void executeRequest(final HttpRequest request)
        {
            _requestQueue.addWorkItem(new Runnable()
            {
                public void run()
                {
                    HttpResponse response = sendRequest(request);
                    if (!request.cancelled() && response != null)
                    {
                        request.completeRequest(response);
                    }
                };
            });
        }
    
        public HttpResponse sendRequest(HttpRequest request)
        {
            String url = request.getUrl();
            if (url == null)
            {
                HttpResponse result = new HttpResponse();
                result.responseCode = 404;
                result.responseMessage = "Not Found";
                return result;
            }
    
            ConnectionWrapper cw = connectionWrapperForRequest(request);
            if (cw == null)
            {
                return null;
            }
    
            boolean compressionEnabled = !request.disableCompression() && COMPRESSION_ENABLED;
    
            HttpResponse result = new HttpResponse();
            try
            {
                String finalURL = url.trim() + Networking.getConnectionString();
                cw.connection = (HttpConnection) Connector.open(finalURL, Connector.READ_WRITE, false);
                System.out.println("Connection string: " + Networking.getConnectionString());
                System.out.println("Full connec.  URL: " + finalURL);
    
                if (cw.connection == null)
                {
                    result.errorMessage = "Could not open a network connection.";
                    result.completedWithError = true;
                    return result;
                }
    
                cw.connection.setRequestMethod(request.getHttpMethod());
    
                if (compressionEnabled)
                {
                    cw.connection.setRequestProperty("Accept-Encoding", "gzip");
                }
    
                cw.connection.setRequestProperty("User-Agent",
                        "" + DeviceInfo.getManufacturerName() + "/" + DeviceInfo.getDeviceName() + "/" + Config.getVersionNumber());
                if (request.username() != null)
                {
                    cw.connection.setRequestProperty("Authorization", "Basic " + Utils.base64Encode(request.username() + ":" + request.password()));
                }
    
                // set this header so BES servers will not change the content of the headers
                cw.connection.setRequestProperty("x-rim-transcode-content", "none");
    
                //add cookies
                if (HttpCookieJar.getInstance().cookieCount() > 0)
                {
                    cw.connection.setRequestProperty("Cookie", HttpCookieJar.getInstance().getCookiesAsString());
                }
    
                //pull request headers from HttpRequest
    
                Hashtable headers = request.getHeaders();
                for (Enumeration e = headers.keys(); e.hasMoreElements();)
                {
                    String key = (String) e.nextElement();
                    cw.connection.setRequestProperty(key, (String) headers.get(key));
                }
    
                byte[] upstreamBytes = request.requestBytes();
                if (upstreamBytes != null && upstreamBytes.length > 0)
                {
                    Logger.getLogger().log(new String(upstreamBytes));
                    cw.connection.setRequestProperty(HttpProtocolConstants.HEADER_CONTENT_TYPE,
                            HttpProtocolConstants.CONTENT_TYPE_APPLICATION_X_WWW_FORM_URLENCODED);
                    cw.connection.setRequestProperty(HttpProtocolConstants.HEADER_CONTENT_LENGTH, String.valueOf(upstreamBytes.length));
                    cw.outputStream = cw.connection.openOutputStream();
                    cw.outputStream.write(upstreamBytes);
                }
    
                Logger.getLogger().log("Get response");
    
                result.responseCode = cw.connection.getResponseCode();
                result.responseMessage = cw.connection.getResponseMessage();
    
                Logger.getLogger().log("Status Code: " + result.responseCode);
                Logger.getLogger().log("Status Message: " + result.responseMessage);
    
                //suck out the cookies here
                int fieldNo = 0;
                String headerField;
                while ((headerField = cw.connection.getHeaderField(fieldNo)) != null)
                {
                    if (cw.connection.getHeaderFieldKey(fieldNo).equals("Set-Cookie"))
                    {
                        HttpCookieJar.getInstance().setCookie(headerField);
                    }
                    fieldNo++;
                }
    
                System.out.println("get redirect");
    
                //get redirect location
                String location;
                if ((location = cw.connection.getHeaderField("Location")) != null)
                {
                    if (location == url.trim())
                    {
                        Logger.getLogger().log("Redirect loop");
                    }
                    Logger.getLogger().log("Redirect: " + location);
                    result.redirectLocation = location.trim();
                }
    
                byte[] buffer = new byte[HTTP_BUFFER_SIZE];
                int count;
    
                System.out.println("compression");
    
                cw.inputStream = cw.connection.openInputStream();
                if (compressionEnabled)
                {
                    String encoding = cw.connection.getEncoding();
                    if ("gzip".equalsIgnoreCase(encoding))
                    {
                        cw.inputStream = new GZIPInputStream(cw.inputStream);
                    }
                }
    
                cw.inputStream = new DataInputStream(cw.inputStream);
    
                System.out.println("output stream");
    
                ByteArrayOutputStream out = new ByteArrayOutputStream();
                try
                {
                    while ((count = cw.inputStream.read(buffer)) >= 0)
                    {
                        out.write(buffer, 0, count);
                    }
                    result.bytes = out.toByteArray();
                }
                finally
                {
                    out.close();
                }
                cw.close();
                Logger.getLogger().log("Response complete");
            }
            catch (IOException e)
            {
                result.errorMessage = e.getMessage();
                result.completedWithError = true;
                Logger.getLogger().log("ERROR!:" + e.getMessage());
            }
            finally
            {
                removeConnectionWrapper(cw);
            }
            return result;
        }
    
        private static class ConnectionWrapper
        {
            final HttpRequest request;
            InputStream inputStream = null;
            OutputStream outputStream = null;
            HttpConnection connection = null;
    
            public ConnectionWrapper(HttpRequest request)
            {
                this.request = request;
            }
    
            public void close()
            {
                try
                {
                    if (outputStream != null)
                        outputStream.close();
                }
                catch (Exception e)
                {
                }
                try
                {
                    if (inputStream != null)
                        inputStream.close();
                }
                catch (Exception e)
                {
                }
                try
                {
                    if (connection != null)
                        connection.close();
                }
                catch (Exception e)
                {
                }
            }
        }
    }
    

    Sorry for the amount of code.

    I had our BES admin visit problematic page via a browser on the Server BES itself.

    Running, the Web server was an update of AJAX-style page that informs the user that they had no access to that particular content. Programmatically, see us all is "the page has been moved here" - but in a browser, it's a different story.

    Thanks again Peter for your insight!

  • SP2309W won't go into energy saving mode when connected via HDMI

    Hello

    I just got 2 SP2309W, and I love them, the only problem I encounter is just one of them (the one connected via HDMI) is not in power saving mode, even when I turn off my laptop. Is anyone else having the same problem?

    I have connected the monitor via VGA and DVI and the energy saver works fine but it does not work with HDMI

    I have a XPS 1530, Intel Core 2 Duo processor T9300with a 256 MB NVIDIA GeForce 8600 M GT video card.

    My XPS has a HDMI and VGA input so I have a monitor connected via VGA and the other via HDMI and even when I go around, always one connected via HDMI is not in the standby power mode even if the laptop is turned off (or when he goes to sleep).

    Thanks for your help,

    Ivan

    We left three SP2309Ws on all night to disconnect the HDMI cable and in STFC mode and came this morning to see the message from MONIQUE always there. They all didn't say, 'no HDMI cable. This is normal. In fact, we have tested on several other models of monitors and they all do the same thing.

  • MCE IR remote stops working when connected via Remote Desktop Win7

    I recently added an IR remote for my computer to Windows 7 (32 bit Ultimate) that I use mainly for playback of mp3. The remote control is only an AVS Gear MG-IR01BK Windows Vista/Window7 MCE Remote control infrared works by attached USB "infrared transceiver eHome.  When I physically connect the machine IR remote works perfectly; as soon as I connect via remote IR Office stops responding.  I had to configure the Audio remotely to RDP to get this to work correctly, but I can't find any setting that controls in response to the infrared remote control.  My quest for answers has turned up nothing so far, someone has suggested?

    Thanks for the suggestion.  At thegreenbutton.com behavior that I have reported was confirmed by others (the MCE Remote control is a HID device, so is related to the "console"). VNC is a viable alternative to remote desktop. I ended up using TightVNC (RealVNC purchase required for support of Windows 7), and the infrared remote control continues to work when I access the machine via the VNC viewer.   I want to remote desktop could provide this capability, but at least I have a working with VNC solution.

  • BlackBerry Smartphones phone hangs when connected via USB

    Hi I have a Pearl 8120. There is a problem where the phone will break if I connect it to some PC via USB.

    When I say that it blocks the screen turns off and the red light stays on. To recover from this point, I have to unplug and reinsert the battery.

    But for example if I connect it while the PC is not started in Windows so it will not crash.

    When I connect the phone via a charger cable is also very good, and never, it hangs on my own PC at home.

    Is there a way to fix this?

    Hi, it seems that too much effort for reload software blackberry at this stage.

    Although I solved the problem by changing the option "Auto enable mass Storage Mode when connected" guest.

  • R7000: UPNP Renderer not visible when connected via WiFi

    Hi all

    I use the R7000 as a router and I have the problem that my UPNP renderer (Denon DNP-F109) is not visible if connected via WiFi (via Ethernet, everything works very well).

    Can someone give me a clue what to do here?

    I went on DHCP and UPNP in the configuration. All UPNP (Server/converter/controller) devices are in the same 192.168. * network.

    Thank you very much

    Stefan

    Hello Stefan,

    Please perform a reset of the device and check again if still the same problem.

  • To connect to the PC - tab 8W - not seen when connected via USB - Help!

    My new 8W tab is not seen by the PC connected via USB. Both are Windows 10. Help!

    Out of curiosity I will pick up an OTG cable and let you know the result!

  • Unable to determine the correct Content Type or length when connecting via HTTP

    Right now I'm developing a streaming audio application.

    And I have the resources and the sample apps u.

    Then when I open a connection and I print the content type of the page that contains the audio file

    It shows a text/plain type.

    The length is also displayed but bad as: 24.

    So basically it is not consider as an audio file.

    Next when I try a random url like http://www.google.com

    The length is always-1. (impossible to determine the length)

    The content type is correct.

    And when I pass some invalid/non-existent url, it gives a number at random. like 29 or 39.

    Suggestions/ideas?

    Thank you

    http 413 error. Take a look at this thread:

    http://supportforums.BlackBerry.com/T5/Java-development/increase-MDS-CS-limit-on-http-download-size/...

  • Satellite Pro A210: Black/White Photo on television when connecting via S-video

    Connect my TV to my laptop using a double at the end lead/SVIDEO (then an adapter SCART at the end of the Tv) everything is OK, but I don't get any color on television.

    I use the Control Center ATI catylist to clone the pc on the TV.
    I have all the settings for brill ect and looks of size but i ' ts only in black and white

    Ive noticed in some forum posts that you can make your own but have no success in finding a way (is it true)

    Anyone who wants to help me please

    Cordially Arron

    Why put on the same topic in two different threads?
    I found this first:
    http://forums.computers.Toshiba-Europe.com/forums/message.jspa?MessageID=128689#128689

    I think you should follow the first thread to avoid some confusion

  • I can't get sound through tv when connected via HDMI

    I have a HDX 18 and I connected it to my Olevia via the HDMI. I hear no sound on the tv. I used to be able to. What settings should I and how >

    Hey you probably already found a solution to your problem because you posted this comment a long time ago. But incase you don't have. Here's the answer to your problem. I hope it helps.

    1. So that the audio works fine on HDTV, the device must be configured as peripheral by default in the computer Device Manager. To do:
      1. In Windows® XP:
        1. Note! Before you configure the audio device by default, the following Microsoft driver must first be installed: Universal Audio Architecture (UAA) High Definition Audio class driver
        2. After installing the UAA driver, click Start
        3. Select Control Panel
        4. Select sounds, speech and Audio devices
        5. Select sounds and Audio devices
        6. Click the Audio tab
        7. In the first article entitled audio playback, select the device you want to audio out of
        8. Click OK to save your settings
      2. In Windows Vista®:
        1. Right click on the "speaker" icon
        2. Select the device of reading options
        3. Right click on the device you want the audio to the output of
        4. Set as audio device as the default
        5. Click OK to save your settings
      3. In Windows® 7®:
        1. Go to the Start button
        2. Select Control Panel
        3. Select the material and audio
        4. Select sound
        5. Click the Read tab
        6. Select the device you want to audio out of
        7. Click on set as default
        8. Click OK to save your settings

  • Computer does not recognize the phone when connected via USB

    original title: usb recogonozation

    I want to connect my phone to my pc via the usb port but its upcoming Dungeon with an error stating that my device has mafunctioned or he stopped window. can someone pls tell me what to do? Thank you very much

    As a first step, check for compatibility with Windows 7 at http://www.microsoft.com/windows/compatibility/windows-7/en-gb/Default.aspx and on the site of the manufacturer of phone support.

  • can not print when connected via the Explorer 9.0

    I have a repeated error whenever I try to print something when you are connected to internet through "Explorer 9.0. The error causes a window pop up offering two choices to try again or close the program (which disconnects you). I encounter this problem on my desktop in windows vista.

    The details of the error are:

    APPCRASH

    iexpiore.exe 9.0.8080.16413

    404ceab

    kernel132.dll

    6.0.6002.18005

    49e037dd

    eo6073630003fbae

    OS 6.0.6002.2.2.0.768.3

    Loc id 1033

    d68e

    etc, etc...

    Suggestions:

    1 repost to IE 9 forum:
    http://answers.Microsoft.com/en-us/IE/Forum/ie9beta?page=1&tab=no
    Note: for now he insists IE9 beta on the forum. Right after your question here.

    2 uninstall IE9 and the Franck will return itself automatically return your previous version of IE.
    (Assuming you are using Vista) Start button > in the search box, type programs and features > press enter > column on the left, click View Installed Updates > wait for it to load > scroll down the path until you find Windows Internet Explorer 9 > right-click on it, click on uninstall.

  • No sound on TV when connected via HDMI

    I guess the title says it all. When I connect my laptop via HDMI to my TV, there is no noise coming from the TV, I have to listen through the laptop speakers.

    My model # is dv6 - 2143ca

    My operating system is Windows 7 - was NOT an upgrade of Vista

    64-bit operating system

    Help, please! Thanks in advance!

    Hello

    Disconnect the laptop from the PC.  Return to the acoustic window.  Left click the ATI HDMI output once to highlight then right click and set it as the default device.  Click on apply to apply the change, close the window and try again to establish the connection.

    Kind regards

    DP - K

  • New smartphone BlackBerry storm not no projection in 'My computer' as a disc as my old Storm was when connected via USB cable

    I got a new storm that I see in BB Desktop Manager and see it of identification number and can see the contents of the 8 MB card, but I do not see the storm in my computer as a drive, as I have for my old storm when I connect it via USB cable.

    I used to connect my old Storm and autoplay would jump to the top and I see map of the storm and the internal memory as two disks support.  Nothing shows here now...

    I checked to make sure that autoplay is always set to "always ask" when my phone is connected.  I double checked to make sure that the new storm was set ON media, NULL encryption Support, ON Media transfer, Mass storage support, Auto enable Mass Storage when logged ON, etc.

    The card is fine, I've recorded videos, photos and play music off it all the time and I can transfer items to using very slow BB Media Manager but I prefer to use the quick method when it is recognized as a drive.

    Why it used to work on the old storm, but not on this new?

    I read on some other fourms when you think you've found a new replacement Storm you get really a refurbished and for some reason that those who have a whole mass storage setting where the mode is disabled?

    Storm 9530

    v 4.7.0.148 (4.0.0.181 platform)

    Thanks in advance for any advice I can get!

    Judson

    Before I had a chance to even try your recommendation, I found a link on these forums for this file that I mentioned.  I'll be darn it worked... now my BB appears in my computer under two drives, and Media Sync works!  Problem solved!

    It won't let me put the hyperlink to the forum page but a search for ' Blackberry Media Sync could not connect to your BlackBerry smartphone.

    So who has a link to the forums on pinstack.com and you have to register with them to get the file, and then extract the RAR with Winzip file and in this file, I ran the file BB"storage"Activation with the connected BB again, which opens a DOS command prompt, you hit then any key to continue, then unplug. , wait that the BB restart, then Viola... it works again!

    Judson

Maybe you are looking for

  • Serial number error

    Hello. I just bought my iphone 6. When I tried to put serial number on the website of the iphone, he said "this is the serial number of the product that has been replaced" what does it means? I worry a lot. Thank you

  • VLOOKUP

    I think I need to use the VLOOKUP function but can't quite escape. I want to check the value of B2 in the first table and match it to the same value in column B of table 1. If the value is I want to return the corresponding value in column C of table

  • 2D, legend, chart error bar XY, Multi draw help? Please modify the VI

    Please READ THE ENTIRE POST and HELP! Please help with this VI and make an instructive example for me and other novices like me who come through this typical example. A typical problem of tracing data is the following: on the SAME plot (y axis = Ampl

  • Troubleshooting of unprovoked errors "this file has no related... program. ».

    A new dialog box "this file has no program associated with it for performing this action...". "appears every 10 to 60 seconds without reason (without me trying to open a file). This happened for the periods before and stop then (with no obvious cause

  • HO TO REMOVE THE HDD OF THE INSPIRON 6000

    Can anyone tell how to remove my hard drive from my inspiron 6000 self-inflating cushion detailed please