Skip to content

Error while fetching league list: Response code 403 #8384

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
kornuolis2 opened this issue Dec 20, 2024 · 14 comments
Open
2 tasks done

Error while fetching league list: Response code 403 #8384

kornuolis2 opened this issue Dec 20, 2024 · 14 comments
Labels
bug Something isn't working

Comments

@kornuolis2
Copy link

kornuolis2 commented Dec 20, 2024

Check version

  • I'm running the latest version of Path of Building and I've verified this by checking the changelog

Check for duplicates

  • I've checked for duplicate open and closed issues by using the search function of the issue tracker

What platform are you running Path of Building on?

Windows

How is Path of Building expected to behave?

Clicking Trade for these items i am supposed to enter my session ID,realm, league and go on looking for gear updates.

How does Path of Building behave?

In "Trade for these items" window i receive Error while fetching league list: Response code 403

Realm and league dropdown are inactive.
image

Portable version works only once, after unpacking. It still shows the error, but the message disappears after item search
image
After quiting portable version and opening it again the issue repeats itself as shown on the very first screenshot above.
Workaround is to unpack the zip into new folder or delete these 2 files:
image
but in this case i need to enter Username for importing and sessionID again.
Tried both 2.49.3 and 2.49.0 versions.

How to reproduce the issue

Import any charachters, switch to Items tab and click on Trade for these items.

Character build code

No response

Screenshots

No response

@kornuolis2 kornuolis2 added the bug Something isn't working label Dec 20, 2024
@cemkod
Copy link

cemkod commented Dec 21, 2024

Having the same problem.

@LocalIdentity
Copy link
Contributor

LocalIdentity commented Dec 28, 2024

Your poesessid has expired and it's trying to use the old number to access the website and this causes and error. Should be fixed when I merge this PR #8386

For now, update your poesessid or remove it

@Since-T
Copy link

Since-T commented Feb 1, 2025

Your poesessid has expired and it's trying to use the old number to access the website and this causes and error. Should be fixed when I merge this PR #8386

For now, update your poesessid or remove it

Got the same Problem, but for me, i tested both versions (portable and installed). Both dont work, even when entering a new processid i always get the error code 403.
I tested every workaround here and in the PR but nothing works for me.

EDIT:
Removing the processID will go into No Session Mode which will work fine to load the Leagues.
But you cant load a private league anymore with that. Because every time you enter a processID the leagues can not get loaded.

@Kanaxai
Copy link

Kanaxai commented Feb 2, 2025

Same problem here, could be an issue with private leagues as I am trying to use the POB trade in Pohx league.

@w4fz5uck5
Copy link

Your poesessid has expired and it's trying to use the old number to access the website and this causes and error. Should be fixed when I merge this PR #8386
For now, update your poesessid or remove it

Got the same Problem, but for me, i tested both versions (portable and installed). Both dont work, even when entering a new processid i always get the error code 403. I tested every workaround here and in the PR but nothing works for me.

EDIT: Removing the processID will go into No Session Mode which will work fine to load the Leagues. But you cant load a private league anymore with that. Because every time you enter a processID the leagues can not get loaded.

To resolve this issue (including for the Pohx league), follow these steps:

1 - Remove your current POESESSID in PoB’s "Session mode" and save it as null.
2 - Re-enter your POESESSID and save the changes.
3 - If you're looking to find better items for your build, follow these steps:

Click "Find Best" and select your pre-defined weight sum filters.
1 - Open your browser and navigate to the Settlers league.
2 - Change the current league to Pohx.
3 - Browse for the best items to optimize your build.

@Since-T
Copy link

Since-T commented Feb 2, 2025

@w4fz5uck5 But with that you only use the "no session mode". Than you don't need to enter your POESESSID at all.
Than you can generate links without errors.

But the Feature to compare them as a list directly in pob and the feature that it try different weighed links doesn't work here. For that it need the private league trade website and the income from the offers that exist there.
With the "workaround" you describe you can only search with all items exist in a way bigger league/economy.

For private Leagues you cant use the "session mode" feature at all. All workaround just use the "no session mode" even when the text says other. This is what i want to point out.

@TheFinalChiTown
Copy link

TheFinalChiTown commented Feb 9, 2025

I'm also having this issue. I can temporarily work around it by deleting, saving null, then re-entering, and saving my POESESSID. However, the problem returns if I restart the application or load another build. League: Settlers.

@settonull
Copy link

I'm having the same issue still (2.52.3) - have to null the session id to get the league list. Of course it's kinda mute because it won't generate meaningful searches at all. but I guess I should file a different bug report for that.

@delebota
Copy link

Same issue, tried reinstalling and it's still broken for me

@Loadst0ne
Copy link

Still happening in Phrecia

@Ham5terzilla

This comment has been minimized.

@Protuhj
Copy link
Contributor

Protuhj commented Mar 3, 2025

Looking into this a little bit, from what I can tell, this is their CloudFare spam protection blocking the request.

If you look at your cookies when loading the https://www.pathofexile.com/trade site, you'll notice a cf_clearance= cookie in addition to the POESESSID.

All the code is trying to do is download the object at the bottom of the page, require(["main"], function(){require(["trade"],... and it seems like this is the only (?) page that requires the cf_clearance cookie?

I think if the download fails due to the 403, it should just fall back to the static list and/or allow us to paste in the require(["main"], function(){require(["trade"],... code so it can parse our personalized leagues, without needing to make that initial request.

@darkdex52
Copy link

Also it can't keep memory of the last selected league once you delete the SESSIONID, always defaults to Settlers for now.

Protuhj added a commit to Protuhj/PathOfBuilding that referenced this issue Mar 4, 2025
The www.pathofexile.com/trade site 403s apparently due to CloudFlare spam protection (see PathOfBuildingCommunity#8384).

If you're using POESESSID, this means you can't use the trade tool until you null-out the POESESSID, to use the static league data.

This branch attempts to fall back to a new field that can be user-supplied, Misc->TradeLeagueData.

This is intended to be grabbed from the source of www.pathofexile.com/trade by the user, rather than POB trying to grab it.

If that doesn't exist, the tool will finally fall back to the static list.

A UI entry isn't provided in this branch.
@Probelp
Copy link

Probelp commented Apr 1, 2025

The issue still persists on 2.52.3 (beta).
Manually null-outing POESSID helps, I can generate and search on generated links, but I cannot search on custom links getting the same 403 error.

pic

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests