OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

Fix gitlab header error in console

Open tofarr opened this issue 7 months ago • 0 comments

  • [ ] This change is worth documenting at https://docs.all-hands.dev/
  • [ ] Include this change in the Release Notes. If checked, you must provide an end-user friendly description for your change below

End-user friendly description of the problem this fixes or functionality this introduces. This error occurs because we do not filter blank strings when creating secrets.


Summarize what the PR does, explaining any non-trivial design decisions. Fix for error in console:

Error:
service_types.py:173 - HTTP error on gitlab API: LocalProtocolError : Illegal header value b'Bearer '

Link of any specific issues this addresses:


To run this PR locally, use the following command:

docker run -it --rm   -p 3000:3000   -v /var/run/docker.sock:/var/run/docker.sock   --add-host host.docker.internal:host-gateway   -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:af663ee-nikolaik   --name openhands-app-af663ee   docker.all-hands.dev/all-hands-ai/openhands:af663ee

tofarr avatar May 22 '25 13:05 tofarr