Skip to content

tuya: failed to initialize token #2069

@si458

Description

@si458

i have 2 cameras setup in go2rtc, 1 works, 1 doesnt
the 1 that works in local to my network (FishTankCamera), the other isnt (WorksOfficeCamera)
my config is very basic and nothing special

log:
  level: debug  # default level - info
streams:
  FishTankCamera:
    - tuya://protect-eu.ismartlife.me?device_id=bf434a794f0cXXXXXXXXX&email=myaddress%40email.com&password=myc%40d%complexh%40X6&resolution=sd
  WorksOfficeCamera:
    - tuya://protect-eu.ismartlife.me?device_id=bf0574bab9ec3XXXXXXy&email=myaddress%40email.com&password=myc%40d%complexh%40X6&resolution=sd

but whats weird is i see this error in the debug

[mjpeg] add consumer error=streams: tuya: failed to initialize token: 请求过于频繁,请稍后再试
[webrtc] add consumer error=streams: tuya: failed to initialize token: 请求过于频繁,请稍后再试
[mp4] add consumer error=streams: tuya: failed to initialize token: 请求过于频繁,请稍后再试

translates to Too many requests, please try again later.

and whats weirder is IF i probe using the web ui,
i see the producers and consumers in the json output
and i see [streams] start produce and [streams] stop produce in the event logs

and if i use the STREAM link too in the web browser, i see the camera and the info/probe shows the connections

but yet if i try to use the RTSP stream, it keeps failing to connect to the other camera but not the first one?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions