question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Accessed Denied Error in Chrome

See original GitHub issue

We updated from 1.1.1 to 1.1.5 and all of a sudden started getting an access denied error for all users when running a Chrome browser. We did not see the issue when running Safari for whatever reason.

This is what we’re seeing in logs.


2021-05-17T11:16:06.992-05:00 | ERROR 2021-05-17 16:16:06,991 views.post:398 21 140332912957248 Received SAMLResponse when no request has been made.
-- | --
  | 2021-05-17T11:16:06.992-05:00 | Traceback (most recent call last):
  | 2021-05-17T11:16:06.992-05:00 | File "/home/fmapp/.local/lib/python3.7/site-packages/djangosaml2/views.py", line 369, in post
  | 2021-05-17T11:16:06.992-05:00 | outstanding_queries)
  | 2021-05-17T11:16:06.992-05:00 | File "/home/fmapp/.local/lib/python3.7/site-packages/saml2/client_base.py", line 812, in parse_authn_request_response
  | 2021-05-17T11:16:06.992-05:00 | xmlstr, AuthnResponse, "assertion_consumer_service", binding, **kwargs
  | 2021-05-17T11:16:06.992-05:00 | File "/home/fmapp/.local/lib/python3.7/site-packages/saml2/entity.py", line 1455, in _parse_response
  | 2021-05-17T11:16:06.992-05:00 | response = response.loads(xmlstr, False, origxml=xmlstr)
  | 2021-05-17T11:16:06.992-05:00 | File "/home/fmapp/.local/lib/python3.7/site-packages/saml2/response.py", line 534, in loads
  | 2021-05-17T11:16:06.992-05:00 | "Unsolicited response: %s" % self.in_response_to)
  | 2021-05-17T11:16:06.992-05:00 | saml2.response.UnsolicitedResponse: Unsolicited response: id-Ba4hyBvDckZzQYhaz
  | 2021-05-17T11:16:07.052-05:00 | Forbidden: /saml2/acs/
  | 2021-05-17T11:16:07.052-05:00 | WARNING 2021-05-17 16:16:07,052 log.log_response:230 21 140332912957248 Forbidden: /saml2/acs/

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Amertz08commented, May 17, 2021

The cookie secure setting seemed to fix it.

0reactions
peppelinuxcommented, Jan 29, 2022

Yes, feel free to put a Word in the official doc if needed

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix “Access Denied, You Don't Have Permission To Access on ...
The “Access Denied” error appears when your browser uses different proxy settings or VPN instead of what's really set on your Windows 10...
Read more >
access denied on certain website - Google Chrome Community
The “your connection is not private” error message is exactly what it sounds like. It's a message from your browser that informs you...
Read more >
ERR_NETWORK_ACCESS_DE...
Method 1. Clear Google Chrome Browsing Data and Cache · Method 2. Disable Third-Party Browser Extensions · Method 3. Disable Proxy Server ·...
Read more >
How Do I Fix Access Denied in Chrome? - Psupportnumber
How can you fix the access denied error in Google Chrome? ; Cookies and browsing history should be cleared. Turn the VPN on...
Read more >
7 Ways To Fix “Access Denied On This Server” Error
Fixes For “Access denied on this server” Error · Turn Off VPN · Change the DNS Settings · Disable Proxy · Run Internet...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found