question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[REST API] cannot access web interface in 2.4.0.M7

See original GitHub issue

When accessing the REST API (http://10.100.100.210:8081/doc/index.html) through a web browser with the 2.4.0.M7 build, I just get the following message:

fetching resource list: http://10.100.100.210:8081/rest/swagger.json; Please wait.

but nothing happens. I just did a clean install of the M7 build, same effect. My default port is set to 8081.

misc-restdocs - 2.4.0.M7 is installed.

Chrome dev tools show:

swagger-ui.min.js:3 Uncaught TypeError: Cannot read property '$ref' of undefined
    at t.exports.a.resolveTo (swagger-ui.min.js:3)
    at t.exports.a.resolveTo (swagger-ui.min.js:3)
    at t.exports.a.resolve (swagger-ui.min.js:2)
    at response (swagger-ui.min.js:2)
    at i (swagger-ui.min.js:2)
    at e.on.response (swagger-ui.min.js:2)
    at swagger-ui.min.js:2
    at f.callback (swagger-ui.min.js:13)
    at f.<anonymous> (swagger-ui.min.js:13)
    at f.r.emit (swagger-ui.min.js:13)

Please see also the community forum: https://community.openhab.org/t/oh-2-4-0-m7-testing-results/58475/25

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
kaikreuzercommented, Dec 7, 2018

Just tested it on the latest distro snapshot and it seems to work fine again!

1reaction
kaikreuzercommented, Dec 6, 2018

I have searched a lot and was luckily able to reproduce it in the IDE. It turned out that https://github.com/eclipse/smarthome/pull/6638 makes it work again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to configure Spring Security to allow Swagger URL to be ...
Main issue: Not able to access swagger URL at http://localhost:8080/api/v2/api-docs. It says Missing or invalid Authorization header. Screenshot ...
Read more >
Apache Tomcat 9 (9.0.70) - Changelog
Fix: Remove and/or update references to the removed org.apache.tomcat.util.threads.res package. The LocalStrings*.properties files in that package were moved to ...
Read more >
Support for Hadoop - SAS 9.4
1 versions are supported as the Hadoop cluster that is co-located with SAS LASR Analytic Server for access to SASHDAT on HDFS. [2]...
Read more >
Spring Boot for Apache Geode Reference Guide
With little to no code or configuration changes necessary. ... runs the Management (Admin) REST API, which is used by Apache Geode tooling, ......
Read more >
Oracle Critical Patch Update Advisory - October 2017
Oracle API Gateway, version 11.1.2.4.0, Fusion Middleware ... CVE-2017-10292, RDBMS Security, Create User, Oracle Net, No, 2.3, Local, Low, High, None ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found