cancel
Showing results for 
Search instead for 
Did you mean: 

401 Unauthorized Error in Portal

Former Member
0 Kudos

Hi! We have problem in Portal system, we unable to access to it.  Its not able to open the any link (Ex:http://hostname:port/nwa or any other.), any is terminated with this error:

************

401 Unauthorized

Error: Unauthorized

Troubleshooting Guide https://sdn.sap.com/irj/sdn/wiki?path=/display/jstsg/home

************


The error message is displayed soon after opeining the URL, ex if we try opening the URL:http://hostname:port/nwa, the error message is displayed immediately after opeining the link in the browser, not reach the point of asking the password.

I cleared up the browser cache and restarted the SAP and the OS, but the error still exist.


In logs have any errores:


dev_server0:


ERROR => JRFC> Java_com_sap_conn_rfc_driver_CpicDriver_nativeSAP_1CMACCPTP SAP_CMACCPTP returned 6 [jrfc.c       1304]


dev_icm_sec:


***********************************************************************************

******                           SECURITY LOG STARTED                        ******

***********************************************************************************

***********************************************************************************

******                              SECURITY WARNING                         ******

***********************************************************************************

Tue Nov 17 17:00:38 2015

Error: Protocol error (-21), NULL bytes in HTTP request [http_plg.c 6829]

Any help will be welcome.

Thanks,

Juan.


Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Juan,

Is this a new installation or an old one?

Are all the services up and running for the system?

Thanks.

Best Regards,

Anita

Former Member
0 Kudos

Hi ana! It is a new installation but it works well for two weeks until started this failure. All processes are OK.
Thanks!

isaias_freitas
Advisor
Advisor
0 Kudos

Hello Juan,

So it worked fine for two weeks and it has "suddenly" stopped working...?

Where any changes made to the system? Like parameter changes, software updates, changes at the server / operating system level, ...

Regards,

Isaías

Former Member
0 Kudos

Hi Juan,

Could you please share the trace/logs from the below files....

defaultTrace_00.00.trc

server_00.0.log

security_00.0.log

Regards,

Prithviraj.

Former Member
0 Kudos

Hi! These're the errors found in the logs:

1) defaultTrace_00.00.trc

15 errors
"
        at com.sap.engine.services.webservices.jaxrpc.util.Compiler.compile(Compiler.java:53)
        at com.sap.engine.services.webservices.jaxrpc.util.PackageBuilder.compileExternal(PackageBuilder.java:414)
        at com.sap.engine.services.webservices.jaxrpc.util.PackageBuilder.traversThrough(PackageBuilder.java:359)
        at com.sap.engine.services.webservices.jaxrpc.util.PackageBuilder.compileExternal(PackageBuilder.java:621)
        at com.sap.engine.services.webservices.server.deploy.wsclients.WSClientsInitialStartProcess.generateImplementationFramework(WSClientsInitialStartProcess.java:295)
        ... 29 more
Caused by: com.sap.engine.compilation.CompilerException:  Compilation Failed! Exit Code=1^M


error while getting children from </attachment>  - com.sapportals.wcm.repository.ServiceUnavailableException: can't retrieve info from persistence (Current transaction is marked for rollback, can't return a new connection!)


Exception of type com.sap.sql.log.OpenSQLException caught: Exception of type java.sql.SQLException caught: ORA-00257: archiver error. Connect internal only, until freed


com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION:
ERROR       connection to partner '172.......:3900' broken
TIME        Fri Nov 13 10:43:39 2015
RELEASE     742
COMPONENT   NI (network interface)
VERSION     40
RC          -6
MODULE      /bas/742_REL/src/krn/si/gw/gwxx.c
LINE        517
DETAIL      NiIRead:
SYSTEM CALL GwRead
COUNTER     1


RfcException:
    message: CPIC-CALL: SAP_CMACCPTP on convId: 00000000

LOCATION    SAP-Gateway on host fff...... / sapgw00
ERROR       registration of tp XXX from host fff.......... not
            allowed
TIME        Fri Nov 13 11:00:56 2015
RELEASE     720
COMPONENT   SAP-Gateway
VERSION     2
RC          720
MODULE      gwxxrd.c
LINE        3657
COUNTER     11916105

*************
2) server_00.0.log

#2.0^H#2015 10 09 10:46:22:305#0-300#Error#/System/Server#
#EP-PIN-PRT#sap.com/irj#C000AC111D8402BE0000000000001936#1144750000000004#sap.com/irj#com.sap.portal.navigation.Gateway#Guest#0##9F57F5E76DF811E5BA150000001177AE#9f57f5e76df811e5ba150000001177ae#9f57f5e76df811e5ba150000001177ae#0#Thread[HTTP Worker [@570050086],5,Dedicated_Application_Thread]#Plain#com.sap.engine.services.monitor.mbeans.MonitorResourceBundle#
unable to forward request#

Load shortcut failed. RscpInfo: Load shortcut failed.
InCp: 0100 OutCp: 0000
Rscp return code: 2048
Rscp error info:
.------------------------------============----------------------------.
|                              RSCP - Error                            |
| Error from:             Codepage handling (RSCP)                     |
| code: 2048  RSCPENOCONV  Wanted conversion not available.            |
| no shortcut conversion table                                         |
| module: rscpc    no:  259 line: 22426                    T100: TS012 |
| TSL01: CP9  p3: len=1,data=00                                        |
|             p4: (0100->4103): kind of T1 entry 536870912             |
|----------------------------------------------------------------------|
| Impromptu CCC initialization by                                      |
`----------------------------------------------------------------------'


*************

security_00.0.log

No error

***************************************************

None of the mistakes I see serious enough to not even show the home screen or NWA.

Thanks!

Former Member
0 Kudos

Hi,

The logs provided by you are very old and not relevant to the error.

Regards,

Prithviraj.

Former Member
0 Kudos

Yes, that's the problem, the logsdo not have any errors to help us. We believe the problem is with the SSO which was activated in some way, does anyone if we can deactivate this from the ConfigTool (because we cannt access to NWA)? Any way back to the defaults value SSO?

Thank you!