OpenConext / OpenConext/Stepup-Middleware

Middleware wants to add file to its cache after warming up

Open
#512 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Imported
Dominant language
PHP
Stars
3
Forks
2
Avg merge
2d 9h
Merged PRs (30d)
2

Description

This issue is imported from pivotal - Originaly created at Sep 15, 2022 by Bart Geesink

I have warmed up the cache. When I try to add a TIQR token in selfservice, it will call middleware. Middleware will then return this error:

\"An exception has been thrown during the rendering of a template (\"Unable to write in the cache directory (/opt/openconext/OpenConext-middleware-4.5.1/var/cache/prod/twig/14).\").\"

The expected behaviour is that middleware already has it's cache warmed up and does not need to add more to it

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the selfservice TIQR-token flow after warming the cache, then inspect how the middleware writes to /opt/openconext/OpenConext-middleware-4.5.1/var/cache/prod/twig/14. Done means adding a token succeeds without the cache-directory write error after the cache has been warmed.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.