0

I am trying to run multiple containers on docker hosted on AWS cloud9, with which all of the services were built using lumen. I'm not getting header request being passed and hence decided to die dump the $request headers in PHP, hence the cause of the error.

How do I i possibly go about this? Below is a snippet of my error Snippet from error

bestestefan
  • 852
  • 6
  • 20
Franklin Ekoh
  • 83
  • 1
  • 11
  • Ssh into the docker and give write permission to the process trying to write to the storage folder. – Quezler Jul 11 '18 at 08:18
  • Thank you for your response @Quesler, but this did not solve the problem. when I still try to access routes the requires header parameters, it does not work. for instance, when I try to access a route protected by auth middle i.e by passing the authentication token as header, it returns 401, unauthorized response. meaning that the header send to the app is not recognized by the app – Franklin Ekoh Jul 11 '18 at 09:21
  • This started when I pushed my code to aws c9 and started using docker. on my local machine everthing works fine. May I also point out that other routes that do not require headers to be passed to then are working perfectly well. – Franklin Ekoh Jul 11 '18 at 09:28
  • I noticed this error particularly with routes that are protected by auth middleware. now if I pass the same authentication token as body to the route they work. but if I pass the same auth token as body it doesn't work – Franklin Ekoh Jul 11 '18 at 09:30
  • could you add some of your relevant code please? – Quezler Jul 11 '18 at 09:31

0 Answers0