Comments (4)
You made my Day. I totally overlooked this.
That's what happens if you only follow the instructions strictly, just copy&paste and don't look at the code carefully.
Thanks a lot Miranda
from graylog2-server.
Can you share your reverse proxy configuration? Can you verify that the reverse proxy is also preserving cookies?
from graylog2-server.
Hi,
i use the standard configuration as described in the instructions.
server
{
listen 80 default_server;
listen [::]:80 default_server;
server_name graylog.ald-vt.de;
location / {
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Graylog-Server-URL https://$server_name/;
proxy_pass http://127.0.0.1:9000;
}
}
Unfortunately, I can't answer your question about the cookie because I don't know how to check it.
I have tested with different browsers in normal or incognito mode.
Only the login process does not work. If I configure the graylog server with an IP and not with localhost and thus bypass the proxy, the login works. If I now configure everything back again and use the proxy again, graylog works as long as I remain logged in.
from graylog2-server.
I was able to reproduce the issue as you describe. I found the issue is with the following line:
proxy_set_header X-Graylog-Server-URL https://$server_name/;
Because nginx is not using TLS/HTTP, the web browser is rejecting setting the authentication cookie:
If you chance change
proxy_set_header X-Graylog-Server-URL https://$server_name/;
to (note https
is changed to http
)
proxy_set_header X-Graylog-Server-URL http://$server_name/;
The issue is resolved.
from graylog2-server.
Related Issues (20)
- Incomplete query parse error decorator is duplicated HOT 1
- Cannot edit a status of an investigation that is assigned to no longer existing user
- Investigation modal - investigation name cannot be selected and therefore copied easily
- Missing investigation_ids field required in the test case. HOT 1
- Grey out the name field of archived investigation
- "Index Set Strategy" disables submit button inconsistently
- OS Transport/HTTP Ports cannot be changed in data node docker image HOT 1
- Search page - Double error/warning icons
- MongoDB Health System Notification HOT 1
- Share button not enabled immediately after Event Definition/Notification creation
- User without streams:read can attempt to save Event Definition without streams
- Delete button should be hidden for last stage in pipeline
- Connection check for remote data-node migration prefers IPv6 HOT 1
- Data Routing: Insensitive toggles and error on Destinations page HOT 2
- Keyboard shortcut for opening query history conflicts with browser shortcuts
- Does the open source version of Graylog 6.0.5 support Elasticsearch 7.10.2? HOT 7
- Advanced field types not resolved in label texts for charts with custom units
- Datanode: Data is not available after migration with In-Place migration
- Removing data nodes from cluster does not relocate shards correctly
- Access-Control-Allow-Headers is not explicitly listing Authorization header HOT 3
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 graylog2-server.