Predix_Logo
  • Categories
    • Questions
    • Predix | Updates
      • Pricing
      • Product
    • Deloitte - Private
    • How-To
    • Accenture-Private
  • Explore
    • Topics
    • Questions
    • Articles
    • Feedback or Feature Requests
  • Sign in
  • Home /
  • Predix | Updates /
  • Product /
avatar image
0
Question by priyanka.kakkar@itcinfotech.com · Aug 22, 2017 at 06:50 AM · predix-machine-servicewebsocketwebsocket-riverspillway

Spillway Transfer failed

I am sending data from Predix Machine through spillway and websocket river, I am getting below error:

Spillway Transfer Failed. Details: "Status for transfer UUID "87ab8c74-8c34-41cb-b4ba-3666d84ad4c7" in River "WS Sender Service-1". State: FAILED Status Code: -1100 Status Message: Request 87ab8c74-8c34-41cb-b4ba-3666d84ad4c7 timed out".

I am getting this output from predix machine startup logs. I have configured Predix Machine to send data to Timeseries as well as my custom websocket. Data is successfully being send to time series but not to custom websocket server.

Comment
Add comment
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

  • Sort: 
avatar image
0

Answer by Munene · Aug 23, 2017 at 10:26 AM

The other case clarifies how to set up with different spillways. But the websocket river will only send to a Timeseries destination. If you are reading the other posts to mean that websocketriver will send to a custom websocket destination, there may be an error there.

Comment
Add comment · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Munene · Aug 22, 2017 at 09:25 AM

Hi @priyanka.kakkar@itcinfotech.com,

I wonder if you have configured WebsocketRiver to send data to your custome Websocket endpoint.

This does not work - WebsocketRiver is exclusively for sending data to Predix Timeseries.

You would need to create your own river using the IRiver API in order to send to your custom endpoint. There is a Websocket client service (with a sample available in the Predix Machine SDK) that would be very handy to for this.

Comment
Add comment · Show 1 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image priyanka.kakkar@itcinfotech.com · Aug 22, 2017 at 11:11 PM 0
Share

I have configured 2 websocket rivers and followed the below mentioned 2 forum questions to do that. One websocket river forwards the data to the predix time-series and other to push to custom websocket

https://forum.predix.io/articles/9480/developing-a-simple-custom-microservice-to-collect.html

http://forum.predix.io/questions/14388/how-to-configure-predix-machine-for-two-websocket.html

Follow this Question

Answers Answers and Comments

59 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

GE Monogram
  • Legal
  • Cookies
  • Forum Terms
  • Contact Us
  • Copyright © 2017 General Electric Company. All rights reserved.


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Submit your feedback or feature request
  • Categories
  • Questions
  • Predix | Updates
    • Pricing
    • Product
  • Deloitte - Private
  • How-To
  • Accenture-Private
  • Explore
  • Topics
  • Questions
  • Articles
  • Feedback or Feature Requests