HTTP Status Code from NetConnection

Hey flexers,
I have a flex app that requires a user to be logged in to make service calls.  If the user isn't logged in or the session times out and the app makes a call to a backend service via AMF, the server responds with an HTTP status code 401, as expected.  The response header looks like this:
HTTP/1.1 401 Authorization Required
Date: Wed, 18 Aug 2010 16:49:01 GMT
Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.6 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g
X-Powered-By: PHP/5.2.4-2ubuntu5.6
x-ec2-instance-id: i-e52e8b8f
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Cache-Control: post-check=0, pre-check=0
Content-Length: 185
Content-Type: application/x-amf
Expires: 0
The response content is AMF so it's binary but here's the hex as reported by the Charles Web Debugging Proxy:
00000000  00 00 00 00 00 01 00 0b 2f 31 2f 6f 6e 53 74 61           /1/onSta
00000010  74 75 73 00 00 ff ff ff ff 10 00 1b 66 6c 61 73   tus         flas
00000020  68 2e 65 76 65 6e 74 73 2e 4e 65 74 53 74 61 74   h.events.NetStat
00000030  75 73 45 76 65 6e 74 00 04 69 6e 66 6f 10 00 06   usEvent  info 
00000040  4f 62 6a 65 63 74 00 07 6d 65 73 73 61 67 65 02   Object  message
00000050  00 61 59 6f 75 72 20 73 65 73 73 69 6f 6e 20 69    aYour session i
00000060  73 20 6e 6f 20 6c 6f 6e 67 65 72 20 61 63 74 69   s no longer acti
00000070  76 65 2e 20 20 54 68 69 73 20 69 73 20 6c 69 6b   ve.  This is lik
00000080  65 6c 79 20 64 75 65 20 74 6f 20 69 6e 61 63 74   ely due to inact
00000090  69 76 69 74 79 2e 20 50 6c 65 61 73 65 20 72 65   ivity. Please re
000000a0  2d 6c 6f 67 69 6e 20 74 6f 20 63 6f 6e 74 69 6e   -login to contin
000000b0  75 65 2e 00 00 09 00 00 09                        ue.     
I'm looking for the proper way, in the Flex app, to figure out it's a 401 status code.  Previously, we were watching for the NetStatusEvent coming from NetConnection. If there was a info.errorCode property, we'd use that as the status code.  Otherwise, if there was an info.description property, it would normally look like "HTTP: Status 401" in which case we'd pull it out of the string (which makes me cringe just thinking about it).  However, at the moment the NetStatusEvent looks like this:
error flash.events.NetStatusEvent (@6a7eee1)
[inherited]
info Object (@7f3ea79)
code "NetConnection.Call.Failed"
description "HTTP: Failed"
details "http://dev.studioj.com"
level "error"
m_info Object (@7f3ea79)
No status code exists in the event anywhere in the event.  After all kinds of debugging, rolling back code, etc., I can't figure out why the NetStatusEvent now has description "HTTP: Failed" instead of description "HTTP: Status 401".
Can anyone clarify what's going on?  Thanks.

After digging into it more, I've found that it's browser-specific behavior.  When simulating an HTTP status code of 401, in Chrome and IE I get a NetStatusEvent that looks like this:
error flash.events.NetStatusEvent (@6c33791)
[inherited]
info Object (@6b14851)
code "NetConnection.Call.Failed"
description "HTTP: Status 401"
details "http://aaronhardy.com/test.php"
level "error"
m_info Object (@6b14851)
Notice the "description" has the status code.  In Firefox I get an event that looks like this:
error flash.events.NetStatusEvent (@6c33791)
[inherited]
info Object (@6b14851)
code "NetConnection.Call.Failed"
description "HTTP: Failed"
details "http://aaronhardy.com/test.php"
level "error"
m_info Object (@6b14851)
Notice the status code isn't mentioned anywhere.  Is this a known issue in Firefox?  Are we really that close to being able to use real HTTP status codes yet so far away?
Aaron

Similar Messages

  • How to set HTTP status codes from BSP

    Hello,
    How can I set the HTTP status code from a BSP?
    I use response->set_status( code = 500 reason = 'Error') from OnInputProcessing event, but nothing happens...
    Tia,
    Joerg

    Hi,
    Thank you for the references, but unfortunately it still does not work for me.
    Here's what I do in my BSP:
    - The BSP displays a simple Form in which some user data
      can be entered.
    - In the OnInputProcessing event handler of this BSP the
      data is analyzed. If there is an error, the following
      code is executed:
      if l_error eq 'X'.
        data:
          res type ref to if_http_response.
        res = runtime->server->response.
        res->set_status( code   = 500
                         reason = 'Internal error' ).
      endif.
    - I would expect the Browser to display the error page,
      however I simply get the BSP Form again - the HTTP
      error is not shown at all.
    What am I doing wrong?
    Thanks, Joerg

  • HTTP Status Code from NSURLResponse (iPhone)

    Hello!!
    How can I get HTTP Status Codes from a NSURLResponse (iPhone API) ??
    thx...

    statusCode
    Returns the receiver’s HTTP status code.
    - (NSInteger)statusCode
    Return Value
    The receiver’s HTTP status code.
    Availability
    Available in iPhone OS 2.0 and later.
    See Also
    + localizedStringForStatusCode:
    Declared In
    NSURLResponse.h

  • Returning HTTP status codes (401, 403, etc) to Flash 8

    Hi all,
    I'm using AMFPHP on the server-side and Flash remoting
    classes to communicate with it. Everything's working great, but i'd
    like Flash to be able to recieve HTTP status codes from the server.
    For example, if on the server side (in PHP) I go:
    header("Status: 401 Unauthorized");
    I'd like the remoting service on the flash side to be able to
    get the HTTP error code (401 in the example above).
    I know this is possible with
    [url=http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context =LiveDocs_Parts&file=00002333.html]LoadVars.onHTTPStatus[/url]
    but it doesn't seem to deal with using it with Flash Remoting.
    Thanks all :)
    - Nilesh

    Hi, I am trying to PUT to update contact info and I get following error:
    2015-01-16 11:00:17,970 INFO [main] oracle.eloqua.connector.eloqua.EloquaConnector.putWithBasicAuth(97) | accessHttpsPut.url=https://secure.eloqua.com/API/REST/2.0//data/contact/7606838, text={"id":"7606838","accountName":"openIdStr001","emailAddress":"[email protected]","type":"Contact"}
    2015-01-16 11:00:18,931 ERROR [main] oracle.eloqua.connector.eloqua.EloquaConnector.putWithBasicAuth(140) | ClientProtocolException
    org.apache.http.client.HttpResponseException: Request is malformed.
    Is there any idea?
    Thanks so much.
    Sincerely.

  • Application Web Service Control Manager detected AWEBSVC is not responding to HTTP requests. The http status code and text is 400, Bad Request.

    Hi All,
    I am seeing the following error for SMS_AWEBSVC_CONTROL_MANAGER component with Message ID: 8100
    Application Web Service Control Manager detected AWEBSVC is not responding to HTTP requests.  The http status code and text is 400, Bad Request.
    awebsctl.log file has below errors:
    Call to HttpSendRequestSync failed for port 80 with status code 400, text: Bad Request
    SMS_AWEBSVC_CONTROL_MANAGER 12/22/2014 3:37:55 PM
    13920 (0x3660)
    AWEBSVCs http check returned hr=0, bFailed=1
    SMS_AWEBSVC_CONTROL_MANAGER 12/22/2014 3:37:55 PM
    13920 (0x3660)
    AWEBSVC's previous status was 1 (0 = Online, 1 = Failed, 4 = Undefined)
    SMS_AWEBSVC_CONTROL_MANAGER 12/22/2014 3:37:55 PM
    13920 (0x3660)
    Health check request failed, status code is 400, 'Bad Request'.
    SMS_AWEBSVC_CONTROL_MANAGER 12/22/2014 3:37:55 PM
    13920 (0x3660)
    Management point and Application Catalog Website Point are installed on the same Server where I am seeing the error for Application Catalog Web Service Point role. Management Point and Application Catalog Website Point are functioning properly. Application
    Catalog Website is working.
    Thanks & Regards, Kedar

    Hi Jason,
    Application Catalog Web Service Point and Application Catalog Website Point; both are installed as per below configuration on same Server:
    IIS Website: Default Web Site
    Port Number: 80
    with default value for Web Application Name configured.
    For SMS_AWEBSVC_CONTROL_MANAGER component, I am getting below error in Component Status:
    Application Web Service Control Manager detected AWEBSVC is not responding to HTTP requests.  The http status code and text is 400, Bad Request.
    Possible cause: Internet Information Services (IIS) isn't configured to listen on the ports over which AWEBSVC is configured to communicate. 
    Solution: Verify that the designated Web Site is configured to use the same ports which AWEBSVC is configured to use.
    Possible cause: The designated Web Site is disabled in IIS. 
    Solution: Verify that the designated Web Site is enabled, and functioning properly.
    For more information, refer to Microsoft Knowledge Base.
    And awebsctl.log has the below error lines:
    Call to HttpSendRequestSync failed for port 80 with status code 400, text: Bad Request
    SMS_AWEBSVC_CONTROL_MANAGER
    12/23/2014 11:04:36 AM 16388 (0x4004)
    AWEBSVCs http check returned hr=0, bFailed=1
    SMS_AWEBSVC_CONTROL_MANAGER
    12/23/2014 11:04:36 AM 16388 (0x4004)
    AWEBSVC's previous status was 1 (0 = Online, 1 = Failed, 4 = Undefined)
    SMS_AWEBSVC_CONTROL_MANAGER
    12/23/2014 11:04:36 AM 16388 (0x4004)
    Health check request failed, status code is 400, 'Bad Request'.
    SMS_AWEBSVC_CONTROL_MANAGER
    12/23/2014 11:04:36 AM 16388 (0x4004)
    STATMSG: ID=8100
    What should I check from IIS side?
    Application Catalog Website is functioning properly.
    Thanks & regards,
    Kedar
    Thanks & Regards, Kedar

  • ADF Mobile: HTTP Status Code 500 Internal Server Error

    Hi,
    I wrote a SOAP web service and deployed it to my standalone ADF Server. I tested it with the HTTP Analyzer, works great. I used it in a Web Service Data Control in normal ADF Web - works perfect. It returns a table of data as programmed. However, ADF Mobile gives me errors: "Http Status Code 500 Internal Server Error: The server encountered an unexpected condition which prevented it from fulfilling the request".
    I developed an ADF Mobile interface with an amx page. I created the same Web Service Data Control and created a List View based on the data control. The error pops up every single time, both on iOS simulator and Android Simulator.
    I know the simulators have network access to the web services - because i can open the web service test page and WSDL from both simulator's internet browsers.
    I know the web services are running - because my ADF Web application can access it.
    Any ideas?
    Thank you!
    -Gavin

    Thanks for the reply. There were no errors in my WLS server. However, I will add some statements to my web service to write to the log file. That way i can see if or at what point is the web service is being accessed by the mobile app.
    Thanks,
    Gavin

  • HTTP Status Code 500 Internal server error while passing complex object

    Hi
    When I am passing values through complex input parameter, I am getting "*HTTP Status Code 500 Internal server error: The server encountered an unexpected condition which prevented it from fulfilling the request*". Why I am getting this error? Any idea
    Regards
    Raj

    Raj,
    Can you elaborate on what exactly are you trying to do? Are you saying that same use case works when you pass simple parameters?
    JC

  • WLS 8.1 Apache Plug-in is changing HTTP status code 999 to 500

    I'm seeing the weblogic server 8.1 sp4 apache plug-in change the HTTP status code of 999 (set by the application) to 500 Internal Server Error. I'm seeing this with Apache 2.0.48 on aix and with Apache 2.0.58 on windows. I've tried the plug-in from 8.1 SP2, SP4 and SP6 with all yielding the same result. I've tried the SSL plug-in too - same result. I'm told by the maker of this application that they are not seeing this issue with the plug-in for SunOne/NES. What does BEA say about the Apache plug-in changing the http status code? Why is it doing this? Why doesn't the SunOne/NES plug-in do it? Can you provide a plug-in that does not do this?

    Try setting
    Debug ALL
    inside your IfModule. All proxy activity will be written to /tmp/wlproxy.log (on
    unixes). If no info appears in the log, Apache is not invoking the plug-in properly.
    HTH
    "Lukas" <[email protected]> wrote:
    >
    I am trying to set up Apache 2.0.49 proxy plug-in for my WLS 8.1 cluster
    (2 managed
    servers). I followed instructions at http://edocs.bea.com/wls/docs81/plugins/apache.html.
    My test web application runs on
    192.168.10.142:5001/public/testwebapp
    and
    192.168.10.142:6001/public/testwebapp
    I have tested my cluster using another instance on WLS and HttpClusterServlet
    and it works fine.
    I have added following section to my httpd.conf
    LoadModule weblogic_module modules/mod_wl_20.so
    <IfModule mod_weblogic.c>
    WebLogicCluster 192.168.10.142:6001,192.168.10.142:5001
    </IfModule>
    <Location /public/testwebapp>
    SetHandler weblogic-handler
    PathTrim /public/testwebapp
    ErrorPage http://myerrorpage1.mydomain.com
    </Location>
    I restarted my wls cluster and apache as well and when I specify http://192.168.10.142/public/testwebapp
    (apache web server) I receive Error 404--Not Found (even thou I have
    tested my
    http://192.168.10.142:5001/public/testwebapp and http://192.168.10.142:6001/public/testwebapp
    - they work correctly).
    There is nothing in apache’s error_log file.
    There is a record in access_log file reading:
    192.168.10.126 - - [08/Jun/2004:16:23:32 -0700] "GET /public/testwebapp
    HTTP/1.1"
    404 1214
    which gives me an impression that “proxy” – forwarding does not work.
    Where should I look for some errors?
    Thanks,
    Lukas

  • Test web service published returns Error code: InternalError, Http status code: 500

    Further invastigating ther error mentioned here: 
    https://social.msdn.microsoft.com/Forums/azure/en-US/14afa50f-287d-4158-852a-c9532f9f30eb/test-published-web-service-experiment-error-with-status-code-400?forum=MachineLearning
    I have made an even simpler experiment with two python scirpt modules. The experiment again runs fine in Azure ML Studio but fails in the web service test with the error
    Error code: InternalError, Http status code: 500, Request id: 53eef674-190a-4f63-bdc6-a072a45a9c72, Timestamp: Fri, 24 Apr 2015 09:30:37 GMT
    The experiment consists only of two python script modules. The code of the first module:
    import numpy as np
    import pandas as pd
    def azureml_main(dataframe1 = None, dataframe2 = None):
        dataframe1.loc[1] = ["U5000","resB",np.nan]
        dataframe1.loc[2] = ["U5000","resC",2]
        dataframe1.loc[3] = ["U5000","resD",2]
        dataframe1.loc[4] = ["U5000","resE",np.nan]
        dataframe1.loc[5] = ["U6000","resA",np.nan]
        dataframe1.loc[6] = ["U6000","resB",1]
        dataframe1.loc[7] = ["U6000","resC",2]
        dataframe1.loc[8] = ["U6000","resD",np.nan]
        dataframe1.loc[9] = ["U6000","resE",1]
        dataframe1['hasRated'] = pd.Series(1, index=dataframe1.index).astype(bool)
        df_new = pd.DataFrame()
        df_new = pd.DataFrame(dataframe1[["restaurant","rating","hasRated"]])
        return df_new,
    The code of the second module that takes as input the result of the first module:
    def azureml_main(dataframe1 = None, dataframe2 = None):
    return dataframe1,
    A url of a screenshot taken from the experiment.
    http://i.imgur.com/4nrbneA.png
    Please respond. Again I am using a free workspace of Azure ML Studio.
    Thank you very much

    Thank you for your quick reply.
    I hope you will be able to resolve this issue soon.
    asavvopoulos

  • Error code: InternalError, Http status code: 500 while testing an experiment

    Creating a very simple experiment with just a Dataset, followed by a simple regresion using an Execute
    R Task , I get an internal server error while testing the published experiment
    Hitting run everything goes smooth and I can see all data,but when i hit 'test' from the web services dashboard
    right after publishing,I get this:
    Error code: InternalError, Http status code: 500, Request id: d87e2d01-16ef-4ac9-8a5d-a58d41aab2d4, Timestamp: Tue,
    03 Mar 2015 12:19:55 GMT
    How can I handle this ?
    Thank you in advance.

    Hi Shreyas!
    Are you familiar with the tryCatch() function in R? in your error condition, you can return the error message a bit more cleanly as shown in the following code snippet. FYI one common error we see is R scripts that are not able to handle a single-row input
    or with mismatched data types.
    tryCatch({
    # Do what you want in here
    maml.mapOutputPort("data.set");
    }, error = function(e) {
    data.set = data.frame(errormsg = conditionMessage(e))
    print(conditionMessage(e));
    maml.mapOutputPort("data.set");

  • Lync 2013 Logon Failing (HTTP status code 500) No valid security token

    Hello there,
    I'm in the process of deploying Lync 2013.  I have the pool deployed and everything is at least running.  I can access the control panel and provision users.  However when I try to logon to the Lync Client I get a DNS error.  The DNS
    error appears to be misleading and is a result of the earlier auto-detection methods failing.
    However using the Lync Connectivity Analyzer I get a "No valid security token." error.  This doesnt matter if I use auto-detection or manual pointing the Connectivity Analyzer to the pool servers.
    [3/2/2015 9:34:15 AM] [ERROR] Reason: Internal server error (HTTP status code 500)
    [3/2/2015 9:34:15 AM] [ERROR] Ms-Diagnostics-Fault ErrorId: 28020, Reason: No valid security token.
    [3/2/2015 9:34:15 AM] [CRITICAL] The credentials were not authorized by the server. Please verify your login credentials and try again.
    [3/2/2015 9:34:15 AM] [DEBUG] System.Exception: Exception of type 'System.Exception' was thrown.
    at Microsoft.LyncServer.WebServices.WebTicketManager.WTExceptions(String exText)
    at Microsoft.LyncServer.WebServices.WebTicketManager.<AcquireTicketAsync>d__19.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.LyncServer.WebServices.WebTicketManager.<AcquireOpaqueTicketAsync>d__14.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
    at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<AuthenticationRequired>d__2a.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<SendRequest>d__d.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
    at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<TryNextUrl>d__3.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<ParseResponse>d__16.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<TryNextUrl>d__3.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<StartDiscoveryJourney>d__0.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at LyncConnectivityAnalyzerCore.Utilities.<RetrieveUserLocation>d__3e.MoveNext()
    Im a bit stumped where to go next.
    Thanks.

    Manually entering the server also fails and does not provide much to help "We're having trouble connecting to the server. If this continues, please contact your support team."
    I found that each time I try to logon it generates a Schannel Error on the server.  "A fatal alert was generated and sent to the remote endpoint. This may result in termination of the connection. The TLS protocol defined fatal error code is 51.
    The Windows SChannel error state is 1106."
    There seems to be a lot more information on that than the previous "Internal Error" message I was trying to deal with.
    https://social.technet.microsoft.com/Forums/office/en-US/41718327-203f-445f-8657-87b0a8545ead/lync-2013-client-signin-issue-with-lync-2013-server?forum=lyncprofile
    Actually I just found the Lync Server Front-End is stuck "starting" so that would explain why I cannot login.  However I re-issued my certificate to make sure the primary CN matched "lync.domain.tld" and it still wont start.
    https://expertslab.wordpress.com/2014/04/23/lync-server-2013-front-end-service-stuck-on-starting/
    I think my problem is the certificate.  I have been trying to use selfSSL7 to generate the certificate for testing but it does not support creating SAN entries so I have entered all the FQDNs as CN entries.
    Im going to get another method to generate the self-signed certificate for testing.

  • TREX preprocessing failed, HTTP Status Code 401

    Hello everybody!
    I'm using SAP NetWeaver 7.0 (2004s), TREX 7.0 on Win2003 Server.
    I'm trying to index files, but it doesn't work for files bigger than 10KB. I know that for these documents > 10KB only the URI is transmitted to TREX. So it seems the problem is based on the communication between TREX and portal.
    Error messages:
    TREX monitor: preprocessing failed, error number: 6401, error message: HTTP Status Code 401: Unauthorized
    Indexmonitor: Trex: Preparation failed: index operation
    - all TREX server status icons are green.
    - I'm not using any SSL communication.
    - indexing doesn't work for any data sources, neither web repositories nor KM content.
    - I've checked the host and alternative host parameter in the URL generator service (both http://<myservername>:50100).
    - I am able to access the URL of the resource directly.
    - I've added the "unescape_url=no" entry in the TREXPreprocessor.ini like SAP Note 650521 says.
    - my system ID is properly set.
    - the password of user index_service does not expire.
    Does anybody have any further ideas?
    Many thanks in advance
    Steffi, working on it for days...

    Hello Robert and Steffi,
    With the help of SAP support, I could solve the problem !
    Certificate for SAPLogonTickets had expired, so authentication was no longer possible. Solution : recreated the certificates with Visual Admin.
    In Visual Admin, go to "Key Storage" service, then choose "TicketKeystore" view.
    Delete SAPLogonTicketKeypair and SAPLogonTicketKeypair-cert certificates (or rename them in a first time).
    Then recreate "SAPLogonTicketKeypair" :
    - fill the Entry Name with "SAPLogonTicketKeypair",
    - fill "Common Name" with the value from the previous ticket
    - check "Store Certificate" (this will automatically create SAPLogonTicketKeypair-cert)
    - choose "DSA" as Algorithm
    and click on "Generate"
    That worked fine for us on two platforms.
    Hope that gonna help...
    Nicolas

  • Unknown HTTP status code returned

    Hello,
    I have the following problem - while trying to download apache2 patch:
    bash-3.00# smpatch download -i 120544-06
    The following patches were not downloaded:
                 120544-06: Unknown HTTP status code returned.smpatch gets patches from sun update connection proxy. What should I do to resolve it ?
    przemol

    Here you are:
    ==============================
    SU proxy
    ==============================
    bash-3.00# uname -a
    SunOS monitor 5.10 Generic_118833-23 sun4u sparc SUNW,Ultra-250
    bash-3.00# cat /etc/release
    Solaris 10 3/05 s10_74L2a SPARC
    Copyright 2005 Sun Microsystems, Inc.  All Rights Reserved.
    Use is subject to license terms.
    Assembled 22 January 2005
    bash-3.00# uname -a
    SunOS monitor 5.10 Generic_118833-23 sun4u sparc SUNW,Ultra-250
    bash-3.00# cat /etc/release
    Solaris 10 3/05 s10_74L2a SPARC
    Copyright 2005 Sun Microsystems, Inc.  All Rights Reserved.
    Use is subject to license terms.
    Assembled 22 January 2005
    bash-3.00# showrev -p | egrep -e '121453|121118|120335|121081|121563|122231|119788'
    Patch: 121453-02 Obsoletes: 120776-03, 121086-02, 119107-07 Requires: 119574-02, 119254-06 Incompatibles:  Packages: SUNWcsu, SUNWcsr, SUNWppror, SUNWpprou, SUNWppro-plugin-sunos-base, SUNWccccrr, SUNWccccr, SUNWccsign, SUNWcsmauth, SUNWccfw, SUNWdc, SUNWbreg, SUNWcctpx, SUNWccccfg, SUNWccfwctrl, SUNWccinv, SUNWupdatemgru, SUNWupdatemgrr
    Patch: 119788-02 Obsoletes:  Requires: 119107-02 Incompatibles:  Packages: SUNWppror, SUNWpprou
    Patch: 121118-06 Obsoletes:  Requires: 121453-02 Incompatibles:  Packages: SUNWppror, SUNWpprou, SUNWppro-plugin-sunos-base, SUNWupdatemgru, SUNWupdatemgrr
    Patch: 121118-08 Obsoletes:  Requires: 121453-02 Incompatibles:  Packages: SUNWppror, SUNWpprou, SUNWppro-plugin-sunos-base, SUNWupdatemgru, SUNWupdatemgrr
    Patch: 120335-04 Obsoletes:  Requires: 121453-01 Incompatibles:  Packages: SUNWpprou
    Patch: 121081-05 Obsoletes:  Requires: 121453-02 Incompatibles:  Packages: SUNWccccrr, SUNWccccr, SUNWccsign, SUNWccfw, SUNWcctpx, SUNWccccfg, SUNWccfwctrl, SUNWccinv
    Patch: 121563-02 Obsoletes:  Requires: 121453-02 Incompatibles:  Packages: SUNWbreg
    Patch: 122231-01 Obsoletes:  Requires: 121453-02 Incompatibles:  Packages: SUNWcctpx
    Patch: 120791-05 Obsoletes:  Requires: 120335-02 Incompatibles:  Packages: SUNWcbreg, SUNWdbreg, SUNWebreg, SUNWfbreg, SUNWhbreg, SUNWibreg, SUNWjbreg, SUNWkbreg, SUNWsbreg
    Patch: 122860-01 Obsoletes:  Requires: 120335-04 Incompatibles:  Packages: SUNWcupdatemgru, SUNWdupdatemgru, SUNWeupdatemgru, SUNWfupdatemgru, SUNWhupdatemgru, SUNWiupdatemgru, SUNWjupdatemgru, SUNWkupdatemgru, SUNWsupdatemgru
    bash-3.00# showrev -p | egrep -e '121454|121119|120336|121082|121564|122232|119789'
    bash-3.00# cat /var/patchsvr/solaris/WEB-INF/web.xml | grep patchsigning
    <param-value>patchsigning</param-value>
    bash-3.00# /usr/lib/cc-ccr/bin/ccr -g cns.assetid
    -857355803
    bash-3.00# patchsvr setup -l
    Patch source URL: https://getupdates.sun.com/solaris/
    Cache Location: /var/sadm/spool/patchsvr
    Web proxy host name: <our internal proxy>
    Web proxy port number: 3128
    Web proxy user:
    bash-3.00# smpatch get
    patchpro.backout.directory      -               ""
    patchpro.baseline.directory     -               /var/sadm/spool
    patchpro.download.directory     -               /var/sadm/spool
    patchpro.install.types          https://getupdates1.sun.com/solaris/    rebootafter:reconfigafter:standard
    patchpro.patch.source           -               https://getupdates1.sun.com/
    patchpro.patchset               -               current
    patchpro.proxy.host             <our internal proxy>
    patchpro.proxy.passwd           ****            ****
    patchpro.proxy.port             3128            8080
    patchpro.proxy.user             ""              ""
    bash-3.00# smpatch analyze
    120199-07 SunOS 5.10: sysidtool patch
    119252-15 SunOS 5.10: System Administration Applications Patch
    119081-25 SunOS 5.10: CD-ROM Install Boot Image Patch
    124630-01 SunOS 5.10: System Administration Applications, Network, and Core Libraries Patch
    121430-12 SunOS 5.8 5.9 5.10: Live Upgrade Patch
    124188-02 SunOS 5.10: Trusted Solaris Attributes Patch
    119315-07 SunOS 5.10: Solaris Management Applications Patch
    121308-08 SunOS 5.10: Solaris Management Console Patch
    119313-08 SunOS 5.10: WBEM Patch
    121211-01 SunOS 5.10: Sun Java Web Console (Lockhart) Patch
    119254-31 SunOS 5.10: Install and Patch Utilities Patch
    123121-02 SunOS 5.10: libwsreg.so.1 Patch
    121104-01 Adobe Acrobat Reader patch
    119963-08 SunOS 5.10: Shared library patch for C++
    120753-03 SunOS 5.10: Microtasking libraries (libmtsk) patch
    118683-01 SunOS 5.10: Patch for assembler
    122130-02 SunOS 5.10: Patch to update SUNWlocaledefsrc files
    119065-01 SunOS 5.10: fc-cache patch
    123494-03 X11 6.6.2: fontconfig patch
    119812-02 X11 6.6.2: Freetype patch
    123647-01 SunOS 5.10: gcc library .la patch
    118833-24 SunOS 5.10: kernel patch
    120780-02 SunOS 5.10: ixgb patch
    121136-01 Adobe Acrobat Reader patch
    113886-40 OpenGL 1.3: OpenGL Patch for Solaris (32-bit)
    113887-40 OpenGL 1.3: OpenGL Patch for Solaris (64-bit)
    122535-01 SunOS 5.10: llib-lcrypto patch
    122754-01 SunOS 5.10: Exacct catalogue patch
    122239-01 SunOS 5.10: Apache 2 mod_perl Perl cgi patch
    120889-01 SunOS 5.10: librac patch
    124206-02 SunOS 5.10: libtsol patch
    119578-30 SunOS 5.10: FMA Patch
    118890-03 SunOS 5.10: llib-lc patch
    120036-07 SunOS 5.10: libldap patch
    121693-03 SunOS 5.10: chicago audio patch
    122652-03 SunOS 5.10: zfs utilities patch
    124237-01 SunOS 5.10: ftp patch
    120887-06 SunOS 5.10: cdrw patch
    122009-01 SunOS 5.10: SunFreeware cdrtools patch
    122031-01 SunOS 5.10: cgsix Patch
    119580-03 SunOS 5.10: libcpc Patch
    119586-02 SunOS 5.10: pcbe Patch
    120253-03 SunOS 5.10: svc-cvcd Patch
    124444-01 SunOS 5.10: mountd patch
    120062-01 SunOS 5.10: localedef Patch
    119685-09 SunOS 5.10: svc.startd patch
    121081-06 SunOS 5.10: Connected Customer Agents 1.1.0
    120056-02 SunOS 5.10: hpc3130 Patch
    120052-03 SunOS 5.10: pam library patch
    120845-03 SunOS 5.10: auditd patch
    124235-01 SunOS 5.10: libpam.so.1 patch
    120050-04 SunOS 5.10: usermod patch
    118842-01 SunOS 5.10: dada patch
    122539-05 SunOS 5.10: volmgt and bsmconv patch
    123362-01 SunOS 5.10: libkvm.so.1 patch
    121302-01 SunOS 5.10: /platform/SUNW,A70/kernel/misc/sparcv9/platmod patch
    120990-02 SunOS 5.10: net-physical Patch
    122525-03 SunOS 5.10: Sun Fire V445 patch
    122523-03 SunOS 5.10: Sun Fire V445 platform patch
    124614-01 SunOS 5.10: sconadm proxy: UnknownHostException
    122521-01 SunOS 5.10: locator patch
    120198-05 SunOS 5.10: patch libpiclfrutree.so.1
    120195-02 SunOS 5.10: patch schpc sc_gptwocfg gptwo_pci
    120988-01 SunOS 5.10: grpck Patch
    120986-06 SunOS 5.10: mkfs and newfs patch
    119850-21 SunOS 5.10: mpt driver & picl plugins patch
    120984-01 SunOS 5.10: nss_user.so.1 Patch
    124171-03 SunOS 5.10: flash issue with SUNWscn-base due to broken package
    122517-03 SunOS 5.10: Sun Fire V215/V245 platmod patch
    122515-01 SunOS 5.10: Sun Fire V215/V245 platform patch
    122513-02 SunOS 5.10: devfsadm SUNW_cfg_link.so patch
    120815-01 SunOS 5.10: dmfe patch
    118814-01 SunOS 5.10: patch platform/sun4u/kernel/tod/sparcv9/todsg
    118812-03 SunOS 5.10: Netra ntwdt driver patch
    123334-04 SunOS 5.10: e1000g_transition patch
    123330-01 SunOS 5.10: pam_passwd_auth.so.1 patch
    122658-03 SunOS 5.10: zonecfg patch
    122650-02 SunOS 5.10: zfs tools patch
    119826-02 SunOS 5.10: libadm.so.1 patch
    118367-04 SunOS 5.10: csh Patch
    123911-01 SunOS 5.10: pam patch
    123910-01 SunOS 5.10: platform_sun4v.xml patch
    122255-03 SunOS 5.10: etc/flash/precreation/caplib patch
    122251-01 SunOS 5.10: librestart.so.1 patch
    118557-07 SunOS 5.10: platform/sun4u/kernel/drv/sparcv9/su patch
    123271-01 SunOS 5.10: iwscn patch
    121215-01 SunOS 5.10: ipsecconf patch
    123304-02 SunOS 5.10: kssl patch
    119573-01 SunOS 5.10: cachefsd patch
    123301-01 SunOS 5.10: i2c_svc patch
    119570-01 SunOS 5.10: lw8 Patch
    118346-05 SunOS 5.10: libnsl Patch
    124327-02 SunOS 5.10: libpcp patch
    121406-01 SunOS 5.10: ikeadm patch
    124325-01 SunOS 5.10: rcm modules patch
    121561-04 SunOS 5.10: keymap patch
    124282-01 SunOS 5.10: init patch
    121004-03 SunOS 5.10: sh patch
    121002-03 SunOS 5.10: pax patch
    123252-01 SunOS 5.10: platform/SUNW,Netra-T2000 patch
    121559-01 SunOS 5.10: Netra-CP3010 libprtdiag_psr patch
    121558-01 SunOS 5.10: SUNW,Netra-CP3010 platform patch
    121557-01 SunOS 5.10: SUNW,Netra-CP3010 usr/platform patch
    118929-05 SunOS 5.10: config files patch
    121556-01 SunOS 5.10: SUNW,Netra-CP3010 platform patch
    122027-08 SunOS 5.10: bge Driver Patch
    117463-03 SunOS 5.10: passwdutil Patch
    122183-02 SunOS 5.10: logadm timestamp patch
    122412-01 SunOS 5.10: ipseckey patch
    118918-22 SunOS 5.10: Solaris Crypto Framework patch
    120473-01 SunOS 5.10: nss_compat patch
    119143-02 SunOS 5.10: patch lib/libinetutil.so.1
    121337-01 SunOS 5.10: tlimod patch
    120272-06 SunOS 5.10: SMA patch
    122752-04 SunOS 5.10: FMA snmp patch
    121132-01 SunOS 5.10: cryptmod patch
    121130-01 SunOS 5.10: librcm.so.1 patch
    118879-02 SunOS 5.10: dhcp daemon patch
    119721-02 SunOS 5.10: usr/lib/efcode/sparcv9/interpreter patch
    118348-01 SunOS 5.10: fcode Patch
    119852-03 SunOS 5.10: unix branding patch
    121946-01 SunOS 5.10: Error processing FRU tree: IO error patch
    121286-04 SunOS 5.10: libfru.so.1 and libfrureg.so.1 patch
    123360-01 SunOS 5.10: usr/sbin/prtfru patch
    122519-01 SunOS 5.10: fruadm patch
    122363-02 SunOS 5.10: fru_container.conf and libfruaccess.so.1 patch
    119974-04 SunOS 5.10: fp plug-in for cfgadm
    120182-02 SunOS 5.10: Sun Fibre Channel Host Bus Adapter Library
    120346-04 SunOS 5.10: Common Fibre Channel HBA API Library
    122011-01 SunOS 5.10: SunFreeware cdrtools man pages patch
    122261-01 SunOS 5.10: SunFreeware ghostscript man pages patch
    121669-01 SunOS 5.10: SunFreeware pilot-link man pages patch
    119766-02 SunOS 5.10 : SunFreeware man pages patch
    122005-01 SunOS 5.10 : SunFreeware growisofs man pages
    120704-01 SunOS 5.10 : smartcard man patch
    122675-01 SunOS 5.10 : SunFreeware samba man pages patch
    121667-02 SunOS 5.10 : pilot-link header patch
    123809-01 SunOS 5.10: rpcsec_gss patch
    121239-02 SunOS 5.10: libgss patch
    120064-01 SunOS 5.10: stdio_iso.h Patch
    120994-01 SunOS 5.10: elf_amd64.h Patch
    120992-02 SunOS 5.10: nfs_clnt.h and nfs4_clnt.h Patch
    118925-04 SunOS 5.10: unistd header file patch
    119583-01 SunOS 5.10: memory classification header file patch
    120741-01 SunOS 5.10: seg_map header file patch
    121128-01 SunOS 5.10: lofs patch
    121580-01 SunOS 5.10: daktari and cherrystone header files patch
    118884-01 SunOS 5.10: atomic.h patch
    121721-01 SunOS 5.10: SVM header files patch
    121394-01 SunOS 5.10: aio_impl.h patch
    124280-01 SunOS 5.10: libkdb.so.1 patch
    120469-05 SunOS 5.10: kerberos patch
    121006-01 SunOS 5.10: libkadm5 and kadmind patch
    121947-01 SunOS 5.10: New Keyboards software needed
    120467-05 SunOS 5.10: lp patch
    123336-01 SunOS 5.10: statd patch
    120046-01 SunOS 5.10: nfsmapid patch
    124286-01 SunOS 5.10: chkey core dump
    122029-01 SunOS 5.10: NIS+ nis patch
    122085-01 SunOS 5.10: nispasswd patch
    122410-01 SunOS 5.10: ldaplist patch
    119073-03 SunOS 5.10: ldapclient patch
    118735-01 SunOS 5.10: patch usr/sbin/rpc.nisd_resolv
    119470-08 SunOS 5.10: Sun Enterprise Network Array firmware and utilities
    122087-01 SunOS 5.10: LTC1427-connected fan device driver patch
    121944-02 SunOS 5.10: libpsvcpolicy and libpsvcpolicy_psr patch
    122537-01 SunOS 5.10: libpiclenvmon.so.1 patch
    123256-02 SunOS 5.10: eri patch
    121235-01 SunOS 5.10: rcapd patch
    120629-05 SunOS 5.10: libpool patch
    119712-04 SunOS 5.10: usr/sbin/in.routed Patch
    124442-01 SunOS 5.10: ssh patch
    122856-03 SunOS 5.10: sendmail patch
    118733-03 SunOS 5.10: snmpdx patch
    120256-01 SunOS 5.10: hci1394 Patch
    117465-02 SunOS 5.10: fwtmp Patch
    123332-01 SunOS 5.10: tftp and in.tftpd patch
    122376-01 SunOS 5.10: prex patch
    120068-01 SunOS 5.10: in.telnetd Patch
    120809-01 SunOS 5.10: metaclust patch
    121010-02 SunOS 5.10: rpc.metad patch
    120807-01 SunOS 5.10: rpc.mdcommd patch
    120101-01 SunOS 5.10: libsmedia patch
    119555-03 SunOS 5.10: Software to support QLogic Ultra3 SCSI host bus adapters
    119090-20 SunOS 5.10: Sun iSCSI Device Driver and Utilities
    120732-01 SunOS 5.10 : libusb patch
    120201-02 X11 6.8.0: Xorg client libraries patch
    119213-10 NSS_NSPR_JSS 3.11.3: NSPR 4.6.3 / NSS 3.11.3 / JSS 4.2.4
    122119-05 SunOS 5.10: Patch for Arabic Fonts
    121734-05 SunOS 5.10: patch to support addition of new UTF-8 locales
    119397-05 SunOS 5.10: Patch for North America Region locale issues
    119401-07 SunOS 5.10: Patch for Western Europe Region locale issues
    119601-08 SunOS 5.10: Patch for European Region JDS messages
    120873-03 SunOS 5.10: xscreensaver localization message patch
    119703-07 SunOS 5.10: Patch for localeadm issues
    118706-01 SunOS 5.10: Creator and Creator3D: FFB Graphics Patch
    119648-01 SunOS 5.10: vlan driver patch
    118707-04 SunOS 5.10: Expert3D IFB Graphics Patch
    118777-08 SunOS 5.10: Sun GigaSwift Ethernet 1.0 driver patch
    118945-01 SunOS 5.10: Sun Gigabit Ethernet 3.0 driver patch
    119309-03 SunOS 5.10: PGX32 Graphics
    118711-02 SunOS 5.10: M64 Graphics Patch
    118981-03 SunOS 5.10: Sun Quad FastEthernet qfe driver
    120706-02 SunOS 5.10: XIL 1.4.2 Loadable Pipeline Libraries
    118705-01 SunOS 5.10: XVR-1000 GFB Graphics Patch
    118712-11 SunOS 5.10: Sun XVR-100 Graphics Accelerator Patch
    118708-14 SunOS 5.10: Sun XVR-1200 and Sun XVR-600 Graphics Accelerator Patch
    121975-01 CDE 1.6: Xsession patch
    120410-15 SunOS 5.10: Internet/Intranet Input Method Framework patch
    119810-03 SunOS 5.10: International Components for Unicode Patch
    120099-07 APOC 1.2: Sun Java(tm) Desktop System Configuration Shared Libraries
    119546-07 APOC 1.2: APOC Configuration Agent Patch
    124393-01 CDE 1.6: Dtlogin smf patch
    119280-08 CDE 1.6: Runtime library patch for Solaris 10
    119278-12 CDE 1.6: dtlogin patch
    121487-01 CDE 1.6: dtmail patch
    124405-01 CDE1.6: sdtfprop patch
    124403-01 CDE1.6: dtstyle patch
    122735-01 CDE 1.6: backdrops patch
    124401-01 CDE1.6: dtpad patch
    124399-01 CDE1.6: dtfile patch
    119284-01 CDE 1.6: sdtwsinfo patch
    119282-01 CDE1.6: GNOME/CDE Menu for Solaris 10
    124395-01 CDE1.6: dtaction patch
    121977-02 CDE 1.6: dtlogin resources patch
    119286-01 CDE 1.6: dtterm libDtTerm patch
    122669-01 Evolution 1.4.6: Cryptographic Library patch
    119117-24 Evolution 1.4.6 patch
    121036-01 Gnome 2.6.0: base libraries patch
    119418-03 GNOME 2.6.0: Gnome On-screen Keyboard Patch
    119414-12 GNOME 2.6.0: Gnome Accessibility Libraries Patch
    119598-08 GNOME 2.6.0: Gnome Screen Reader and Magnifier Patch
    119416-01 GNOME 2.6.0: Gnome Text-To-Speech Engine Patch
    120454-02 GNOME 2.6.0: Gnome Apoc GConf Adapter Patch
    120460-10 GNOME 2.6.0: Gnome libs Patch
    120282-02 GNOME 2.6.0: Gnome CD Player Utility Patch
    121923-01 Gnome 2.6.0: GNOME CD Burner patch
    119372-02 GNOME 2.6.0: GNOME common development tools and libraries Patch
    120284-03 GNOME 2.6.0: GNOME CORBA ORB and component framework
    120458-01 GNOME 2.6.0: Gnome configuration Patch
    122204-01 GNOME 2.6.0: configuration framework Patch
    122212-13 GNOME 2.6.0: GNOME Desktop Patch
    119410-05 GNOME 2.6.0: Gnome Applets Patch
    119540-04 GNOME 2.6.0: Gnome Dtlogin configuration Patch
    120456-01 GNOME 2.6.0: Gnome image viewer Patch
    119548-07 GNOME 2.6.0: Gnome Multi-protocol instant messaging client Patch
    123162-02 GNOME 2.6.0: Gnome Java Run Time Patch
    121095-01 GNOME 2.6.0: GNOME EXIF tag parsing library for digital cameras
    119544-03 GNOME 2.6.0: Gnome streaming media framework Patch
    122210-01 GNOME 2.6.0: GNOME Media Player Patch
    120739-03 GNOME 2.6.0: GNOME PDF Viewer based on Xpdf
    119368-05 GNOME 2.6.0: Printing Technology Patch
    121606-01 GNOME 2.6.0: Python patch
    122208-01 GNOME 2.6.0: Removable Media Patch
    119890-03 GNOME 2.6.0: search tool Patch
    120288-03 GNOME 2.6.0: Gnome terminal Patch
    120286-02 GNOME 2.6.0: Gnome text editor Patch
    119900-02 GNOME 2.6.0: Gnome libtiff - library for reading and writing TIFF Patch
    119906-07 Gnome 2.6.0: Virtual File System Framework patch
    119538-10 GNOME 2.6.0: Window Manager Patch
    119115-20 Mozilla 1.7 patch
    122424-01 SunOS 5.10: Mozilla default bookmarks patch
    122422-03 SunOS 5.10: add missing locale files for Mozilla
    119955-03 CDE 1.6: Tooltalk Runtime patch for Solaris 10
    122064-01 CDE 1.6: Tooltalk ttsession patch for Solaris 10
    119059-20 X11 6.6.2: Xsun patch
    123611-02 X11 6.6.2: Trusted Extensions patch
    124457-01 X11 6.6.2: xdm patch
    121870-01 X11 6.6.2: xterm patch
    119063-01 SunOS 5.10: libXpm patch
    ===================================
    SU client
    ===================================
    bash-3.00# uname -a
    SunOS e2 5.10 Generic_118855-15 i86pc i386 i86pc
    bash-3.00# cat /etc/release
    Solaris 10 6/06 s10x_u2wos_09a X86
    Copyright 2006 Sun Microsystems, Inc.  All Rights Reserved.
    Use is subject to license terms.
    Assembled 09 June 2006
    bash-3.00# showrev -p | egrep -e '121453|121118|120335|121081|121563|122231|119788'
    bash-3.00# showrev -p | egrep -e '121454|121119|120336|121082|121564|122232|119789'
    Patch: 121454-02 Obsoletes: 120777-03, 121087-02, 119108-07 Requires: 119575-02, 119255-06 Incompatibles:  Packages: SUNWcsu, SUNWcsr, SUNWccccrr, SUNWccccr, SUNWccfw, SUNWccsign, SUNWcsmauth, SUNWswupcl, SUNWppror, SUNWpprou, SUNWcctpx, SUNWccinv, SUNWupdatemgru, SUNWupdatemgrr, SUNWccccfg, SUNWccfwctrl, SUNWppro-plugin-sunos-base
    Patch: 121082-05 Obsoletes:  Requires: 121454-02 Incompatibles:  Packages: SUNWccccrr, SUNWccccr, SUNWccfw, SUNWccsign, SUNWcctpx, SUNWccinv, SUNWccccfg, SUNWccfwctrl
    Patch: 121119-06 Obsoletes:  Requires: 121454-02 Incompatibles:  Packages: SUNWppror, SUNWpprou, SUNWupdatemgru, SUNWupdatemgrr, SUNWppro-plugin-sunos-base
    Patch: 121119-08 Obsoletes:  Requires: 121454-02 Incompatibles:  Packages: SUNWppror, SUNWpprou, SUNWupdatemgru, SUNWupdatemgrr, SUNWppro-plugin-sunos-base
    Patch: 120336-04 Obsoletes:  Requires: 121454-01 Incompatibles:  Packages: SUNWpprou
    Patch: 122232-01 Obsoletes:  Requires: 121454-02 Incompatibles:  Packages: SUNWcctpx
    bash-3.00# smpatch get
    patchpro.backout.directory      -               ""
    patchpro.baseline.directory     -               /var/sadm/spool
    patchpro.download.directory     -               /var/sadm/spool
    patchpro.install.types          -               rebootafter:reconfigafter:standard
    patchpro.patch.source           http://monitor.pgf.com.pl:3816/solaris/ https://getupdates1.sun.com/
    patchpro.patchset               -               current
    patchpro.proxy.host             -               ""
    patchpro.proxy.passwd           ****            ****
    patchpro.proxy.port             -               8080
    patchpro.proxy.user             -               ""
    bash-3.00# smpatch analyze
    119253-16 SunOS 5.10_x86: System Administration Applications Patch
    119082-24 SunOS 5.10_x86: CD-ROM Install Boot Image Patch
    120200-07 SunOS 5.10_x86: sysidtool patch
    121431-12 SunOS 5.8_x86 5.9_x86 5.10_x86: Live Upgrade Patch
    124189-02 SunOS 5.10_x86: Trusted Solaris Attributes Patch
    119316-07 SunOS 5.10_x86: Solaris Management Applications Patch
    121309-08 SunOS 5.10_x86: Solaris Management Console Patch
    119314-09 SunOS 5.10_x86: WBEM Patch
    119255-31 SunOS 5.10_x86: Install and Patch Utilities Patch
    118855-19 SunOS 5.10_x86: kernel patch
    119964-08 SunOS 5.10_x86: Shared library patch for C++_x86
    120754-03 SunOS 5.10_x86: Microtasking libraries (libmtsk) patch
    122131-02 S10_x86: Patch to update SUNWlocaledefsrc files
    123495-03 X11 6.6.2_x86: fontconfig patch
    119813-03 X11 6.6.2_x86: Freetype patch
    123648-01 SunOS 5.10_x86: gcc library .la patch
    122530-05 SunOS 5.10_x86: nge patch
    122912-02 SunOS 5.10_x86: Apache 1.3 Patch
    120544-06 SunOS 5.10_x86: Apache 2 Patch
    118344-14 SunOS 5.10_x86: Fault Manager Patch
    124207-02 SunOS 5.10_x86: libtsol patch
    118891-03 SunOS 5.10_x86: llib-lc patch
    120037-07 SunOS 5.10_x86: libldap patch
    122653-04 SunOS 5.10_x86: utilities patch
    124238-01 SunOS 5.10_x86: ftp patch
    124445-01 SunOS 5.10_x86: mountd patch
    124247-01 SunOS 5.10_x86: devfsadmd_mod.so sysevent_conf_mod.so patch
    119686-09 SunOS 5.10_x86: lib/svc/bin/svc.startd Patch
    121082-06 SunOS 5.10_x86: Connected Customer Agents 1.1.0
    120053-05 SunOS 5.10_x86: pam library patch
    120846-03 SunOS 5.10_x86: auditd patch
    124236-01 SunOS 5.10_x86: libpam.so.1 patch
    120051-04 SunOS 5.10_x86: usermod patch
    122532-04 SunOS 5.10_x86: volmgt and bsmconv patch
    121300-02 SunOS 5.10_x86: caplib patch
    124187-03 SunOS 5.10_x86: flash issue with SUNWscn-base due to broken package
    124615-01 SunOS 5.10_x86: sconadm proxy: UnknownHostException
    123331-01 SunOS 5.10_x86: pam_passwd_auth.so.1 patch
    122663-06 SunOS 5.10_x86: libzonecfg patch
    123527-01 SunOS 5.10_x86: libcurses patch
    118368-04 SunOS 5.10_x86: csh Patch
    123909-01 SunOS 5.10_x86: gfx_private patch
    121013-02 SunOS 5.10_x86: traceroute patch
    118347-05 SunOS 5.10_x86: libnsl Patch
    121604-02 SunOS 5.10_x86: libcfgadm.so.1, scsi.so.1 patch
    124326-01 SunOS 5.10_x86: rcm modules patch
    121009-02 SunOS 5.10_x86: ufsrestore patch
    124283-01 SunOS 5.10_x86: init patch
    121005-03 SunOS 5.10_x86: sh patch
    121003-03 SunOS 5.10_x86: pax patch
    122184-02 SunOS 5.10_x86: logadm timestamp patch
    117464-02 SunOS 5.10_x86: passwdutil Patch
    122413-01 SunOS 5.10_x86: ipseckey patch
    118919-19 SunOS 5.10_x86: Solaris Crypto Framework patch
    122365-01 SunOS 5.10_x86: bscbus, bscv driver patch
    121134-02 SunOS 5.10_x86: power patch
    118880-02 SunOS 5.10_x86: dhcp daemon patch
    119975-03 SunOS 5.10_x86: fp plug-in for cfgadm
    119131-26 SunOS 5.10_x86: Sun Fibre Channel Device Drivers
    120223-11 SunOS 5.10_x86: Emulex-Sun LightPulse Fibre Channel Adapter driver
    120347-04 SunOS 5.10_x86: Common Fibre Channel HBA API Library
    122676-01 SunOS 5.10_x86: SunFreeware samba man pages patch
    121805-03 SunOS 5.10_x86: GRUB patch
    121240-02 SunOS 5.10_x86: libgss patch
    124281-01 SunOS 5.10_x86: libkdb.so.1 patch
    123335-01 SunOS 5.10_x86: krb5kdc patch
    122534-02 SunOS 5.10_x86: ktkt_warn patch
    120468-05 SunOS 5.10_x86: lp patch
    123337-01 SunOS 5.10_x86: statd patch
    122411-01 SunOS 5.10_x86: ldaplist patch
    124287-01 SunOS 5.10_x86: chkey patch
    119471-06 SunOS 5.10_x86: Sun Enterprise Network Array firmware and utilities
    120630-04 SunOS 5.10_x86: libpool patch
    124443-01 SunOS 5.10_x86: ssh patch
    119758-04 SunOS 5.10_x86: Samba patch
    122857-04 SunOS 5.10_x86: sendmail patch
    119091-20 SunOS 5.10_x86: Sun iSCSI Device Driver and Utilities
    120273-07 SunOS 5.10_x86: SMA patch
    120536-12 SunOS 5.10_x86: Updated video drivers and fixes
    124466-02 SunOS 5.9_x86 : cacao 2.0     patch 02
    119214-10 NSS_NSPR_JSS 3.11.3_x86: NSPR 4.6.3 / NSS 3.11.3 / JSS 4.2.4
    118668-09 J2SE 5.0_x86: update 9 patch (5.0u9)
    122120-05 SunOS 5.10_x86: Patch for Arabic Fonts
    119602-08 SunOS 5.10_x86: Patch for European Region JDS messages
    119704-07 SunOS 5.10_x86: Patch for localeadm issues
    122762-01 SunOS 5.10_x86: Sun Update Connection Bootstrapper
    118778-07 SunOS 5.10_x86: Sun GigaSwift Ethernet 1.0 driver patch
    119789-02 SunOS 5.10_x86, Sun Update Connection Proxy, System Edition 1.0
    120411-15 SunOS 5.10_x86: Internet/Intranet Input Method Framework patch
    119811-03 SunOS 5.10_x86: International Components for Unicode Patch
    121735-05 SunOS 5.10_x86: patch to support addition of new UTF-8 locales
    120100-07 APOC 1.2_x86: Sun Java(tm) Desktop System Configuration Shared Libraries
    119547-07 APOC 1.2_x86: APOC Configuration Agent Patch
    124394-01 CDE 1.6_x86: Dtlogin smf patch
    119281-08 CDE 1.6_x86: Runtime library patch for Solaris 10
    119279-12 CDE 1.6_x86: dtlogin patch
    121488-02 CDE 1.6_x86: dtmail patch
    124406-01 CDE 1.6_x86: sdtfprop patch
    124404-01 CDE 1.6_x86: dtstyle patch
    124402-01 CDE 1.6_x86: dtpad patch
    124400-01 CDE 1.6_x86: dtfile patch
    124396-01 CDE 1.6_x86: dtaction patch
    121978-02 CDE 1.6_x86: dtlogin resources patch
    119118-24 Evolution 1.4.6_x86 patch
    119419-03 GNOME 2.6.0_x86: Gnome On-screen Keyboard Patch
    119415-12 GNOME 2.6.0_x86: Gnome Accessibility Libraries Patch
    119599-08 GNOME 2.6.0_x86: Gnome Screen Reader and Magnifier Patch
    120455-02 GNOME 2.6.0_x86: Gnome Apoc GConf Adapter Patch
    120461-10 GNOME 2.6.0_x86: Gnome libs Patch
    120285-03 GNOME 2.6.0_x86: GNOME CORBA ORB and component framework
    122213-13 GNOME 2.6.0_x86: GNOME Desktop Patch
    119411-05 GNOME 2.6.0_x86: Gnome Applets Patch
    119549-06 GNOME 2.6.0_x86: Gnome Multi-protocol instant messaging client Patch
    122471-02 Gnome 2.6.0_x86: GNOME Java Help Patch
    123163-02 GNOME 2.6.0_x86: Gnome Java Run Time Patch
    120740-03 GNOME 2.6.0_x86: GNOME PDF Viewer based on Xpdf
    119369-05 GNOME 2.6.0_x86: Printing Technology Patch
    120289-03 GNOME 2.6.0_x86: Gnome terminal Patch
    119907-07 Gnome 2.6.0_x86: Virtual File System Framework patch
    119539-10 GNOME 2.6.0_x86: Window Manager Patch
    119116-20 Mozilla 1.7_x86 patch
    122425-01 SunOS 5.10_x86: Mozilla default bookmarks patch
    122423-03 SunOS 5.10_x86: add missing locale files for Mozilla
    122959-02 GNOME 2.6.0_x86: RealPlayer media application
    119060-19 X11 6.6.2_x86: Xsun patch
    123614-01 X11 6.6.2_x86: OpenGL patch
    123612-02 X11 6.6.2_x86: Trusted Extensions patch
    124458-01 X11 6.6.2_x86: xdm patchRegards
    przemol

  • Http status code

    Hi,
    I have a problem i tried a lot i not able find a solution for this can u please help me in resolving this.
    i have a html page in that i am uploading a file. i am sending the data in a post request. after that it will go to the servlet and there it will savethe file in the server. from there i nee to get the http status code. how can i do that. ( i am submiting the form from javascript).
    plz plz help me guys..........
    thanks in advance

    The web server should send a response to the client. The browser will display an error message if the response code is not "200 OK" such as "404 File Not Found" and so on.

  • [Exchange-Online][EWS-XML][JAVA][OAUTH2] Getting HTTP status code 500 when using OAUTH2 client credential grant flow as authorization method

    Hi,
    i'm working on enhancing a service to be able to use OAUTH2 as authentication protocol with client credential grant flow when talking to exchange online ( like described here:
    http://blogs.msdn.com/b/exchangedev/archive/2015/01/22/building-demon-or-service-apps-with-office-365-mail-calendar-and-contacts-apis-oauth2-client-credential-flow.aspx ). I gave my application the rights 
    Office 365 Exchange Online : Application Permissions: "Have full access via EWS to all mailboxes ....."
    Windows Azure Active AD: Application Permissions: "Read Directory data", Delegate Permissions: "Enable sign-on and read users_ profiles" 
    I receive a access token from log.windows.net:
    decoded token:
     typ: "JWT",
     alg: "RS256",
     x5t: "MnC_VZcATfM5pOYiJHMba9goEKY"
     aud: "https://outlook.office365.com/",
     iss: "https://sts.windows.net/<TENANT_ID>/",
     iat: 1426584502,
     nbf: 1426584502,
     exp: 1426588402,
     ver: "1.0",
     tid: "<TENANT_ID>",
     roles: [
      "full_access_as_app"
     oid: "1ddbdc11-b80d-4d1d-91b9-5b07a6b82659",
     sub: "1ddbdc11-b80d-4d1d-91b9-5b07a6b82659",
     idp: "https://sts.windows.net/TENANT_ID/",
     appid: "<APP_ID_IN_AZURE_AD>",
     appidacr: "2"
    <SIGNATURE>
    If i use that token then to send a EWS XML to exchange online i get a 500 HTTP status code back:
    With impersonation in the request:
    [http.wire ]: >> "POST /EWS/Exchange.asmx HTTP/1.1[\r][\n]"
    [http.wire ]: >> "Authorization: Bearer <MY_ACCESS_TOKEN>[\r][\n]"
    [http.wire ]: >> "SoapAction: "http://schemas.microsoft.com/exchange/services/2006/messages/GetFolder"[\r][\n]"
    [http.wire ]: >> "Content-Type: text/xml; charset=utf-8[\r][\n]"
    [http.wire ]: >> "User-Agent: OpenScapeUC EWS HttpClient/3.0[\r][\n]"
    [http.wire ]: >> "client-request-id: 5b2c7e1a-656d-4f43-bd34-ea2d6290611f[\r][\n]"
    [http.wire ]: >> "Date: Tue, 17 Mar 2015 10:08:17 GMT[\r][\n]"
    [http.wire ]: >> "Content-Length: 1189[\r][\n]"
    [http.wire ]: >> "Host: outlook.office365.com[\r][\n]"
    [http.wire ]: >> "Connection: Keep-Alive[\r][\n]"
    [http.wire ]: >> "[\r][\n]"
    [http.wire ]: >> "<?xml version="1.0" ?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Header><ns2:ExchangeImpersonation xmlns:ns2="http://schemas.microsoft.com/exchange/services/2006/types"
    xmlns:ns3="http://schemas.microsoft.com/exchange/services/2006/messages"><ns2:ConnectingSID><ns2:PrimarySmtpAddress><THE_MAILBOX_I_WANT_TO_ACCESS></ns2:PrimarySmtpAddress></ns2:ConnectingSID></ns2:ExchangeImpersonation><ns2:RequestServerVersion
    xmlns:ns2="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ns3="http://schemas.microsoft.com/exchange/services/2006/messages" Version="Exchange2007_SP1"/></S:Header><S:Body><ns3:GetFolder xmlns:ns2="http://schemas.microsoft.com/exchange/services/2006/types"
    xmlns:ns3="http://schemas.microsoft.com/exchange/services/2006/messages"><ns3:FolderShape><ns2:BaseShape>IdOnly</ns2:BaseShape><ns2:AdditionalProperties><ns2:FieldURI FieldURI="folder:FolderId"/></ns2:AdditionalProperties></ns3:FolderShape><ns3:FolderIds><ns2:DistinguishedFolderId
    Id="contacts"><ns2:Mailbox><ns2:EmailAddress><THE_MAILBOX_I_WANT_TO_ACCESS></ns2:EmailAddress></ns2:Mailbox></ns2:DistinguishedFolderId></ns3:FolderIds></ns3:GetFolder></S:Body></S:Envelope>"
    [http.wire ]: << "HTTP/1.1 500 Internal Server Error[\r][\n]"
    [http.wire ]: << "Cache-Control: private[\r][\n]"
    [http.wire ]: << "Content-Type: text/xml; charset=utf-8[\r][\n]"
    [http.wire ]: << "Server: Microsoft-IIS/8.0[\r][\n]"
    [http.wire ]: << "request-id: ec42b5c5-f8dc-498d-ae16-d851a852058c[\r][\n]"
    [http.wire ]: << "Set-Cookie: ClientId=<DELETED>; expires=Wed, 16-Mar-2016 10:08:17 GMT; path=/; secure; HttpOnly[\r][\n]"
    [http.wire ]: << "X-CalculatedBETarget: am2pr02mb0387.eurprd02.prod.outlook.com[\r][\n]"
    [http.wire ]: << "X-DiagInfo: AM2PR02MB0387[\r][\n]"
    [http.wire ]: << "X-BEServer: AM2PR02MB0387[\r][\n]"
    [http.wire ]: << "X-AspNet-Version: 4.0.30319[\r][\n]"
    [http.wire ]: << "Set-Cookie: exchangecookie=<DELETED>; expires=Thu, 17-Mar-2016 10:08:17 GMT; path=/; HttpOnly[\r][\n]"
    [http.wire ]: << "Set-Cookie: [email protected]=<DELETED>; expires=Thu, 16-Apr-2015 10:08:18 GMT; path=/EWS; secure; HttpOnly[\r][\n]"
    [http.wire ]: << "Set-Cookie: [email protected]=<DELETED>; expires=Thu, 16-Apr-2015 10:08:18 GMT; path=/EWS; secure; HttpOnly[\r][\n]"
    [http.wire ]: << "X-Powered-By: ASP.NET[\r][\n]"
    [http.wire ]: << "X-FEServer: DB5PR01CA0064[\r][\n]"
    [http.wire ]: << "Date: Tue, 17 Mar 2015 10:08:17 GMT[\r][\n]"
    [http.wire ]: << "Content-Length: 891[\r][\n]"
    [http.wire ]: << "Accept-Ranges: none[\r][\n]"
    [http.wire ]: << "Connection: keep-alive[\r][\n]"
    [http.wire ]: << "[\r][\n]"
    Without impersonation in the request:
    Request
    [http.wire ]: >> "POST /EWS/Exchange.asmx HTTP/1.1[\r][\n]"
    [http.wire ]: >> "Authorization: Bearer <MY_ACCESS_TOKEN>[\r][\n]"
    [http.wire ]: >> "SoapAction: "http://schemas.microsoft.com/exchange/services/2006/messages/GetFolder"[\r][\n]"
    [http.wire ]: >> "Content-Type: text/xml; charset=utf-8[\r][\n]"
    [http.wire ]: >> "User-Agent: OpenScapeUC EWS HttpClient/3.0[\r][\n]"
    [http.wire ]: >> "client-request-id: 20bd722f-8276-4ebb-8d58-ce45d31f3ed4[\r][\n]"
    [http.wire ]: >> "Date: Tue, 17 Mar 2015 09:33:24 GMT[\r][\n]"
    [http.wire ]: >> "Content-Length: 871[\r][\n]"
    [http.wire ]: >> "Host: outlook.office365.com[\r][\n]"
    [http.wire ]: >> "Connection: Keep-Alive[\r][\n]"
    [http.wire ]: >> "[\r][\n]"
    [http.wire ]: >> "<?xml version="1.0" ?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Header><ns2:RequestServerVersion xmlns:ns2="http://schemas.microsoft.com/exchange/services/2006/types"
    xmlns:ns3="http://schemas.microsoft.com/exchange/services/2006/messages" Version="Exchange2007_SP1"/></S:Header><S:Body><ns3:GetFolder xmlns:ns2="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ns3="http://schemas.microsoft.com/exchange/services/2006/messages"><ns3:FolderShape><ns2:BaseShape>IdOnly</ns2:BaseShape><ns2:AdditionalProperties><ns2:FieldURI
    FieldURI="folder:FolderId"/></ns2:AdditionalProperties></ns3:FolderShape><ns3:FolderIds><ns2:DistinguishedFolderId Id="contacts"><ns2:Mailbox><ns2:EmailAddress><THE_MAILBOX_I_WANT_TO_ACCESS></ns2:EmailAddress></ns2:Mailbox></ns2:DistinguishedFolderId></ns3:FolderIds></ns3:GetFolder></S:Body></S:Envelope>"
    Response:
    [http.wire ]: << "HTTP/1.1 500 Internal Server Error[\r][\n]"
    [http.wire ]: << "Cache-Control: private[\r][\n]"
    [http.wire ]: << "Content-Type: text/xml; charset=utf-8[\r][\n]"
    [http.wire ]: << "Server: Microsoft-IIS/8.0[\r][\n]"
    [http.wire ]: << "request-id: 923ba463-490f-4ac9-a496-993cd8a44115[\r][\n]"
    [http.wire ]: << "Set-Cookie: ClientId=<DELETED>; expires=Wed, 16-Mar-2016 09:33:24 GMT; path=/; secure; HttpOnly[\r][\n]"
    [http.wire ]: << "X-CalculatedBETarget: am2pr02mb0387.eurprd02.prod.outlook.com[\r][\n]"
    [http.wire ]: << "X-DiagInfo: AM2PR02MB0387[\r][\n]"
    [http.wire ]: << "X-BEServer: AM2PR02MB0387[\r][\n]"
    [http.wire ]: << "X-AspNet-Version: 4.0.30319[\r][\n]"
    [http.wire ]: << "Set-Cookie: exchangecookie=<DELETED>; expires=Thu, 17-Mar-2016 09:33:25 GMT; path=/; HttpOnly[\r][\n]"
    [http.wire ]: << "Set-Cookie: [email protected]=<DELETED>; expires=Thu, 16-Apr-2015 09:33:25 GMT; path=/EWS; secure; HttpOnly[\r][\n]"
    [http.wire ]: << "Set-Cookie: [email protected]=<DELETED>; expires=Thu, 16-Apr-2015 09:33:25 GMT; path=/EWS; secure; HttpOnly[\r][\n]"
    [http.wire ]: << "X-Powered-By: ASP.NET[\r][\n]"
    [http.wire ]: << "X-FEServer: AM3PR07CA0038[\r][\n]"
    [http.wire ]: << "Date: Tue, 17 Mar 2015 09:33:24 GMT[\r][\n]"
    [http.wire ]: << "Content-Length: 799[\r][\n]"
    [http.wire ]: << "Accept-Ranges: none[\r][\n]"
    [http.wire ]: << "Connection: keep-alive[\r][\n]"
    If i use BASIC authentication and impersonation the request is successfully. 
    Has anyone an idea why i might get the error 500 in that scenario?

    For EWS to work with App Token, you need to do two more things. One you already did: Set the impersonation header. Two is to set the X-AnchorMailbox http request header to the smtp address of the mailbox you want to access. This routes the request instantly
    to the right backend.
    Hope this helps.
    Thank you! Matthias

Maybe you are looking for

  • Firefox will not open after unlocking Sempron

    After upgrading to a new motherboard and unlocking Sempron processor, Firefox will not open. I have tried Firefox (safe mode) and rolled back to a previous version, but to no avail. It worked fine when I ran the Sempron 140 as a single core (even ove

  • HT1661 Target disc mode not working

    My target disc (Macbook Pro) shows the firewire icon but nothing shows up on the host (PowerMac). I've tried several different ways and enabled it to show up in preferences. I don't have any other firewire device plugged in. I'm using a brand new cab

  • Small playlist problem

    hi, recently my "Recently Added" playlist has disappeared. how do I get it back? [IMG]http://i26.photobucket.com/albums/c107/ryder904/8745.jpg[/IMG]

  • Unable to send my mails

    Hi, Could anyone help solve the following problem? All of a sudden, my outgoing mails are stuck in the "out-going box". It worked perfectly well early this morning. The in-coming mails are coming in fine. Thanks for your help. Claire

  • Xcode 4.1: Failed to download documentation package for Mac OS X 10.7 Core Library.

    I have installed Xcode 4.1 in Mac OS lion 10.7, Xcode is failed to download the Mac OS X 10.7 Core Library, but Xcode4.1 download Xcode4.1 developer library successfully. who knows why it is?