You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suspect this may be a configuration error on my part, but the documentation is a bit sparse.
Symptom
I am using KiwiIRC connecting via a WebSocket to Ergo IRCd on the same server, so I have the plugin server, as I am not using a webircgateway. When I go to upload a file, after selecting an image file and hitting the "Upload" button, I get the console message
Tokens were not available synchronously. Cancelling upload start and acquiring tokens.
And then after a delay of a few seconds, this pops in a little bubble on the upload dialog.
Unhandled error acquiring EXTJWT tokens!
At no point during this do I see any new requests in the Network tab of the browser Dev Tools.
Config details
In the plugin server config, I have
[Server]
ListenAddress = "127.0.0.1:8088"
and further down
[JwtSecretsByIssuer]
"example.net = "[SECRET]"
With the corresponding JWT config in my Ergo config file:
extjwt:
expiration: 45ssecret: "[SECRET]"
In the KiwiIRC config.json,
"plugins": [
{ "name": "fileuploader", "url": "static/plugins/plugin-fileuploader.js" },
],
"fileuploader": {
"server": "http://example.net/chat-files",
"maxFileSize": ,
"note": "Add an optional note to the upload dialog"
}
Then I have nginx set up to reverse proxy the server endpoint:
I suspect this may be a configuration error on my part, but the documentation is a bit sparse.
Symptom
I am using KiwiIRC connecting via a WebSocket to Ergo IRCd on the same server, so I have the plugin server, as I am not using a webircgateway. When I go to upload a file, after selecting an image file and hitting the "Upload" button, I get the console message
Tokens were not available synchronously. Cancelling upload start and acquiring tokens.
And then after a delay of a few seconds, this pops in a little bubble on the upload dialog.
At no point during this do I see any new requests in the Network tab of the browser Dev Tools.
Config details
In the plugin server config, I have
and further down
With the corresponding JWT config in my Ergo config file:
In the KiwiIRC
config.json
,Then I have nginx set up to reverse proxy the server endpoint:
What am I doing wrong here?
The text was updated successfully, but these errors were encountered: