Trying to get custom page specific files from ../base1/ #19739
-
Explain what happensI am using a small custom application inside cockpit. For the app I need these files:
All of those files are presented in /usr/local/share/cockpit/base1 (most of them as *.gz). For example cockpit.css: Request URL: https://192.168.75.132/cockpit/@localhost/base1/cockpit.css and cockpit.js: cockpit-ws: 300 Tried with different versions of the cockpit and different browsers, and cleaned the cache - but nothing helped. Version of Cockpitcockpit-ws: 300 Where is the problem in Cockpit?Applications Server operating systemRed Hat Enterprise Linux Server operating system version9.3 What browsers are you using?Chrome System log2023-11-20T03:32:45.909052000-05:00 cockpit.packages-WARNING: /usr/local/share/cockpit/base1/manifest.json attribute 'bridges' elements: attribute 'spawn' required
2023-11-20T03:32:45.921490000-05:00 INFO: cockpit-ws: logged in user session
2023-11-20T03:32:45.939065000-05:00 INFO: cockpit-ws: New connection to session from 172.17.1.5
2023-11-20T03:32:46.073016000-05:00 INFO: cockpit-ws: WebSocket from 172.17.1.5 for session closed
2023-11-20T03:32:47.154585000-05:00 INFO: cockpit-ws: New connection to session from 172.17.1.5
2023-11-20T03:36:20.794942000-05:00 INFO: cockpit-ws: New connection to session from 172.17.1.5
2023-11-20T03:44:51.878815000-05:00 MESSAGE: WebSocket: connection unexpectedly closed by peer
2023-11-20T03:44:51.879519000-05:00 MESSAGE: WebSocket: error closing web socket stream: Error sending data: Connection reset by peer
2023-11-20T03:44:51.879645000-05:00 INFO: cockpit-ws: WebSocket from 172.17.1.5 for session closed
2023-11-20T03:45:07.015733000-05:00 INFO: cockpit-ws: session timed out
2023-11-20T04:05:15.795680000-05:00 INFO: cockpit-ws: WebSocket from 172.17.1.5 for session closed
2023-11-20T04:05:18.752941000-05:00 INFO: cockpit-ws: New connection to session from 172.17.1.5
2023-11-20T05:45:57.807880000-05:00 INFO: cockpit-ws: WebSocket from 172.17.1.5 for session closed
2023-11-20T05:45:58.091233000-05:00 INFO: cockpit-ws: New connection to session from 172.17.1.5
2023-11-20T05:55:15.689466000-05:00 INFO: cockpit-ws: WebSocket from 172.17.1.5 for session closed
2023-11-20T05:55:16.950808000-05:00 INFO: cockpit-ws: New connection to session from 172.17.1.5
2023-11-20T06:47:32.248969000-05:00 INFO: cockpit-ws: New connection to session from 172.17.1.5
2023-11-20T07:02:50.378520000-05:00 INFO: cockpit-ws: WebSocket from 172.17.1.5 for session closed
2023-11-20T07:02:50.769923000-05:00 INFO: cockpit-ws: New connection to session from 172.17.1.5
2023-11-20T07:02:53.415547000-05:00 INFO: cockpit-ws: WebSocket from 172.17.1.5 for session closed
2023-11-20T07:02:53.979272000-05:00 INFO: cockpit-ws: New connection to session from 172.17.1.5
2023-11-20T07:13:53.144661000-05:00 INFO: cockpit-ws: WebSocket from 172.17.1.5 for session closed
2023-11-20T07:13:53.764124000-05:00 INFO: cockpit-ws: New connection to session from 172.17.1.5
2023-11-20T07:15:14.459449000-05:00 INFO: cockpit-ws: New connection to session from 172.17.1.5
2023-11-20T07:33:45.053921000-05:00 INFO: cockpit-ws: WebSocket from 172.17.1.5 for session closed
2023-11-20T07:33:46.248584000-05:00 INFO: cockpit-ws: New connection to session from 172.17.1.5 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This looks rather strange to begin with -- |
Beta Was this translation helpful? Give feedback.
-
Thanks, I'm glad that you resolved the mystery! |
Beta Was this translation helpful? Give feedback.
This looks rather strange to begin with --
base1/
is a directory that is shipped by cockpit-bridge. It contains cockpit.js, but none of the other files like "bluebird". These must be from your own application, so they should be in your own package directory, not../base1
. Please try to include them likesrc="gformat.js"
.