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
5 replies
Subscribers
7 subscribers
Views
3708 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Administration
Unable to login after upgrade
ChristineH
Certified Lead Developer
over 8 years ago
I upgraded my local from 16.1 to 16.2 and everything starts fine, but I get a 401 - Unauthorized for any user (including Administrator). I have checked I copied all the KBS, etc. but can't see what I missed. Any suggestions would be greatly appreciated!
OriginalPostID-237398
Discussion posts and replies are publicly visible
0
Sean Twombly
Appian Employee
over 8 years ago
Does the error log provide more than just the 401 that you see when logging in? It may provide something additional like a CSRF or CORS origin error.
Do different browsers provide different results since browser client security settings can vary between your browsers?
Check if your SERVER_AND_PORT goes to a web server, like Apache, and verify if the configurations follow best practices. The way that security is set in the Apache configuration could cause something like this.
You can also test setting your SERVER_AND_PORT to hit your application server directly to see if this works around the 401 problem, further isolating it to the web server layer. This applies if you aren't already setting it to the application server URL to begin with.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ChristineH
Certified Lead Developer
over 8 years ago
Nothing in the logs.. This is a local install with JBoss
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ChristineH
Certified Lead Developer
over 8 years ago
What should I check to make sure I migrated the users over?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Jim Schweitzer
Certified Lead Developer
over 8 years ago
I don't think you'd get a 401 if there was an engine problem, just wouldn't be able to log in. If you're running on http did you remember to make the https cookies change to web.xml ?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ChristineH
Certified Lead Developer
over 8 years ago
Jim - So you were close... I forgot to remove the 2 from the custom.properties file for the http setting... :-(
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel