Fastly Fanout is enabled on compute service but Grip-Sig header has no value

Hi I’m using the fanout 30 day free trial for my fastly compute service. I am trying to subscribe to a channel. Currently the logic I am using is

  1. Checking for the Grip-Sig header to make sure my backend is sitting behind fastly
  2. Setting “Grip-Hold” to “stream”
    “Grip-Channel” to [sample_channel]
    “Content-Type” to “text/event-stream”
  3. writing the headers to fanout
    However, my Grip-Sig header seem to be empty. I’m thinking that possibly the 30 day free trial prohibits the Grip-Sig header from having a value but I am not sure if that is the problem. Any other suggestions would be very much welcome. Thank you!!

Hi, make sure you have Fanout enabled on your Compute service and call the handoff_fanout() function from the Compute app.