Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
16 replies
Subscribers
9 subscribers
Views
4229 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi, We're having issues trying to embed an action in a external w
ramonr
over 9 years ago
Hi,
We're having issues trying to embed an action in a external webpage.
We double checked CORS configuration but it still throws a "Server error" message.
The IE net debugger founds a 401 error when calling "
bpm10.int.bankinter.bk:8443/.../tempoSvc".
The environment is configured with SSO.
Any suggestions on this?
Thank you in advance
OriginalPostID-191796
OriginalPostID-191796
Discussion posts and replies are publicly visible
0
ramonr
over 9 years ago
The HTML code that embeds tha action is as follows:
<!DOCTYPE html>
<html xmlns="
http://www.w3.org/1999/xhtml"
lang="lang">
<head>
<title>Alta de servicios</title>
</head>
<body class="main">
<h1>Alta de servicios</h1>
<section id="mainSection">
<!-- InstanceBeginEditable name="section" -->
<appian-action processModeUuid="0003dc09-23ed-8000-5131-010000010000"></appian-action>
<!-- 0034dba0-e9f7-8000-0316-010000010000 -->
<!-- InstanceEndEditable -->
</section>
<script type="text/javascript" src="
SERVER_NAME:8443/.../script>
</body>
</html>
The process model is configured to have a SAIL Start Form that is not chained.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sean Kim
Appian Employee
over 9 years ago
Hello! Are there any notable entries in the application server log or web server log? This looks to be related to your SSO configurations. I also see you are using SSL so there are many security variables than can be involved in this error
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ramonr
over 9 years ago
Hi Sean,
No, not even a single entry in the log when you load the page. I also guess that's related to it but, can't you figure out what could be the key?
Would it be useful to change the trace level to debug for certain security classes?
Thank you!!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Tom Ryan
Appian Employee
over 9 years ago
1. Can you attach a screenshot showing the error you see?
2. Does the user see the error even if they already have a session with the SSO?
3. Can you clear the app server log, then add the following loggers in <Appian Home>/ear/suite.ear/resources/appian_log4j.properties, then reproduce the error and attach the new log:
log4j.logger.com.appiancorp.security=DEBUG
log4j.logger.org.springframework.security=DEBUG
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ramonr
over 9 years ago
1. I attach the screenshot. The translation is: "Server Error
An error was found on the server processing your request. Try again later."
2. Yes, even if the user is logged in another tab.
3. I will change the log4j and let you know.
Thank you Tom
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ramonr
over 9 years ago
We've changed the trace level for that classes but nothing is logged on the application-server.log.
The audit-log.csv does show a new row with the correct SSO user logged in.
Attached is the detail of the request that is returning 401
Request header.docx
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
What are the values of these two settings in custom.properties
conf.suite.SCHEME=
conf.suite.SERVER_AND_PORT=
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ramonr
over 9 years ago
Hi Eduardo,
conf.suite.SCHEME=https
conf.suite.SERVER_AND_PORT=bpm10.int.bankinter.bk:8443
the same as in the request and the HTML code.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
Why are you using 8443? did you configure JBoss with SSL instead of SSL on the Web Server (Apache, IIS)?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ramonr
over 9 years ago
No, JBoss is configured to run on 8080 and SSL is configured on Apache running on 8443.
It shouldn't make any difference to configure it on 8443/8080 or 443/80, should it?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
>