Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to connect a new ISAR robot to Flotilla locally #1367

Closed
tsundvoll opened this issue Jan 29, 2024 · 1 comment
Closed

Not able to connect a new ISAR robot to Flotilla locally #1367

tsundvoll opened this issue Jan 29, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@tsundvoll
Copy link
Contributor

Describe the bug
When trying to connect a new ISAR robot to Flotilla locally, Flotilla gives an error message and the new robot does not show up in the frontend.

To Reproduce
Steps to reproduce the behavior:

  1. Start broker with docker compose up broker
  2. Start Flotilla backend with `dotnet run project --api``
  3. Start Flotilla frontend with npm start
  4. Start isar with isar-robot with python main.py

ISAR environment variables:

ISAR_ROBOT_NAME="Localbot Huldra"
ISAR_PLANT_SHORT_NAME=hua
ISAR_STID_PLANT_NAME=hua

Expected behavior
The new robot should show up in the frontend.

Screenshots
Flotilla backend gives this error message:

2024-01-29 08:14:40 - fail: Microsoft.AspNetCore.SignalR.HubConnectionHandler[1]
      => SpanId:267f774a37704ebf, TraceId:dcac42c937d33922d8da31eeaa134f23, ParentId:0000000000000000 => ConnectionId:0HN10J7HCVSE8 => RequestPath:/hub RequestId:0HN10J7HCVSE8:00000007 => TransportConnectionId:uFTi3ttNZh5tdDnujneBLw
      Error when dispatching 'OnConnectedAsync' on hub.
      Microsoft.AspNetCore.SignalR.HubException: Running in development mode, but missing Local__DevUserId value in environment
         at Api.SignalRHubs.SignalRHub.OnConnectedAsync() in /Users/TSUNDV/equinor/flotilla/backend/api/SignalR/SignalRHub.cs:line 28
         at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1.OnConnectedAsync(HubConnectionContext connection)
         at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1.OnConnectedAsync(HubConnectionContext connection)
         at Microsoft.AspNetCore.SignalR.HubConnectionHandler`1.RunHubAsync(HubConnectionContext connection)
@tsundvoll tsundvoll added the bug Something isn't working label Jan 29, 2024
@oysand oysand closed this as completed Jan 29, 2024
@oysand oysand reopened this Jan 29, 2024
@tsundvoll tsundvoll self-assigned this Jan 29, 2024
@tsundvoll
Copy link
Contributor Author

Was just missing a .env variable, solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants