Http uri inspect help

I am trying to block access to urls that include a certain file name as part of an exploit. Here is a sample URL:
http://www.someplace.com/index.php?exec%20udp.pl
What is usually common in the exploits I am looking to block is the udp.pl. Here is what I have so far, but the regex, even though it tests good so far in ASDM does not fire.
regex udp.pl "udp"
class-map inspection_default
match default-inspection-traffic
class-map outside-class
match port tcp eq www
policy-map type inspect dns migrated_dns_map_1
parameters
message-length maximum 512
policy-map global_policy
class inspection_default
inspect dns migrated_dns_map_1
inspect esmtp
inspect ftp strict
policy-map type inspect http http_inspect
parameters
protocol-violation action drop-connection log
match request uri regex udp.pl
drop-connection log
policy-map outside-policy
class outside-class
inspect http http_inspect
service-policy global_policy global
service-policy outside-policy interface outside
fw1# show service-policy
Global policy:
Service-policy: global_policy
Class-map: inspection_default
Inspect: dns migrated_dns_map_1, packet 122579, drop 37, reset-drop 0
Inspect: esmtp _default_esmtp_map, packet 65958, drop 0, reset-drop 0
Inspect: ftp strict, packet 31696, drop 50, reset-drop 43
Interface outside:
Service-policy: outside-policy
Class-map: outside-class
Inspect: http http_inspect, packet 716, drop 0, reset-drop 0

HTTP Inspection and URL Inspection are completely independent services. Enhanced HTTP inspection is configured via an 'http-map', which is then applied to the 'inspect htttp' statement.Both URL Filtering (via Websense and N2H2), and Java/ActiveX filtering are independant of enabling/disabling 'inspect http'.
Check this bug details: CSCsd80188
try this configuration guide for HTTP inspection.
http://www.cisco.com/en/US/docs/security/asa/asa70/configuration/guide/inspect.html#wp1144258

Similar Messages

  • Inbound Allow ACL when http headers inspection is true.

    Hello,
    I have a request to make the following work on an asa 5515 deployment and I'm receiving a lot of conflicting information about how to implement the solution.
    I have an external provider that requires access to an internal non-ssl webpage. They are unable to provide IP address details to lock down the ACL. They have asked if we can allow access based on http-header-inspection within the request.
    I believe this is possible using a class map to run the regex search for whatever he header string might be some form of AND rule such as;
    (In english)
    if outside->inside ACL ANY to HOST TCP 80 is true
    if classmap regex is true
    Then allow access.
    Can you advise what type of technology would be required to get this working? If it is possible with the current 5515 technology what would you advise the answer is (or can you point me in the right direction to read the answer)?

    I will give this another test as soon as I can, I'm not sure I need to make the class CDN_REGEX_MAP, I think I could simply place the 'match not request header regex CDNHEADER' in the inspect policy. I will let you know how it goes. For sake of completeness I've included my code.
    Thanks,
    regex CDNHEADER "someheader"
    class-map type regex match-any CDN_REGEX_MAP
               match regex CDNHEADER
    class-map type inspect http match-all DENYCDNCLASS
               match not request header regex class CDN_REGEX_MAP
    policy-map type inspect http CDNPOLICYMAP
               class DENYCDNCLASS
    reset log
    access-list OUTSIDE_MPF extended permit tcp any 1.1.1.1 eq 80
    class-map OUTSIDEMPF-CMAP
               match access-list OUTSIDE_MPF
    policy-map outside_policy
    class OUTSIDEMPF-CMAP
    inspect http CDNPOLICYMAP
    service-policy outside_policy interface outside

  • HTTP keepalive healthcheck help!!!

    hi all,
    i have configure a global keepalive to check a uri into a server using http and port 81 as shown:
    keepalive PreBancs1Keepalive
    type http
    port 81
    method get
    uri "HealthPageTest.aspx"
    ip address 10.0.207.71
    maxfailure 2
    active
    as the default frequency time is 5 secondes, im still seeing the server down, but when i increased the freq to 10 it came up,
    During analysis of keepalive get requests from the content switch to the Health Check page, it would appear that with a keepalive frequency of 5 seconds, the content switch automatically sends a TCP reset 3 seconds after initiating the HTTP keepalive. With a keepalive frequency of 10 seconds the content switch automatically sends a TCP reset 8 seconds after initiating the HTTP keepalive. Is this a configurable value (i.e. the 3 seconds or 8 seconds)? If not what exactly is the algorithm ?
    please help me in this issue...
    thanks in advance,
    hasan odeh

    hasan,
    This is normal behavior:
    Unresponsive KALs are failed 2 sec before the next KAL is scheduled.
    After 1 failure the service is marked as Dying
    The Retry KAL timer begins once a normal KAL has failed.
    Description:
    Your problem lies in the fact that when a kal is sent it takes longer than 5 or 10 seconds for your server to process the request and return the result. The kal must be processed before another one is sent out so it close the request off 2 seconds before the next kal.
    Solution:
    Increase the timer 5/10 seconds is to slow, 15/30/60 seconds is far better. Also keep in mind that you could change the get to a head. This will lead to a quicker response from the server.
    Remark:
    Watch out since you are using a get the page will be hashed and compared, since you are using aspx pages this could lead to failures.
    Hope this helped you out,
    Dimitri
    If you found this post useful don't forget to rate it

  • Can Edge Inspect help debug a compiled IPA?

    Hi Everyone,
    I am currently evaluating Edge Inspect (and other related tools from Adobe) and we have hit an issue which we are not sure how to resolve.
    The HTML/JS/CSS behaves greatly when running through a browser. However when we compile the file into PhoneGap Build, the resultant IPA file behaves differently. We are getting an error which we do not get when running through a browser. Is there a way of using Edge Inspect to debug the compiled IPA file?
    If not, does Adobe/PhoneGap have any tools that can assist with this?
    Regards,
    Alon

    Inspect is really geared toward web sites and web apps, rather than compiled mobile apps.
    This article has some helpful information about debugging PhoneGap apps: https://github.com/phonegap/phonegap/wiki/Debugging-in-PhoneGap
    In particular, I recommend trying out using debug.phonegap.com (or running a local copy of weinre).
    iWebInspector may also prove useful for you, although I haven't personally used it. (As long as you are seeing the issue in the iOS emulator, and not exclusively on physical iOS devices, this should work for you.)
    If you're building your apps using PhoneGap Build (rather than a local install of PhoneGap), see this page for some debug instructions: https://build.phonegap.com/docs/phonegap-debug
    If you have other questions about PhoneGap, I recommend asking questions on one of these communities:
    http://community.phonegap.com/nitobi/products/nitobi_phonegap_build
    http://groups.google.com/group/phonegap

  • Http webrequest with https uri is not working in windows phone 8.1

    I am building a Windows Phone application in which the uat environment was working fine with http url,
    But the production url is https, then the applictaion is not able to get the response from http web request method. Please help me on the same.
    Cynthia Mareia

    Any errors returned in response?
    http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8

  • HTTP Error 404 - Help

    When trying to run interMedias clipboard I receive the following error "HTTP Error 404"
    "The Web server cannot find the file or script asked for"
    I have checked the installation and it seems that the dll will not load.
    Any help on this will be greatly appreciated.
    Thank you
    null

    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  12 | 11, 10 | 9,8,7
    Lightroom:  5.6| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • HTTP SERVER need help.

    I have a http server problem.
    my platform win2k adv server
    w or w/o iis
    w or w/o active directory
    I installed the oracle 902 but the http quite ?????
    I shut down the iis services the http server doesn't take over. in oracle817 the http index page will just pop up.
    but in 9i it doesn't.
    some other thing i noticed is during the installation sometime the agent service right before the starting http services or just after the scott database creating done. it sometime when through sometime doesn't.
    any help?
    I basically just want to install apache and use apache to launch my form or other html page.

    Thank you so much ejp, I have been reading books for the past week trying to figure this out, had no luck.
    I'm just not sure about a couple of things, if you could clearify it for me.
    At the moment, I am doing the processes in the following order
    read request - main method
    send reply - HTTPclass
    close connection - HTTPclass
    I think you are telling me to change when I close the connection, ie the HTTPclass should remain in a while loop for a while (unless the keep-alive is not set).. I did try that, but everytime a new request would come in, the main method would make a new HTTPclass object and service it, rather then the old one servicing it.
    I dont quite understand this part
    while (read request != EOF)what does end of file have to do with it??
    sorry, these are probably easy questions, i'm just really confused
    Thanks again,
    Hakim

  • Https Access for Help

    Hey we are using Robo help 9
    We have the web application configured to use https over Load Balancer.
    If we use http help comes upo fine but when we move to https only blank pages appear.
    We are using the WebHelp Pro option.
    Any help is greatly appericiated.
    Thanks

    Welcome to our community
    So, are you using the RoboHelp Server application on your Web Server? If not, the "Pro" option does you no good whatsoever and you should avoid it.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • HTTP Client VIs help or examples?

    I am trying to use the HTTP Client VIs to implement a version of the C# code found HERE. Unfortunately there are no NI examples of how the client VIs are to be used and my various attempts to string them together only seem to result in "Error 42" (LabVIEW: Generic Error) from the POST vi, rather than returning the headers and body text.
    I have also tried using DOTNET calls and was at least able to get the login page returned but could not seem to trigger the login.
    I switched to the HTTP Client VIs because they offered an alternate hope and I could at least see where to attach a cookie file with them (though a cookie file may not be the same as reserving space for a session cookie).
    Solved!
    Go to Solution.
    Attachments:
    HTTP_Client VI.jpg ‏61 KB
    DotNet VI.jpg ‏120 KB

    Hello Warren,
    At this point, your best reference is probably the LabVIEW help documentation on the HTTP client VIs you are using, but here are a few examples that might offer some insight as well:
    Easy HTTP Client VIs
    https://decibel.ni.com/content/docs/DOC-22383
    Reading Coordinates Information from Google Maps Web Services Using HTTP Client VIs
    https://decibel.ni.com/content/docs/DOC-20762
    Additionally, it looks like there was an issue addressed in LabVIEW 2011 related to the Post VI and Error 42 when downloading large files (see CAR 251094 in the 2011 release notes), which might apply in this situation.
    I would recommend contacting our support directly to troubleshoot the error you are seeing, particularly as it is so generic.  If the lack of examples is a hindrance, definitely create a product suggestion at http://digital.ni.com/applications/psc.nsf/default​?OpenForm or by posting on the LabVIEW Idea Exchange (http://forums.ni.com/t5/LabVIEW-Idea-Exchange/idb-​p/labviewideas .)
    Tom L.

  • Can't connect to iTunes  "too many HTTP redirects" ? Help?

    Help.  cannot connect to iTunes. message "too many HTTP redirects"

    HI Krinaformwa,
    There may be many reasons for this problem. For instance, you may have an internet connection issues or Apple servers may be having problems. However you may also be victim of a known bug. To resolve this bug,  simply tap Settings>General>Date and Time. Set the date ahead to some time in the future. Then try to connect iTunes or App Store again.

  • Problems Accessing Gracenote CDDB: "HTTP Processing Error" Help Please

    I'm hoping for a bit of help here people, having a few problems I would be grateful for your assistance with!
    I've been having trouble accessing Gracenote for a couple of months now. What was happening was that when I tried to search for the CD info on Mediasource, the gracenote icon would appear in the top left corner, and the screen loading as if obtaining the info, but then nothing happens and the info is left blank.
    I have tried everything I know, and everything that has been suggested here! I have altered the ZoneAlarm settings, deleted the cddb file, checked that the settings in Mediasource are correct, downloaded the latest drivers, re-registered for gracenote manually and various other things. None of these have solved the problem.
    Finally, I decided to completely re-install Creative Mediasource. After doing this, I tried to access gracenote again, and was asked to re-register. I did this, but then recieved an error message stating "Internal Socket Error". THis happened a couple of times, before the message was replaced with "HTTP Processing Error", whenever I try to access gracenote. It still will not recognise the music!
    Basically, I am at the end of my knowledge and the end of my patience!!! I really don't know what more to do and so I'm throwing this open to you guys - any help would be so, so appreciated! The only this I can think is that my dad got an ipod two months ago, and has installed itunes on the PC. From what I understand, that uses gracenote too - are the two programmes clashing? If so, can anyone suggest a way I can alter this?
    You're my last hope before I'm condemmed to a lifetime of filling in CD's by hand!!! I'll be really grateful if any of you guys can help me out!
    Thanks!
    David

    Try delete the file "cddb.db" or/and "cddb.ds" (if they exist) under the directory "C:\Documents and Settings\YourName\Application Data\Creative\NetContent\MediaSource". See whether it hel
    ps.
    If the above does not help, then try the following:- Go to Start->All Programs->Accessories->Command Prompt. - Run the following commands in the command line to unregister the files: cd "C:\Program Files\Creative\Shared Files" CTRegsvr /u CDDBControlCreative.dll CTRegsvr /u CDDBUICreative.dll CTRegsvr /u CTCDDB.nco CTRegsvr /u NetCoMgr.nco- Run the following commands in the command line to register the files: CTRegsvr CDDBControlCreative.dll CTRegsvr CDDBUICreative.dll CTRegsvr CTCDDB.nco CTRegsvr NetCoMgr.nco

  • Problem with http, can you help me about this exception(JSPX)?

    Somwone could tell me what's this http error when i try to get data from jspx aplication?
    HTTP Status 500 -
    exception
    javax.servlet.ServletException: Problem accessing the absolute URL "http://localhost:8080/livros/people.jspx". java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/livros/people.jspx
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:827)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:763)
         org.apache.jsp.Resposta_jsp._jspService(Resposta_jsp.java:95)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    root cause
    java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/livros/people.jspx
         sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1133)
         org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireReader(ImportSupport.java:331)
         org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(ImportSupport.java:241)
         org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(ImportSupport.java:158)
         org.apache.jsp.Resposta_jsp._jspx_meth_c_import_0(Resposta_jsp.java:115)
         org.apache.jsp.Resposta_jsp._jspService(Resposta_jsp.java:68)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)

    Hi
    Please try looking at following lines.
    org.apache.jsp.Resposta_jsp._jspx_meth_c_import_0(Resposta_jsp.java:115)
         org.apache.jsp.Resposta_jsp._jspService(Resposta_jsp.java:68)
    and
    org.apache.jsp.Resposta_jsp._jspService(Resposta_jsp.java:95)
    This is in generated servlet file. Then try to find out in your JSP.
    HTTP Status 500 indicates an internal server error.
    HTH
    VJ

  • Apache Tomcat/4.0.6 - HTTP Status 500    Help!!!

    When I requst a simple jsp page, I got error:
    (I have set my env as:
    ----CLASSPATH as C:\Program Files\Apache Tomcat 4.0\common\lib\servlet.jar;C:\j2sdk1.4.2_01\lib\tools.jar;C:\j2sdk1.4.2_01\lib\dt.jar
    ----JAVA_HOME as C:\j2sdk1.4.2_01
    ----path as C:\j2sdk1.4.2_01\bin;c:\JBuilder4\jdk1.3
    Is it something wrong?
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\j2sdk1.4.2_01\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
    C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\test\jsp\check$jsp.java:0: Class java.lang.Object not found in class javax.servlet.GenericServlet.
    package org.apache.jsp;
    ^
    2 errors
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
         at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
         at java.lang.Thread.run(Thread.java:534)

    Why nobody reply????? Because noone cares.
    At a guess, you have upgraded from a previous version of java?
    And you installed Tomcat with the previous version?
    Check which version of Java the Tomcat engine is actually using:
    System.getProperty("java.version")
    Probably it still has some remnants of 1.3 around that it is using.
    Just a guess...

  • Problems accesing secure sites (https) SSL/TLS help???

    Hello
    We have a machine running Mountain Lion 10.8.3 that can`t access a bank`s site. In the same network we also have another machine running Lion 10.7.5 and it connects succesfully to the bank's site.
    We did a capture of packets with Wireshark and we see that the following:
    Mountain Lion try to uses SSL, without success.
    Lion uses TLSv1 and works perfect.
    If someone can help me and gives me any idea of this behaivor.
    Thanks in advance.
    Verny

    10.8.4. If you're having problems with certificates only on that one site, try the following.
    Back up all data.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    From the menu bar, select
    Keychain Access ▹ Preferences ▹ Certificates
    There are three menus in the window. Change the selection in the top two to Best attempt, and in the bottom one to  CRL. Log out, log back in, and test.

  • No HTTP connect. HELP! (as posted in kvm thread)

    Hi there,
    I am trying to write a midlet in j2me for my masters thesis, but I haven't been able to make a simple http connection. I tried in forte and jbuilder with no luck, and also with no clue as to what was going wrong. all I got was that the program hangs some time, and then restarts. Recently however, I think I have found the problem. While I was doing some tests with the http sample application in the ktoolbar, that comes with the j2me sdk 1.0.3, I discovered that I had not yet specified that the emulator should use a proxy. So I specify the proxy and the port (proxy.pandora.be 8080), and now I do get some results. I think the program now tries to make the connection, but I still get the following error message (something about http/1.1 403 forbidden). Apparently the proxy server does not allow me to make the tunneling connection. Can someone tell me what to do next. I don't have that much time left. Thanks
    This is the output in the ktoolbar screen:
    Read Page: http://www.yahoo.com/
    c= com.sun.midp.io.j2me.http.Protocol@fb8548b0
    java.io.IOException: Error initializing HTTP tunnel connection:
    HTTP/1.1 403 Forbidden
    Date: Mon, 08 Apr 2002 18:52:16 GMT
    Content-Length: 257
    Content-Type: text/html
    Server: NetCache (NetApp/5.2.1R1D4)
    Connection: close
    at com.sun.midp.io.j2me.http.Protocol.doTunnelHandshake(+281)
    at com.sun.midp.io.j2me.http.Protocol.connect(+149)
    at com.sun.midp.io.j2me.http.Protocol.sendRequest(+90)
    at com.sun.midp.io.j2me.http.Protocol.openInputStream(+48)
    at example.http.HttpTest.readContents(+154)
    at example.http.HttpTest.commandAction(+34)
    at javax.microedition.lcdui.Display$DisplayAccessor.commandAction(+152)
    at com.sun.kvem.midp.lcdui.EmulEventHandler$EventLoop.run(+427)
    class java.io.IOException
    java.io.IOException: Error initializing HTTP tunnel connection:
    HTTP/1.1 403 Forbidden
    Date: Mon, 08 Apr 2002 18:52:16 GMT
    Content-Length: 257
    Content-Type: text/html
    Server: NetCache (NetApp/5.2.1R1D4)
    Connection: close
    Exception reading from http
    java.io.IOException: Error initializing HTTP tunnel connection:
    HTTP/1.1 403 Forbidden
    Date: Mon, 08 Apr 2002 18:52:16 GMT
    Content-Length: 257
    Content-Type: text/html
    Server: NetCache (NetApp/5.2.1R1D4)
    Connection: close
    at com.sun.midp.io.j2me.http.Protocol.doTunnelHandshake(+281)
    at com.sun.midp.io.j2me.http.Protocol.connect(+149)
    at com.sun.midp.io.j2me.http.Protocol.sendRequest(+90)
    at com.sun.midp.io.j2me.http.Protocol.getResponseMessage(+5)
    at example.http.HttpTest.readContents(+516)
    at example.http.HttpTest.commandAction(+34)
    at javax.microedition.lcdui.Display$DisplayAccessor.commandAction(+152)
    at com.sun.kvem.midp.lcdui.EmulEventHandler$EventLoop.run(+427)
    java.io.IOException: Error initializing HTTP tunnel connection:
    HTTP/1.1 403 Forbidden
    Date: Mon, 08 Apr 2002 18:52:16 GMT
    Content-Length: 257
    Content-Type: text/html
    Server: NetCache (NetApp/5.2.1R1D4)
    Connection: close

    The correct format for your proxy would be:
    proxy.pandora.be:8080
    not
    proxy.pandora.be 8080
    A bit confusing, I didn't see any easily accessable docs on what format it should be.

Maybe you are looking for

  • Question about a memory upgrade

    I am looking to upgrade the memory on my iMac 2006 (late). I currently have the 512 RAM that the computer came with. I am looking to upgrade to two 1GB slots of RAM. Does anyone know if the PNY MN1024SD2-667 is compatible? The specs seem to match up

  • Need to run VI on boot or call from other application

    I am looking for the most basic way to get Labview to run a VI upon bootup or call from another application (without having to hit the run button on the toolbar.) I would rather not have to build an application; I don't want to buy the professional v

  • Multi line items in mail

    Hi All, In my scenario sales order created in R3 side and send mail from XI side. Every thing is working fine. But the issue is in case multi line items in the sales order, the mail showing only one line item. Please help me on this scenario, and sen

  • Form data integration service. how attach file to a pdf

    I'm testing the FormDataIntegrationService to import data into a pdf form (XFA), and the result it is ok, now I need attach a word file, how can I attach  a file to a pdf, using the reader extensions web service ? pd: I know that it is posbible with

  • Applets are not loading.

    Hey I am about 3/4 through the book Teach yourself java in 24 hours...and so far every applet I have done has not loaded in the browser but stayed the gray box of doom... bla bla not found. I am using Jcreater as a compiler and have the newest runtim