Locomote player gives this error: Object {code: 731, message: "Socket reported a security error: Error #2048."} - rtsp

I am using red5pro for rtsp streams and I need flash player to play live streams over rtsp.
Locomote is giving this error
Object {code: 731, message: "Socket reported a security error: Error #2048."}
I am not very familiar with the socket policy. Can somebody help me out in this?

Related

pyTelegramBotAPI Error code: 400. Description: Bad Request: have no rights to send a message

Someone drops my bot down and then the same guy turn my bot on, I got a error:
(init.py:1083 MainThread) ERROR - TeleBot: "Threaded polling exception: A request to the Telegram API was unsuccessful. Error code: 400. Description: Bad Request: have no rights to send a message"
How can I fix it?

is ZONE_RESOURCE_POOL_EXHAUSTED a googleapiclient.errors.httpError?

I am using the googleapiclient(Python) APIs like images().get(), images().insert() etc to list images, create VM instances etc
There were several ZONE_RESOURCE_POOL_EXHAUSTED errors from google cloud last month which caused the following exception in my code
Exception: {'errors': [{'code': 'ZONE_RESOURCE_POOL_EXHAUSTED', 'message': "The zone 'projects/<project-name>/zones/us-central1-b' does not have enough resources available to fulfill the request. Try a different zone, or try again later."}]}
I want to handle this error in my code by sending a unique error code from my server to the client to retry this request after sometime since the error is transient.
I am not able to reproduce this error willfully for the same reason...that its transient
I checked the googleapi code on GitHub at https://github.com/googleapis/google-api-python-client
but couldn't find ZONE_RESOURCE_POOL_EXHAUSTED
I need to verify if its an exception of type "HttpError" or some other class and then can handle it in my code
I am already handling exception of type googleapiclient.errors.HttpError in my code by printing an error message and raising it as urllib.error.HTTPError (the server sends the code e.resp['status'] for this case to the client)
except HttpError as e:
printf('Failed to create %s: %s\n', instanceName,
e._get_reason())
raise HTTPError(
None, int(e.resp['status']), e._get_reason(), "", None)

NodeJS ETIMEDOUT2

My sockets keep on erroring out with ETIMEDOUT2. I know what ETIMEDOUT means, but I have never heard of ETIMEDOUT2.
From reading the NodeJS documentation I thought this list was a comprehensive list of system error messages.
I have also checked out the libuv repository and its documentation, but no sign of this error message.
I've searched the NodeJS repo for the error and googled as well, but no one else seems to have ever encountered the message either.
This is on an Ubuntu system.
Sample log:
[DATE] [ERROR] connection - { message: 'socket error',
uidx: XXXX,
dest_id: 'XXXXX',
error: 'ETIMEDOUT2' }

Error during WebSocket handshake: Status line contains embedded null (using livereload, node-inspector, and karma)

Whenever I use something in my Terminal that requires a websocket to Chrome or Safari (livereload, node-inspector, karma), I get the following console error "Error during WebSocket handshake: Status line contains embedded null" Not sure if this is the right place to ask this question, but any help would be appreciated.

Conversion of Metadata Plist string Failed

In xCode, I'm building an iPhone app with Core Data, and with Objective C Exceptions checked for the Build, I'm receiving the following error in the Console:
Unresolved error Error Domain=NSCocoaErrorDomain Code=259 "The operation couldn’t be completed. (Cocoa error 259.)" UserInfo=0x611c2c0 {NSUnderlyingException=An error occurred converting the metadata plist: Conversion of string failed. The string is empty.}, {
NSUnderlyingException = "An error occurred converting the metadata plist: Conversion of string failed. The string is empty.";
}
This occurs when I try to run the app on the Simulator, and the app dies. When I try to run the app on my device (iPhone 3g), the program runs with the expected DB with full functionality, but when I close the app, the app will not reload on the device.
Any assistance will be appreciated. Thanks!!

Resources