IISProxy URL - Bad Request (Invalid URL) in refresh option

Hello SDN colleagues,
We are facing a very strange behavior in SAP EP 6, let me try to explain as clear as I can.
First, the EP version:
J2EE Engine 6.40 PatchLevel 89291.313
Portal 6.0.11.3.0
KnowledgeManagementCollaboration 6.0.9.0.0 (NW04 SPS09)
We have activated Windows Authentication Integration through IISProxy (version 1.6.2.0), it's working fine and the portal users are being authenticated automatically once the're logged in the MS network, using the url http://sapep.domain.com/irj.
The problem: when the user clicks the "Refresh" option in the Page Title Bar, the portal displays the message "Bad Request (Invalid URL)." This is happening with all pages, and the worst - in the UWL iview when the user tries to launch a transaction.
But if the user logs on using the authentication form - url http://sapep.domain.com:50000/irj/portal - there is no error.
It seems that the problem is related to the mapping made by IISProxy, after logging the user and redirecting to the portal it's just change the url to the standard (port 50000) then it works fine.
Here is the mapping done in the iisproxy xml file:
<ISAPI-config version="1.6">
   <filter name="IisProxy filter" authentication="forward" />
      <extension name="IisProxy extension" />
        <mapping name="IisProxy Portal" >
          <source>
            <protocol>http</protocol>
            <prefix>/irj</prefix>
          </source>
          <source>
            <protocol>http</protocol>
            <prefix>/portal</prefix>
            <new-prefix>/irj</new-prefix>
          </source>
          <source>
            <protocol>http</protocol>
            <new-prefix>/irj</new-prefix>
          </source>
          <target>
            <protocol>http</protocol>
            <host>sapep.domain.com</host>
            <port>50000</port>
          </target>
       <compress-types>text/html, text/plain</compress-types>
     </mapping>
Any idea ? Is it possible to keep the standard url ?
Thanks in advance, and regards.
Fernando R Cervantes

Hi Fernando,
This sounds like SAP Note 734462:
https://websmp103.sap-ag.de/~sapidb/012006153200000213912004E.ITF
Microsoft Link (also avilable in the note):
http://support.microsoft.com/default.aspx?scid=kb;en-us;820129
The value to change is UrlSegmentMaxLength (We changed from 260 to 1000).
A restart to the whole server is required for the change to take affect (since it's a change to the registry).
Hope that helps,
Yoav.

Similar Messages

  • Portal Favorites Bad Request Invalid URL

    Recently upgraded from EP6.0 SP13 to SP16.
    When selecting a link, folder or document from within Portal Favorites - Bad Request Invalid URL error is displayed.
    I have changed the Isolation Mode to URL on Portal Favorites iView - but this has not fixed the problem.
    Any thoughts?

    Probelm is fixed as per SAP Note 815344.
    Go to the definition of the affected iViews in the Portal Content Catalog. You can find the following parameters there: 'Path to initially displayed Folder' and 'path to root folder for navigation'.
    In 'path to initially displayed folder', replace the < character with %3c and > with %3e. DO not change the second parameter.

  • HTTP 400 Bad Request Invalid URL error when URL contain only percent "%" without any Hexadecimal

    Hi All, I'm trying to redirect a custom error page when URL contain percent "%" symbol. But when I use percent "%" symbol in URL (https://mctest.aspial.com.sg/%), its saying below error. I don't want to show this error message. I want
    to redirect users to custom error page.  I already added custom error page in IIS & Web.config file for status code 400. But It's now working. It's still showing the same error.
    Bad Request - Invalid URL
    HTTP Error 400. The request URL is invalid
    Is there any way to redirect custom error page when URL contain only "%" symbol? Anyone please help me on this. Thanks advance.
    Below are my server details:
    IIS version 7.5
    .Net Framework 4.0

    I see, so the issue isn't with the % in the query string but rather the URL path itself.  In that case I don't believe this is anything related to your app but rather the web server.  When you provide a URL the web server has to map that to an
    application.  Depending upon where the character falls determines who gets to handle it.  Since the % is next to the domain name it is most likely not being mapped by the web server so you get the general 400 error.  Since this isn't an app
    issue but a server level issue you'd have to redirect at the server level (in IIS: Server\Error Pages). If the % is inside an application's virtual directory then it becomes an issue for the application (in IIS: Site\Error Pages).
    But things can get more complicated.  The web server generally has filters so it won't support requests for certain things (like web.config in ASP.NET apps).  Filtering can be done anywhere between the server and the application.  Complicating
    this is virtual path providers (like MVC). 
    To be honest I don't think you should be worrying about this scenario.  An invalid % in a URL is a bad request so you shouldn't try to treat it differently than a regular 400 error.  In fact I'd say that it could be a security hole (depending
    upon what you're doing).  So you can customize 400 errors at the server or app level if you want but I wouldn't bother trying to distinguish bad URLs from bad requests.
    I recommend you post this question in the ASP.NET forums (http://forums.asp.net ) to see if anyone has a better answer.
    Michael Taylor
    http://blogs.msmvps.com/p3net

  • Bad request for URL?

    Hello All
    Whenever I try to call this .Net web service through a simple test:
    http://dif-standardsite.biz.pentia.net/sitecore%20modules/Web/DIF.LoginRelation.WebService/userAdmin.wsdl
    What does this mean I have no idea where to start debugging is it the
    URL. Seems it imported wrong?(the sitecore%2520 thing)
    Submitted at 30. oktober 2006 07:49:39 GMT
    External Service Failure: Response: '400: Bad Request' for url:
    'http://dif-standardsite.biz.pentia.net/sitecore%2520modules/Web/DIF.LoginRelation.WebService/useradmin.asmx'
    Oliver Billing

    bah forget about it... I found the error. BEA url-encodes as well and
    the URL encoding for % is %25 thus making the URL %2520. I made the
    service owner remove the blankspace in the URL
    [email protected] skrev:
    Hello All
    Whenever I try to call this .Net web service through a simple test:
    http://dif-standardsite.biz.pentia.net/sitecore%20modules/Web/DIF.LoginRelation.WebService/userAdmin.wsdl
    What does this mean I have no idea where to start debugging is it the
    URL. Seems it imported wrong?(the sitecore%2520 thing)
    Submitted at 30. oktober 2006 07:49:39 GMT
    External Service Failure: Response: '400: Bad Request' for url:
    'http://dif-standardsite.biz.pentia.net/sitecore%2520modules/Web/DIF.LoginRelation.WebService/useradmin.asmx'
    Oliver Billing

  • Intermittent 400 Bad Request - Invalid Verb SharePont 2010

    Hey,
    This is a long shot that someone has seen this or maybe can give some hints on finding the problem.
    We are getting a rare (once per day) 400 Bad Request - Invalid Verb error in SharePoint 2010 during a POST - this has happened when adding a ListItem.  Once the page is refreshed it works perfectly.
    We have an on-premise instance of SharePoint 2010, it happens on all browsers.
    The request header looks exactly the same for a succesful update as athe error. Any ideas where to start?
    The response in Fiddler is
    HTTP/1.1 400 Bad Request
    Content-Type: text/html; charset=us-ascii
    Server: Microsoft-HTTPAPI/2.0
    Date: Thu, 06 Mar 2014 10:12:48 GMT
    Connection: close
    Content-Length: 326
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
    <HTML><HEAD><TITLE>Bad Request</TITLE>
    <META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
    <BODY><h2>Bad Request - Invalid Verb</h2>
    <hr><p>HTTP Error 400. The request verb is invalid.</p>
    </BODY></HTML>
    From the post
    POST http://...PAGENAME.aspx HTTP/1.1
    Accept: application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
    Accept-Language: en-GB
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; GTB7.5; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; InfoPath.3)
    Content-Type: multipart/form-data; boundary=---------------------------7de27631102b2
    Accept-Encoding: gzip, deflate
    Content-Length: 0
    Host: XXX
    Cookie: OfflineClientInstalled=1; s_cc=true; s_sq=wileyportal%3D%2526pid%253DFunctions%25257CTechnology%25257CPages%252520-%252520WGT%2526pidt%253D1%2526oid%253Dfunctiononclick()%25257BWzClick(event%25252C'g_07E87395550E47F7A3537187A352BC28')%25257D%2526oidt%253D2%2526ot%253DTABLE%2526oi%253D1939;
    s_vnum=1395390204033%26vn%3D24; s_invisit=true; s_visit=1; WSS_KeepSessionAuthenticated={618701bc-c2b7-48e3-b7ff-a55e68ea6c5f}; ASP.NET_SessionId=4c0kd245pgy3kj55zxztti45; Ribbon.WikiPageTab=1259870|-1|444|-1204987594; previousLoggedInAs=; loginAsDifferentAttemptCount=;
    http://url 09:29:20; Ribbon.Document=1276887|0|31|-564700907; Ribbon.Library=1276887|3|61|-564700907; Ribbon.Permission=1259887|-1|627|-233240519; Ribbon.List=1276887|4|58|-564700907; Ribbon.ListForm.Edit=682557|-1|364|-965405633; Ribbon.ListItem=1276887|-1|549|-564700907;
    Ribbon.EditingTools.CPEditTab=1259870|-1|454|-1204987594; Ribbon.EditingTools.CPInsert=1259870|-1|783|-1204987594; Ribbon.Image.Image=1259870|-1|382|-1204987594
    Connection: Keep-Alive
    Pragma: no-cache
    Authorization: NTLM TlRMTVNTUAABAAAAB4IIogAAAAAAAAAAAAAAAAAAAAAGAbEdAAAADw==
    Referer: http://...page.aspx

    Hi,
    For narrowing down the issue, we need more investigations. Please provide more information about:
    What web form were you posting? Is it an customized web form page? Or you could save more detail information in Fiddler and send to me via
    [email protected] .
    Since it is an intermittent issue, is there any application-layer awareness intermediate device such as proxy or reverse proxy/gateway between your client machine and SharePoint server? If so, please exclude the IP of SharePoint Server in the Proxy and
    test the issue again.
    Please check your IIS log and see if there is any error message related error 400.
    Moreover, please check the performance of your SPS server, WFE and especially SQL server.
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • Home icon is not bringing me to my homepage. Getting Bad Request (Invalid Verb) message

    After I check my email and I click on the home button icon I am getting a message saying Bad Request (Invalid Verb). Also happens if I use the refresh button. Have to close down and restart all over again.

    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Keep getting "Bad Request (Invalid Verb)"

    I've installed 3.6.3 and am continually getting "Bad Request (Invalid Verb)" on web sites. I refresh and click again, and it usually works fine the second time - however, of course, this is getting quite annoying...
    == This happened ==
    Every time Firefox opened
    == I installed firefox

    "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    See http://kb.mozillazine.org/Clearing_the_cache and http://kb.mozillazine.org/Cookies

  • 400   Bad Request - Invalid path /b2c/secure was requested

    Hi,
    I have two jsp pages. first page is included as a link in one of the inc.jsp in B2C application.
    This page has few input fields and upon submit button. I get error message
    400 Bad Request - Invalid path /b2c/secure was requested
    the action tag written in config.xml is like:
    <action path="/b2c/xyz" type="package_name.xyz">
              <forward name="success" path="/b2c/Page2.jsp"/>
              <forward name="failure" path="/b2c/Page2.jsp"/>
              </action>
    in web.xml:
    <servlet>
            <servlet-name>Page1.jsp</servlet-name>
            <jsp-file>/b2c/Page1.jsp</jsp-file>
            </servlet>
        <servlet>
            <servlet-name>Page2.jsp</servlet-name>
            <jsp-file>/b2c/Page2.jsp</jsp-file>
        </servlet>
    Please let me know if you could help me with the needful. Appreciate your earliest response.

    Hi Bharathi,
    If you are embedding a link in jsp where you are directly calling another jsp, its always better to code it like this
    <a href="<isa:webappsURL name="/b2c/Page1.jsp"/>" target="_new">
    There is no need to make any changes in web.xml file.
    If in your inc.jsp you want to call an action class on click on a link than call a javascript method onclick on that link
    test() is a javascript method where you will call your action class like
    function test() {
           isaTop().parent.location.href="<isa:webappsURL name='/b2c/xyz1.do'/>";
    Changes in config.xml should be like
    <action path="/b2c/xyz1" type="package_name.xyz">
              <forward name="success" path="/b2c/Page2.jsp"/>
              <forward name="failure" path="/b2c/Page2.jsp"/>
    </action>
    Make use of "<isa:webappsURL name='/test/test.jsp'/>" and it will work. Hope this helps you.
    Regards,
    Arshi
    Edited by: Arshi Arshi on Oct 3, 2009 9:50 AM

  • Why can't I use the Yahoo! search function? I get the following message: "Bad Request (Invalid Hostname)"

    I cannot search on Yahoo! but Google works fine (inasmuch as you can trust Google)
    The simplest of searches yields "Bad Request (Invalid Hostname)" on the first try. I have gone through Yahoo!'s trouble shooting process w/o results.

    Yahoo search engine still doesn't work, and Google does. Other programs on my computer are:
    Norton Internet Security;
    Norton Utilities;
    Verizon In-home agent; (I don't use it, but have a Verizon wireless router);
    Windows Explorer (I reset it but still can't use Yahoo search even though Google works fine)
    I am paranoid that some how the evil Google has sabotaged Yahoo search! HELP!!!

  • Cant access search engines anymore. it always comes up with: bad request, invalid hostname

    for some reasen my laptop started to connect to the internet via my univerisities proxy server. today, however, web sites didnt load at all, instead it said: cant connect to proxy server.
    so i changed the network/proxy settings by deselecting 'use a proxy server for your lan'.
    consequently i was able to acces most web sites, apart from search engines. if i try to do so, it always comes up with: bad request, invalid hostname.
    what can i do?

    btw i have windows 7 :)

  • Bad Request (Invalid Hostname)

    Hi! I am attempting to switch my hosting account on one of my
    websites. The host gives me "shell access" information, but I can't
    find where to enter it in Dreamweaver. The result is when
    attempting to access the website I get the message "Bad Request
    (Invalid Hostname)". Can anybody help me? I would appreciate
    it!

    You need the FTP information not the shell access
    information. Do you have
    that?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "EvolTwin" <[email protected]> wrote in
    message
    news:ftom6r$rc$[email protected]..
    > Hi! I am attempting to switch my hosting account on one
    of my websites.
    > The
    > host gives me "shell access" information, but I can't
    find where to enter
    > it in
    > Dreamweaver. The result is when attempting to access the
    website I get the
    > message "Bad Request (Invalid Hostname)". Can anybody
    help me? I would
    > appreciate it!
    >

  • What does "bad request (invalid hostname)" mean? thanks!

    each time i try to access www.childrensguild.org, i get the error message "bad request (invalid host)". I have accessed the site numerous times before. have tried it on IE, without www and still no success. is it their server? thanks!

    I also have this problem. It usually attacks search engines such as Google, Yahoo and Bing. I am searching for ways to fix it right now, I will reply if I find anything.

  • URL iView - ERROR Invalid URL parameter - sap-ext-sid - HTTPS link

    Dear Experts,
    I have an uregent issue. I have configured an url iview, the link is HTTPS. it is not working from the portal. the system automatically concatenates some URL parameters like sap-ext-sid , sap-wd-finish-rendering.
    Similar way i have configure some other links, they are all working without issue. But other links are just HTTP.
    Could you please give a me clue to fix this issue.
    Your help will be appreciated.
    Thanks
    Jay

    Hi,
        Try opening the URL iVIew in a new page by providing the property "Open the page in New Window" instead of the same window. Are you trying to integrate WebDynpro ABAP iViews?
    Cheers,
    Vinoth.M

  • Bad Request - Invalid Verb

    Has anyone seen this before?  I'm logged in as an admin.  No matter what role, I get this error.  This is a single tier installation.  I have tried rebooting the VM as well.
    All VCM services are running.  Windows Host VM is Server 2008 R2.

    I don't recall ever seeing this behavior before, and I've been working with VCM a long time.
    What version is this?
    DId it ever work? If so, when did it stop working?
    Are you getting the same error when running Internet Explorer directly on the Collector as you do when running it from a remote machine?
    Checking the Windows IIS logs (text logs) would be a good way to get more details of the error, as it appears to be an IIS-generated error.

  • When i search somethingand i open it, it comes up bad request (invalid header name)

    I tried to go to tools and i don't know where and what to press.. i tried restarting it but it won't work either what should i do please help!!

    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    You can also try "Reset all user preferences to Firefox defaults" on the [[Safe mode]] start window.
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    # Shockwave Flash 10.1 r53
    # Next Generation Java Plug-in 1.6.0_17 for Mozilla browsers
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
    Update the [[Adobe Reader]] plugin to the latest version.
    *http://get.adobe.com/reader/otherversions/

Maybe you are looking for

  • How can I set new tabs to automatically show my homepage? (My homepage is Google)

    Whenever I open a new tab, it has a "New Browser tab" page with a search bar powered by ask. I would like to be able to set any new tabs I open using the "add tab" tab, to Google.com I can set my homepage to google, but cannot set any new tab to goog

  • Embedding XSL in XML document

    Hi I am new to this particular forum. I had some query regarding embedding XSL . Can we embedd the XSL stylesheet in the XML document itself. I searched this forum and got some similar queries but the output isn't working. Can anyone put a working ex

  • Firefox Windows taskbar tab cannot minimize by clicking it but can be maximized

    I can open Firefox, and everything works fine. The problem is that when I minimize Firefox by clicking on the Firefox tab in the Windows Taskbar, it can be minimized but when I click on it again it won't maximize, instead I have to bring Firefox back

  • Controller setup-losing communication

    I'm using a Yamaha DM1000 as my mixer and control surface. I'm using it's USB output. It constantly loses communication with Logic and I get the annoying "please power cycle" error message. I've tried disabling the active sensing in the controller se

  • How to manage serverfarm in RMI?

    Hi all! Unfortunatly, I've got no idea of that topic, but have to solve following problem: I developed a server and a client, that communicate with RMI. First I have to start the registry, then the server and last but not least the client. But I have