Can't understand SocketJS Error - php

I'm currently developping a project with a Symfony API (version 3 with PHP 7.1) and a NodeJS Client with Angular 4.
Within the local environment, everything is working well, but when I try to deploy on the production server, I get the error "WDS Disconnected" and a connection error with sockjs.
I don't know where the error comes from.
Have you ever encountered this kind of error and have you got an idea on how to fix it ?
Thanks a lot.
caption of the error

Related

Laravel site suddenly not working, and I need help interpreting error messages

I have a Laravel project which was working up to a few days ago, but now isn't. I think it's a config problem, but I am far from being knowledgeable about such things. Here's what I do know:
The project is still running correctly on our server. Another developer has a working local copy on his PC. It's the local copy on my PC that isn't working.
When I try to run the local site from Laragon, I get this error message:
This page isn’t working right now
site.test can't currently handle this request.
HTTP ERROR 500
The Laragon error logs don't contain anything that I can decipher as useful information. Windows Event Viewer gives me this error:
The description for Event ID 4 from source PHP-7.4.30 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
php[127824]
PHP Fatal error: Exception thrown without a stack frame (C:\laragon\bin\apache\httpd-2.4.54-win64-VS16\bin\httpd.exe -d C:/laragon/bin/apache/httpd-2.4.54-win64-VS16)
The message resource is present but the message was not found in the message table
The project uses PHP v 7.4.30 and MySQL for a database.
What does this error mean? How do I fix it?
Any help will be greatly appreciated.
I have deleted and recreated the project, and also uninstalled and reinstalled Laragon. Neither made any difference. The site simply will not load.

Deploying Laravel Application on Cloudways error

I'm trying to deploy my local host laravel project to a live Cloudways Digitalocean server. I have done a SSH transfer from bitbucket to deploy the app but am getting the following error when I try to view the live app. Stripe is not causing any issues on the local host.
"Class 'Laravel\Cashier\CashierServiceProvider' not found"
I've also created a seperate .env file and uploaded it to the server using the server database variables. Can anyone advise if this is the correct procedure?
I've found it really difficult to find any tutorials on how to deploy a Laravel app to a live environment. If anyone has encountered this issue or could point me in the right direction to fix this error it would be much appreciated.

Getting "Not Found" error for the php app in spite of deploying it successfully in Opsworks. Other php apps are working fine

I am getting "Not Found" error for the php app in spite of deploying it successfully in Opsworks. Other php apps are working fine. Also, i am able to run the app in my local environment using Xampp.
Can anybody throw some light on this please ?
Well..i was deploying it repeatedly on the same ec2 instance and getting the 404 error on accessing it. I started a fresh instance, deployed the app on it and it's working fine now. Thanks everybody who looked into this for me. Cheers !!

Facebook PHP sdk 500 Internal Server Error on windows server

I am trying to integrate Facebook php sdk with my application (build on YII framework) using yii-facebook-opengraph extension.
The problem arises once i am trying to authenticate to facebook. after authentication and redirects to the domain its throwing 500 internal server error.
Application hosted on windows server, PHP (5.2.17), Yii(1.1.14),parallel plesk(9.5).
The cause for 500 internal server is unknown. also checked the log but its of no help to trace the error.
Please help me to fix the issue.
The most recent version of Facebook's PHP SDK, version 4, requires PHP 5.4. Your question indicates that you're using an earlier version of PHP.

Flex remoting with amfphp fails when deployed

So i have created this flex application that uses amfphp remoting to acess data.
channelSet is created at runtime and i think there is no problem with that.
The app works fine when i try to run it locally(from my computer) and i can acess it eitheir by typing localhost/app_name.html or by computerName/app_name.html.
when i try to run it from other another computer using path computerName/app_name.html remoting fails, I think the problem isn't in xampp configuration because i can use those same methods from that other computer via amfphp service browser.
so i don't know what to do how to fix it or debug it, no idea where the problem might be so if anyone has any idea or can point me in some direction please help.
this is the fault i recieve
[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Security.Error error Error #2048 url: 'http://vfistri1-pc/oracle/moje/Amfphp/'"]

Categories