PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Monday, October 24, 2022

[FIXED] How to deploy laravel websocket on GCP Standard App Engine?

 October 24, 2022     google-cloud-platform, laravel, laravel-websockets, websocket     No comments   

Issue

I am using laravel 6 and I want to deploy laravel based websocket server using supervisor on google cloud standard app engine platform.

I am using this package: beyondcode/laravel-websockets

I have setup everything and everything is working fine on local machine! What is the exact procedure to follow to deploy it on GCP?


Solution

At this time, WebSockets are not supported by App Engine Standard. There is work being done with Cloud Run support for WebSockets, so this situation might be changing in the future for App Engine Standard.

Cloud Run WebSockets and gRPC bi-directional streaming support

To use WebSockets today, use App Engine Flexible or switch to another service such as Compute Engine.

Creating Persistent Connections with WebSockets

Google Compute Engine WebSocket Support



Answered By - John Hanley
Answer Checked By - Gilberto Lyons (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing