Results 1 to 4 of 4

Thread: Unknown action: connect

  1. #1
    Join Date
    Dec 2015
    Posts
    8

    Default Unknown action: connect

    Hi, I send request:
    http://XX.XX.XX.XX:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/streamfiles/tst1.stream/actions/connect?connectAppName=Live1&appInstance=_definst_&mediaCasterType=rtp
    tst1.stream - is present
    Live1 - is name of my application
    _defaultServer_ and _defaultVHost_ - OK
    Manually this application connect to this stream successfully

    But remotely my program receive:
    <wmsResponse>
    <success>false</success>
    <message>Unknown action: connect</message>
    </wmsResponse>
    What is my mistake? Thanks.
    Last edited by Beginers-1; 12-24-2015 at 06:15 PM.

  2. #2

    Default

    Hello there, try this same call but remove the .stream from the file name.

    Regards,

    Salvadore

  3. #3
    Join Date
    Dec 2015
    Posts
    8

    Default

    I renamed stream file name from tst1.stream to tst1

    send request without extension ".stream"
    http://XX.XX.XX.XX:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/streamfiles/tst1/actions/connect?connectAppName=Live1&appInstance=_definst_&mediaCasterType=rtp
    and receive answer
    <wmsResponse>
    <success>false</success>
    <message>Unknown action: connect</message>
    </wmsResponse>
    Log message:
    REST API: Unknown action: connect
    c-client-id: 1129735649,c-ip: 127.0.0.1,cs-bytes: 7056692,sc-bytes: 0,x-duration: 2491514.131

  4. #4

    Default

    Hello,

    First I want to make sure you are following the example form this article:
    https://www.wowza.com/forums/content...nectstreamfile

    I do see that you have posted what appears to be the end section of this call:

    curl -X PUT --header 'Accept:application/json; charset=utf-8' --header 'Content-type:application/json; charset=utf-8' "http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/streamfiles/metallica/actions/connect?connectAppName=testlive&appInstance=_definst_&mediaCasterType=rtp"
    Can you confirm that the opening section of this call matches the call you are making?

    Have you been able to make other successful REST API requests to this server?

    Regards,
    Jason Hatchett

Similar Threads

  1. Unknown log spam on liveedge
    By brambles in forum General Forum
    Replies: 5
    Last Post: 08-22-2013, 09:43 AM
  2. Block connect unknown in Edge
    By Xsplit in forum Server Administration Discussion
    Replies: 2
    Last Post: 01-29-2013, 04:49 PM
  3. Replies: 5
    Last Post: 09-06-2012, 10:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •