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

Web Viewer ?url parameter crashes when no URL is provided #5405

Closed
kovar opened this issue Mar 5, 2024 · 0 comments · Fixed by #5631
Closed

Web Viewer ?url parameter crashes when no URL is provided #5405

kovar opened this issue Mar 5, 2024 · 0 comments · Fixed by #5631
Assignees
Labels
🪳 bug Something isn't working 🏎️ Quick Issue Can be fixed in a few hours or less 🕸️ web regarding running the viewer in a browser
Milestone

Comments

@kovar
Copy link

kovar commented Mar 5, 2024

Describe the bug
Minor thing. If no URL is provided for the https://app.rerun.io/?url= functionality, Rerun crashes.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://app.rerun.io/?url

Expected behavior
Inform the user that no/faulty URL was provided.

Screenshots
image

Backtrace
intentionally left blank

Desktop (please complete the following information):

  • OS: macOS Sonoma 14.2.1

Rerun version
The one that is currently on the web (I suspect v0.14.1)

Additional context
#4527

Also the link to bug report shown on the page could link to the bug report template, instead it links to generic new issue. Thanks for all your work! 👏

@kovar kovar added 👀 needs triage This issue needs to be triaged by the Rerun team 🪳 bug Something isn't working labels Mar 5, 2024
@Wumpf Wumpf added 🕸️ web regarding running the viewer in a browser 🏎️ Quick Issue Can be fixed in a few hours or less and removed 👀 needs triage This issue needs to be triaged by the Rerun team labels Mar 6, 2024
@Wumpf Wumpf added this to the 0.15 milestone Mar 6, 2024
@Wumpf Wumpf self-assigned this Mar 21, 2024
Wumpf added a commit that referenced this issue Mar 22, 2024
### What

Gracefully handle broken or missing urls for websocket connections.

* Fixes #5405

<img width="429" alt="image"
src="https://github.com/rerun-io/rerun/assets/1220815/b8fab58c-e76d-4744-bfcc-935eeca41737">


### Checklist
* [x] I have read and agree to [Contributor
Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and
the [Code of
Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md)
* [x] I've included a screenshot or gif (if applicable)
* [x] I have tested the web demo (if applicable):
* Using newly built examples:
[app.rerun.io](https://app.rerun.io/pr/5631/index.html)
* Using examples from latest `main` build:
[app.rerun.io](https://app.rerun.io/pr/5631/index.html?manifest_url=https://app.rerun.io/version/main/examples_manifest.json)
* Using full set of examples from `nightly` build:
[app.rerun.io](https://app.rerun.io/pr/5631/index.html?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json)
* [x] The PR title and labels are set such as to maximize their
usefulness for the next release's CHANGELOG
* [x] If applicable, add a new check to the [release
checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)!

- [PR Build Summary](https://build.rerun.io/pr/5631)
- [Docs
preview](https://rerun.io/preview/077d99a586094d3ad1c6f7d240426d6a29e3d8db/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/077d99a586094d3ad1c6f7d240426d6a29e3d8db/examples)
<!--EXAMPLES-PREVIEW-->
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪳 bug Something isn't working 🏎️ Quick Issue Can be fixed in a few hours or less 🕸️ web regarding running the viewer in a browser
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants