Closed MrOCW closed 1 month ago
Hello @MrOCW! Before we dive into the issue, could you
For the favorite task submit button, it will only be disabled if the task type is Custom Compose
. Can I confirm that is what you're trying to do?
Unless you are saying after selecting a previously saved favorite task (save a patrol task as favorite, and click on the saved task on the left, which fills out the form), and the submit button is greyed out.
Hi @aaronchongth,
is the API server running on the same machine
yes. api server and dashboard is running on docker
what "does not load" mean
the screen is just white forever
it will only be disabled if the task type is Custom Compose
it is a Patrol task
After clicking favourite task, the form becomes like this but the button is still greyed out. I have reverted to before the commit and it is fixed
the screen is just white forever
Can you provide browser logs when this happens?
After clicking favourite task, the form becomes like this but the button is still greyed out. I have reverted to before the commit and it is fixed
The culprit is most likely https://github.com/open-rmf/rmf-web/pull/1004/files#diff-678b11fe9f77dceefe5d736a3944e36645c4702dd56ffd499318526da6cf20ceL127, can you set up the dashboard from source and try reverting this line to see if that is the fix?
Can you provide browser logs when this happens?
[Warning] [blocked] The page at https://<my domain>/robots was not allowed to run insecure content from ws://localhost:8006/. (index-CCapogoY.js, line 368)
[Warning] [blocked] The page at https://<my domain>/robots was not allowed to display insecure content from http://localhost:8000/user. (index-CCapogoY.js, line 292)
[Error] Not allowed to request resource
(anonymous function) (index-CCapogoY.js:292:7453)
Promise
(anonymous function) (index-CCapogoY.js:292:5500)
dI (index-CCapogoY.js:294:513)
[Error] XMLHttpRequest cannot load http://localhost:8000/user due to access control checks.
(anonymous function) (index-CCapogoY.js:292:7453)
Promise
(anonymous function) (index-CCapogoY.js:292:5500)
dI (index-CCapogoY.js:294:513)
[Error] Axios response error: AxiosError: Network Error
(anonymous function) (index-CCapogoY.js:368:6429)
[Error] Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'a.response.status')
(anonymous function) (index-CCapogoY.js:372:23510)
May I check what browser are you running the dashboard on?
As for the intermittent connection, my hunch is that it is something related to your browser or setup, A quick search pointed me to https://discussions.apple.com/thread/254087609?sortBy=rank so far I have not been able to reproduce it
while the favorite task issue has been resolved with https://github.com/open-rmf/rmf-web/pull/1013.
Before proceeding, is there an existing issue or discussion for this?
OS and version
Ubuntu 24
Open-RMF installation type
Source build
Other Open-RMF installation methods
No response
Open-RMF version or commit hash
1ab38d717283aece61050874b9827d111de66b29 rmf_ros2
ROS distribution
Rolling
ROS installation type
Binaries
Other ROS installation methods
No response
Package or library, if applicable
No response
Description of the bug
Using the dashboard docker image to run. Sometimes the dashboard does not load at all. When it does, favorite tasks' Submit button is greyed out. Manually sending tasks works. The dashboard was stable with commit
89c9d7222811da5cd8711f6f8f02c050e29f72e1
Steps to reproduce the bug
Run dashboard with provided docker image
Expected behavior
No response
Actual behavior
Stable dashboard
Additional information or screenshots
No response