Diagnostikk: Innloggingsfeil
Detaljer
- Type
-
Innloggingsfeil - Kilde
- dn.no
- Domene
- dn.no
- Alvorlighet
-
Feil - Første gang sett
- 24.02.2026 11:11
- Sist sett
- 24.02.2026 11:12
- Antall forekomster
- 2
- Løst
- 24.02.2026 14:11
Statushåndtering
Nåværende status:
Løst
Feilmelding
Could not load credentials for secret 'paywall-dn-no': no secrets
Stacktrace
Traceback (most recent call last):
File "/Users/magnuslundstein/Desktop/Innholdsproduksjon/Tjenester/Nyhetsklipp/tests/../src/scrapers/paywall_scraper.py", line 909, in _load_credentials
blob = self._fetch_secret(secret_id)
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/unittest/mock.py", line 1169, in __call__
return self._mock_call(*args, **kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/unittest/mock.py", line 1173, in _mock_call
return self._execute_mock_call(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/unittest/mock.py", line 1228, in _execute_mock_call
raise effect
File "/Users/magnuslundstein/Desktop/Innholdsproduksjon/Tjenester/Nyhetsklipp/tests/../src/scrapers/paywall_scraper.py", line 878, in _load_credentials
blob = self._fetch_secret("paywall-credentials")
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/unittest/mock.py", line 1169, in __call__
return self._mock_call(*args, **kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/unittest/mock.py", line 1173, in _mock_call
return self._execute_mock_call(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/unittest/mock.py", line 1228, in _execute_mock_call
raise effect
Exception: no secrets
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/magnuslundstein/Desktop/Innholdsproduksjon/Tjenester/Nyhetsklipp/tests/../src/scrapers/paywall_scraper.py", line 951, in _get_scraper
creds = self._load_credentials(secret_id)
File "/Users/magnuslundstein/Desktop/Innholdsproduksjon/Tjenester/Nyhetsklipp/tests/../src/scrapers/paywall_scraper.py", line 914, in _load_credentials
raise PaywallLoginError(
f"Could not load credentials for secret '{secret_id}': {e}"
) from e
src.scrapers.paywall_scraper.PaywallLoginError: Could not load credentials for secret 'paywall-dn-no': no secrets