Comments (9)
Thanks for the report, @Fastburn. Unfortunately, I've not been able to reproduce this on the production site (or my local dev) in either browser on Windows 11. I also tried in Chrome and Safari on MacOS.
Is there anything else that seems off anywhere else?
To dig in a bit deeper, which protocol is being used (e.g. http
vs https
)? Is www.
prefixed to the domain or not? Does the behavior change if you modify any of this?
from galaxyharvester.
I have asked another often regular user of the website, Jaws, who hasn't seen this either. I have tried it via HTTP and HTTPS with the www. prefixed on the domain, and it didn't change anything same issue. This has been an issue for more than a month, but it wasn't always acting like this, as you can see I have some saved from the past.
from galaxyharvester.
I have asked another often regular user of the website, Jaws, who hasn't seen this either. I have tried it via HTTP and HTTPS with the www. prefixed on the domain, and it didn't change anything same issue. This has been an issue for more than a month, but it wasn't always acting like this, as you can see I have some saved from the past.
Thanks for the additional context, @Fastburn. That sounds frustrating.
The error message "Error: must be logged in to update alerts"
can occur if a user isn't signed in and attempts to do one of the following:
- request a list of existing saved alerts (GET)
- create a new alert / update existing alerts (POST)
Both of these actions, as far as I can tell, use the exact same logic for determining if a user is signed in. Given you're able to retrieve your list of alerts, it appears the first example (GET) works for you, but the second one (POST) doesn't.
This is strange. The only obvious difference to me is the HTTP method being used in the request (GET vs POST). The first thing that jumps out at me is perhaps an overly-aggressive browser plugin or browser protection via antivirus/anti-malware software that is specifically triggering when a POST request is made instead of a GET request.
Have you recently made any changes to your browser protection?
EDIT
I want to highlight that these requests are made asynchronously, which might also be a factor at play. I assume you can make regular synchronous POST requests, e.g. signing in. Asynchronous POST requests (such a submitting alert updates) might be the culprit.
from galaxyharvester.
Nothing has changed, no new plugins. I have tried different browsers one of which has no extensions installed and the issue is the same for me.
from galaxyharvester.
@Fastburn Gotcha. I'd like to know if the POST and GET requests are actually doing something different.
To do this, I'll need you to:
- enable and open the developer tools in your browser
- switch to the Network tab
- filter XHR traffic
- go through the process of refreshing the page and then attempt to update the alerts.
You should see requests for the following resources requested:
getResourceGroupList.py
(GET)updateFilters.py
(POST)
You should be able to click on each request. For each request, there should be a cookie with the key gh_sid
, and the value should be the same in both requests.
DO NOT SHARE the value here. 😅 But, I'm curious...
- Is there a
gh_sid
cookie in both requests? - If so, is the
gh_sid
value the exact same in both requests?
Again, please do not share the value of the cookie here.
from galaxyharvester.
1.) gh_sid is in both both requests.
2.) gh_sid value is the same for getResourceGroupList.py (GET) and updateFilters.py (POST)
The only odd thing that stood out was that for the POST, it was under https://www.galaxyharvester.net/updateFilters.py?undefined=
from galaxyharvester.
@Fastburn I'm kinda mystified on this one too, but I cleaned up a couple things on that form that was causing it to pass that extra undefined. I also cleaned up some old session data. I can't see any direct link between these things and this issue, but if it changes anything, it might give us a clue. If you could do a hard refresh and test again, please let us know if anything changes.
from galaxyharvester.
This seems to have fixed it. Thank you guys for looking into it, I know it was a pain.
from galaxyharvester.
sweet
from galaxyharvester.
Related Issues (20)
- Breaks not parsed in "In Game Names" Field HOT 5
- Creature food and Creature structural old spawns not removed with new droid report HOT 7
- Resource alerts settings ("My Alerts") load in an unreadable state
- Unable to add creature data HOT 2
- Test server email verification links direct to main site HOT 1
- Jumbled layout in more detailed Resource List Layout HOT 1
- Planet name missing from hover text on planet bar when available HOT 1
- survey droid interface occludes resource data entry on small screens HOT 2
- Verify on individual resource page HOT 6
- Force HTTPS?
- Alerts sending as [email protected]@galaxyharvester.net HOT 1
- Alternative link breaking intermittently on alert mails
- resourceList.py exploded HOT 1
- `getComponentList.py` excludes manually-entered components HOT 3
- CI failing with unavailable Ubuntu 18.04 image
- Schematic ingredient tracking could be more helpful HOT 1
- Resource dropdown is empty when adding a new filter row
- `getComponentList.py` include all existing components
- `schematics.py` function `getComponentLink/3` should account for current galaxy
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 galaxyharvester.