Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTPS / WSS support #3

Open
aindilis opened this issue Feb 5, 2020 · 1 comment
Open

HTTPS / WSS support #3

aindilis opened this issue Feb 5, 2020 · 1 comment

Comments

@aindilis
Copy link

aindilis commented Feb 5, 2020

Hi John,

Fantastic work here. I heard some people say that Catalyst can't do ASync, but it seems like you worked it out. I was wondering, I have a long running Perl Catalyst project based on ShinyCMS, and I would love to have WebSockets working for it. However, I would need to have it set up using an Apache reverse proxy and HTTPS, and HTTPS seems to make it require WSS. I'm not sure what the problem is exactly, except that the WSS code (or maybe the Apache proxy?) I'm running seems to be messing up the headers. I get "Missing Upgrade header" or something like that, although it's clearly being sent and received.

My question is, if at all possible, could you please create another repo that supports HTTPS/WSS.

If I cannot get it to work I may just run two Catalysts, one derived from your code and then the original, but that is really not desirable. I've spent two days wracking my brain over what's going on.

Thanks for your time in reading this. This project is for my Free Life Planner project, to help disadvantaged folk. https://github.com/aindilis/free-life-planner The exact use case is to push notifications and prompts to their cell phone when different exogenous events occur. My codebase is available here, although the github is way out of date with my local copy. https://github.com/aindilis/fcms

@aindilis
Copy link
Author

As an update I managed to create a websocket based real time web app using Mojolicious, but am having similar issues with the Apache reverse proxy not working properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant