Disable real-time on CloudBoost - real-time

I've seen that my cloudboost app is constantly doing this call:
https://realtime.cloudboost.io/socket.io/?EIO=3&transport=polling&t=1455824292764-0
And this error is returned:
[Error] Failed to load resource: A server with the specified hostname could not be found. (socket.io, line 0)
How can I disable realtime?

You can disable realtime when you init your CloudApp.
CB.CloudApp.init('https://api.cloudboost.io', 'Your AppID', 'YourAppKey',{disableRealtime : true});

Related

(Unreal Engine 4.27.2) Dedicated Server not working with Steam API

After I updated the ini file to activate the Steam Subsystem plugin, the dedicated server is unable to host the map level, and closes the connection and then creates an infinite loop of failed attempts. But on the client it works perfectly, I can even open the steam panel inside the standalone game.
Dedicated Server Log:
[2022.12.04-01.11.01:940][ 2]LogModuleManager: Warning: ModuleManager: Unable to load module 'SocketsSTEAM' - 0 instances of that module name found.
[2022.12.04-01.11.01:940][ 2]LogSockets: Warning: Unable to load SocketSubsystem module STEAM
[2022.12.04-01.11.01:940][ 2]LogNet: ReplicationDriverClass is null! Not using ReplicationDriver.
[2022.12.04-01.11.01:940][ 2]LogNetCore: DDoS detection status: detection enabled: 0 analytics enabled: 0
[2022.12.04-01.11.01:941][ 2]LogSockets: Warning: SteamSockets: Cannot get information on an invalid socket handle, returning null
[2022.12.04-01.11.01:941][ 2]LogNet: Warning: Could not create socket for bind address ::, got error SteamSockets: setsockopt SO_BROADCAST failed (0)
[2022.12.04-01.11.01:941][ 2]LogNet: Warning: Encountered an error while creating sockets for the bind addresses.
[2022.12.04-01.11.01:941][ 2]LogNet: Warning: Failed to init net driver ListenURL: /Game/ThirdPersonBP/Maps/ThirdPersonExampleMap500?closed:
[2022.12.04-01.11.01:941][ 2]LogNet: Error: UEngine::BroadcastNetworkFailure: FailureType = NetDriverListenFailure, ErrorString = , Driver = GameNetDriver IpNetDriver_3
[2022.12.04-01.11.01:941][ 2]LogNet: Server_Error: Net Driver Listen Failure
[2022.12.04-01.11.01:941][ 2]LogWorld: Failed to listen:
[2022.12.04-01.11.01:941][ 2]LogNet: DestroyNamedNetDriver IpNetDriver_3 [GameNetDriver]
[2022.12.04-01.11.01:941][ 2]LogNet: Error: LoadMap: failed to Listen(/Game/ThirdPersonBP/Maps/ThirdPersonExampleMap500?closed)
[2022.12.04-01.11.01:942][ 2]LogSkeletalMesh: USkeletalMeshComponent::InitArticulated : Could not find root physics body: '/Game/ThirdPersonBP/Maps/ThirdPersonExampleMap500.ThirdPersonExampleMap500:PersistentLevel.SK_Mannequin_Arms_2.SkeletalMeshComponent0'
start bat:
"C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\Win64\UE4Editor.exe" "D:\MyProject\MyProject.uproject" ThirdPersonExampleMap500 -server -steam -log
exit
Even passing the "-nosteam" parameter, the dedicated server remains incommunicable as long as Steam is open.
STEAM SDK V1.51
UE4_Wiki
I've followed all these steps beyond activating the plugin to install the Steam SDK, but something seems to be missing to make it work in multiplayer.

Electron app run with --no-sandbox generates warnings and errors

I am trying to write my first electron app and deploy it to a system that requires me to run with the --no-sandbox option (I don't have root/sudo permissions on the system). While I am able to run with the --no-sandbox option, I see the following messages when I try to open a dialog to pick a file.
I can run vscode on the same system, and it also needs the --no-sandbox option, but I have not seen any of these messages while using vscode, so I assume it has something to do with the way may app is setup, or they way I am opening the dialog.
Error creating proxy: Unknown or unsupported transport “disabled” for address “disabled:” (g-io-error-quark, 13)
Error creating proxy: Unknown or unsupported transport “disabled” for address “disabled:” (g-io-error-quark, 13)
Error creating proxy: Unknown or unsupported transport “disabled” for address “disabled:” (g-io-error-quark, 13)
Error creating proxy: Unknown or unsupported transport “disabled” for address “disabled:” (g-io-error-quark, 13)
Error creating proxy: Unknown or unsupported transport “disabled” for address “disabled:” (g-io-error-quark, 13)
Gtk-Message: 11:03:02.463: GtkDialog mapped without a transient parent. This is discouraged.
(my-first-electron:158778): dconf-WARNING **: 11:03:02.658: failed to commit changes to dconf: Unknown or unsupported transport “disabled” for address “disabled:”
(my-first-electron:158778): dconf-WARNING **: 11:03:02.705: failed to commit changes to dconf: Unknown or unsupported transport “disabled” for address “disabled:”
(my-first-electron:158778): dconf-WARNING **: 11:03:02.714: failed to commit changes to dconf: Unknown or unsupported transport “disabled” for address “disabled:”
Here is an example of how I am opening the dialog.
import { remote } from 'electron'
then later
buttonClicked = () => {
console.log(this)
ipcRenderer.send('do-something')
const dialog = remote.dialog
console.log(dialog.showOpenDialogSync(remote.getCurrentWindow(), {
properties: ['openFile']
}))
}

Getting transport error while watching the document in stitch

When I watch the certain ids in the collection using MongoDB watch I am getting error
ERROR Error: Uncaught (in promise): e: (TRANSPORT_ERROR): the request transport encountered an error communicating with Stitch: event source failed to open and will not reconnect; check network log for more details
e: (TRANSPORT_ERROR): the request transport encountered an error communicating with Stitch: event source failed to open and will not reconnect; check network log for more details
It was working till yesterday it started from today
const db = mongoClient.db(environment.databaseName);
const comments = db.collection('collectionName');
this.changeStream = await comments.watch(ids);
this.changeStream.onNext((event) => {
console.log('Watched document changed:', event);
this.fetchData();
});
I expect that whenever the document is changed in the list of ids. Change event should trigger.
This indicates that your app is unable to communicate with the stitch backend, probably because of not internet or poor network

weblogic fail to start: Address already in use error

I have a test application that I created to start learn weblogic with Eclipse .
yesterday the jsp page was working well when I run as / on server , I got the basic page that I created .
but today I have an error message :
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:750]
in the browser I got this :
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
and an other time I got this on console :
weblogic.application.ModuleException: null
null
at weblogic.servlet.internal.WebAppModule.createModuleException(WebAppModule.java:1824)
at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:270)
at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:682)
at weblogic.application.internal.flow.ScopedModuleDriver.init(ScopedModuleDriver.java:162)
at weblogic.application.internal.ExtensibleModuleWrapper.init(ExtensibleModuleWrapper.java:98)
Truncated. see log file for complete stacktrace
can you explain to me what I miss , when I start the server it has the status started . thank you I can add any information .
The most probable cause is server running in debug mode and having the same debug port as an existing server on same machine.
If you have multiple domains configured for each domain running in development mode on the same machine make sure DEBUG_PORT in the setDomainEnv script has different values.
If you have multiple managed servers on the same domain and same machine, create a separate startManagedWeblogic script to start your managed servers and set the Debug Port in that script.
If you use Node Manager to start your managed servers, make sure you have the following lines set in your nodemanager.properties file, otherwise etDomainEnv.sh won't be executed:
StartScriptEnabled=true
StopScriptEnabled=true
This way, if you start the Managed Server via the Admin Console, setDomainEnv.sh will get called.
Then, you can modify the WebLogic domain script setDomainEnv.sh to set the proper DEBUG_PORT value according to the server name that needs to be started:
Use your favourite editor to change the setDomainEnv.sh file
You should find the following lines already :
if [ "${SERVER_NAME}" = "" ] ; then
SERVER_NAME="AdminServer"
export SERVER_NAME
fi
The same way, you can add :
if [ "${SERVER_NAME}" = "ManagedServer1" ] ; then
DEBUG_PORT="8454"
export DEBUG_PORT
fi
if [ "${SERVER_NAME}" = "ManagedServer2" ] ; then
DEBUG_PORT="8455"
export DEBUG_PORT
fi

Error using SoapClient() in PHP

I'm trying to access WSDL(Web Service Definition Language) file using SoapClient() of PHP. I found that WSDL file is authenticated. I tried with passing credentials on an array by another parameter and active SSL on my server, still I'm getting an error.
Here is the code I'm using:
$client = new
SoapClient("https://webservices.chargepointportal.net:8081/coulomb_api_1.1.wsdl",array("trace"
=> "1","Username" => "username","Password" => "password"));
Here is the error I'm getting:
Warning:
SoapClient::SoapClient(https://webservices.chargepointportal.net:8081/coulomb_api_1.1.wsdl)
[soapclient.soapclient]: failed to open stream: Connection timed out
in PATH_TO_FILE on line 80
Warning: SoapClient::SoapClient() [soapclient.soapclient]: I/O warning
: failed to load external entity
"https://webservices.chargepointportal.net:8081/coulomb_api_1.1.wsdl"
in PATH_TO_FILE on line 80
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing
WSDL: Couldn't load from
'https://webservices.chargepointportal.net:8081/coulomb_api_1.1.wsdl'
: failed to load external entity
"https://webservices.chargepointportal.net:8081/coulomb_api_1.1.wsdl"
in PATH_TO_FILE:80 Stack trace: #0
/home2/wingstec/public_html/widget/API/index.php(80):
SoapClient->SoapClient('https://webserv...', Array) #1 {main} thrown
in PATH_TO_FILE on line 80
It seems that error says file not exist at the path we given but when we run that path directly on browser then we're getting that file
Can anyone help me to figure out what the exactly problem is?
First make sure you have the right to access website from your hosting account or server - check first if you can access a http webservice (without the s). If not, check if allow_url_fopen is set to true in php.ini.
Then, if you are trying to establish a https connection, you need a local certificate.
See if you can add one and instantiate your Soap object using something like
new SoapClient($wsdl, array('local_cert' => $pathToLocalCert));