Skip to content

http_header_vars are not getting passed when upgrading from voila 0.3.0 to 0.3.6 #1218

@ggogate

Description

@ggogate

We were using voila 0.3.0 and need to upgrade to 0.3.6. After authentication I pass the user information in the header and intercept it in the kernel using VoilaConfiguration.http_header_envs=['NAME']

This works/worked in v 0.3.0 but doesn't work in 0.3.6

  1. Start jupyter notebook (with voila installed) with params - VoilaConfiguration.http_header_envs=['UID']
  2. Open any notebook from voila
  3. Request should have the header 'NAME':'xyz'
  4. UID should be available in the Python notebook/kernel

I reverted back voila version and reran same steps and it was working

Context

  • voila version v.0.3.6 (problem) v0.3.0(working)
  • Operating System and version: Linux
  • Browser and version: Chrome/Edge

I saw the source code and nothing seems to be changed except one change where the request variables would be added to the kernel even for preheated kernels as part of v.0.3.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions