Comments (6)
Cris, thank you for reporting this issue . Is this in an author or publish scenario and are you using one or multiple servers behind the ELB?
from peregrine-cms.
This is in author mode. I'm using httpd on another instance between the peregrine instance and the ELB. When I access via http, everything seems fine. It might be a problem with the Authorization header. When the problem happens, the access.log at peregrine shows the request to /system/sling/info.sessionInfo from anonymous.
from peregrine-cms.
just wondering - are you using 2 authors behind the elb or just one? If you install an out of the box sling instance - do you see the same issue?
from peregrine-cms.
For now, I have taken httpd out of the mix. As of now there is only one author and one elb.
No I don't think Sling or Composum have exactly this same problem. When I log in direct to https:///bin/browser.html it will redirect after authn to http. But Sling and Composum still render when I request https URI's
I feel the problem relates to 302 sent from com.peregrine.admin.servlets.AccessServlet, which seems to be giving the location fully qualified location including http protocol. When the front end requests /perapi/admin/access.json it is handled by AccessServlet and redirected to http:///system/sling/info.sessionInfo
Since the application is behind an ELB or proxy that is terminating SSL, the location could be given with only the path like Location: /system/sling/info.sessionInfo which should allow the browser to use the protocol and domain inherited from the requested document.
from peregrine-cms.
I know this is not the best fix. But it avoids the problem and allows the app to render from https...
from peregrine-cms.
The current 'master' branch has a fix for this issue but it also contains other changes beside that.
from peregrine-cms.
Related Issues (20)
- Add support for Peregrine's Sling Model based on JSon Schemas HOT 1
- Add Support for GraphQL and a GraphiQL client
- how to delete objectDifinition go to the Recyclebin display the deleted objectdifinition file? HOT 1
- Fix the broken Actions tab on the Object's right panel HOT 3
- Make the Tags based on Object Definition HOT 1
- Use ui-schema.json to render the objects
- Site Setup Replication breaks editing in local replication mode
- Locally replicated page is blank when rendered under /live
- It's possible to replicate a page without the referenced new image in `remote` mode HOT 2
- Tie the globe icon button to the same action as 'Publish to Web'
- Block 'unpublish' and 'delete' actions on referenced items HOT 4
- Login does not work for certain paths HOT 8
- unpublish an item that was never published throws a client side exception
- evaluate if the icon edit functionality in the rich text editor can use a web component HOT 4
- Remove self-reference from references list
- Remove cross-tenant publishing display in modal window
- `<peregrine-icon>` is not removable with backspace/delete key
- `<pathbrowser>` in `<collection>` no showing (first time)
- references initial state issues
- Swagger editor update
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from peregrine-cms.