Out-going proxy support?


We are using the Skygear server with the chat plugin in a self-hosted deployment on Docker.

In our production environment all out-going connection need to go through a proxy. The chat plugin sends pushes to FCM and APNS.
Is the Skygear server somehow able to be configured with an outgoing-proxy? E.g. with environment variables?

Thank you


Do you need any more details to answer the question?

Thank you


Hi @kevin.seidler,

Chat plugin sends pushes through skygear-server. skygear-server is written in golang, golang default http client supports environment variables HTTP_PROXY, HTTPS_PROXY and NO_PROXY. Maybe you can try those environment variables.

If it doesn’t work, you may need to further look into the libraries that skygear-server use to send pushes.

Or consider to configure on OS level to route the traffic.

I hope this will help!



Hi @carmenlau

Thanks a lot! I will try.



It works, thank you very much :slight_smile:


Hi @carmenlau

Actually for FCM it is working, but for APNS it has no effect. I check the Buford framework, but I didn’t find anything (but I’m not an iOS expert/developer).
The Buford library still ignores the proxy environments variables. Do have any idea how we could solve that?

Thank you in advance.