Trying to follow a flat feed, getting NotAllowed 403 error from backend with stream.connect(ApiKey, ApiSecret, AppId) - getstream-io

Getting a forbidden error (403) when trying to follow a feed that exists in Stream. It is weird because I can add activities to feeds no problem with the exact same credentials. Using NodeJs package.

Related

LinkedIn API not working, returning Error: HTTP GET - The remote server returned an error: (410) Gone

We have been using LinkedIn API to access to the feeds from LinkedIn since last 2 years.
But suddenly this API has stopped working and returns below error code.
Error: HTTP GET - The remote server returned an error: (410) Gone.
You should migrate to V2 API.
Find details here:
https://engineering.linkedin.com/blog/2018/12/developer-program-updates
and here:
https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/migration-faq

Azure DataLake (ADLS) BulkDownload Bad Request

I am trying to download the file from adls using the BulkDownload method using BulkDownload but I am getting a BAD Request response as below:
Error in getting metadata for path cc-
adl://testaccount.azuredatalakestore.net//HelloWorld//test.txt
Operation: GETFILESTATUS failed with HttpStatus:BadRequest Error: Uexpected
error in JSON parsing.
Last encountered exception thrown after 1 tries. [Uexpected error in JSON
parsing]
[ServerRequestId:]
However, if I try to download the file through azure client shell it works.
I am using the BulkDownload as follow:
client.BulkDownload(
srcPath,
dstPath);
Is anyone else facing the same issue for BulkDownload call?
I got this fixed as the srcPath is the relative path ("/HelloWorld/test.txt") in the azure datalake storage, previously I was the using the absolute path ("adl://testaccount.azuredatalakestore.net//HelloWorld/test.txt).

Create PeerConnection exception: Failed to construct 'RTCPeerConnection': Malformed RTCIceServer

I am using appRTC to make demo app. I have setup following things successfully but got stack with JSON format that return in response of Turn-server API.
Use SSL for secure connect to make it work on Google Chrome (Done)
Implement custom WebSockets (Done)
Develop custom API for TurnServer (Done)
I am getting following error in console log.
Create PeerConnection exception: Failed to construct 'RTCPeerConnection': Malformed RTCIceServer
Failed to start signaling: Cannot read property 'addStream' of null
I have tried following responses as ice server object
Current object:
{"iceServers":[{"urls":["stun:stun.l.google.com:19302"]},{"urls":["turn:domain.com:8080?transport=udp","turn:domain.com:8080?transport=tcp","turn:domain.com:8080"],"username":"test","credential":"password"}],"lifetimeDuration":"86400s","blockStatus":"NOT_BLOCKED","iceTransportPolicy":"all"}
Have also tried:
[{"urls":["stun:stun.l.google.com:19302"]},{"urls":["turn:domain.com:8080?transport=udp","turn:domain.com:8080?transport=tcp","turn:domain.com:8080"],"username":"test","credential":"password"}]
and also tried this one:
[{"urls":["turn:domain.com:8080?transport=udp","turn:domain.com:8080?transport=tcp","turn:domain.com:8080"],"username":"test","credential":"password"}]
You have a typo here:
[{"urls":["stun:stun.l.google.com:19302"}
trying to close urls without closing the array.
This should be
[{"urls":["stun:stun.l.google.com:19302"]}
This doesn't result in an error about malformed RTCIceServer though.
Based on your comment it seems to be a result of calling
new RTCPeerConnection({"iceServers":[{}]})
-- an empty object is not a valid RTCIceServer.
I would also recommend not passing
"lifetimeDuration":"86400s","blockStatus":"NOT_BLOCKED"
to the RTCPeerConnection as it doesn't know about these.

Retrieving tweet by tweet-id by node.js

I'm trying to get contents of tweets by their identifiers using Node.js. But execution ends up with the following error:
Error: connect ENCONNREFUSED 10.10.34.34:443"
How can I solve this?

500.79 Internal Server Error - The page cannot be displayed because an internal server error has occurred

When running my MVC website locally it works fine - the website uses 'Cloud - Single Organization' authorization.
Once I've deployed to Azure I get an error on the homepage saying 'The page cannot be displayed because an internal server error has occurred.'
When looking at the streaming logs in Azure I can see I'm getting an 'HTTP Error 500.79 - Internal Server Error'
Under the detailed error information, I get the following information:
Module: EasyAuthModule_32bit
Notification: AuthenticateRequest
Handler: ExtensionlessUrlHandler-Integrated-4.0
Error Code: 0x80004005
Under the detailed information I get the error:
Error Failed to download OpenID configuration from 'https://localhost:44378/.well-known/openid-configuration': Unable to connect to the remote server.
Does anyone know why this is happening and how to fix it?

Resources