Open jeremygturpin opened 7 years ago
Is the forum using SSL?
I am unsure, I'm running a brand new install of nodebb with mogodb. The only thing I installed was this plugin. Is there a way to check?
It sounds like you don't have SSL. You need to set it up through a company such as Let's Encrypt (Free). The plugin requires SSL, which is probably causing the error. SSL makes the data exchanged between the sever and forum secure.
Just so you are aware this is currently a localhost website with no domain, I hope to eventually make it live but it isn't right now. Is there like a nodebb plugin that will encrypt it, or something that is simple to setup?
Hmm, you're right, it should be possible to use localhost without SSL. I should be able to do this in the plugin.
Do you know when you might be able to add this to the plugin?
I should have time tomorrow.
Cool, thanks for helping me.
@OmegaJT22 What is the output of /nodebb url
and /nodebb live
I am away from my computer for the next hour. I know the URL was localhost:4567 and I can check the live later.
here are the nodebb url and live
is localhost:4567
accessible from your browser? and can you navigate the site?
Yes it is. And if I'm on a different device on the same network I can type the machines up address 192.168.2.139:4567 and it works.
Ip address*
Holy crap, was finally able to reproduce.
It is the stupidest thing, it just wants the full url. Set /nodebb url http://localhost:4567/
and /nodebb live http://localhost:4567/
and it should just work.
nice!! I got it to work!! btw do the widgets work better on a certain theme? mine are a bit strange.
Like for one thing, player heads do not show up.
possibly, I've only tested them on persona, screenshot?
soooo, every time i do the /register [key] command it crashes my website :(
( I'm sorry if iI'm asking a lot of questions, you are helping me out so much, idk what I would do without you )
No problem at all!
The avatars look like it might have the wrong url. Check that your forums config.json has the correct url, http://localhost:4567
(without a /
at the end) If that looks good, check the browser console F12
for any errors.
Click on the bar there where it says console
derp. Looks like the mojang api changed, go to the Minecraft Integration admin page, click on settings, and change the avatar cdn to cravatar or minotaur and save. Click on maintenance, then clear avatar cache, then refresh the home page.
I'm now on cravatar
Check the output of http://localhost:4567/api/minecraft-integration/server/0
for players.
It should have something like this:
"players": [
{
"name": "yariplus",
"id": "f19cb1605bc24838835a07757d60ce80"
}
],
I'm off for the night. Pick it up tomorrow. Bye.
Let me know if updating the forum plugin to 0.8.0-alpha.12 changes anything.
OK, I'll be able to do that in 4 hours.
No hurry. ;) Thanks.
I'm now able to link my minecraft account to the website. But player heads are still not showing up :/
Could you right-click on the area where the blank image is supposed to be and click inspect?
Does the players name show up when you however over where the image should be?
perspective aynthing isn't working for me either, most other stuff is working fine though both on cravatar and minotar looks like the base encoded images are too big for mongodb
Fetching avatar from CDN: http://minotar.net/cube/Trondy/32
Fetching avatar from CDN: http://minotar.net/cube/phit/32
Fetching avatar from CDN: http://minotar.net/cube/fede1122/32
{ [MongoError: Btree::insert: key too large to index, failing nodebb.objects.$_key_1_value_-1 1684 { : "mi:avatar:Trondy", : "iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAEmklEQVR4nOxXz2tjVRi9aV5/pb+mnalMUUZHp7Y6ascpVkVUMKltQVBcCbqdjSCIigtXgjsXBf8AhaKj7uqiotF0oWDBLlRmOpFCZ7..." }]
name: 'MongoError',
message: 'Btree::insert: key too large to index, failing nodebb.objects.$_key_1_value_-1 1684 { : "mi:avatar:Trondy", : "iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAEmklEQVR4nOxXz2tjVRi9aV5/pb+mnalMUUZHp7Y6ascpVkVUMKltQVBcCbqdjSCIigtXgjsXBf8AhaKj7uqiotF0oWDBLlRmOpFCZ7..." }',
driver: true,
index: 0,
code: 17280,
errmsg: 'Btree::insert: key too large to index, failing nodebb.objects.$_key_1_value_-1 1684 { : "mi:avatar:Trondy", : "iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAEmklEQVR4nOxXz2tjVRi9aV5/pb+mnalMUUZHp7Y6ascpVkVUMKltQVBcCbqdjSCIigtXgjsXBf8AhaKj7uqiotF0oWDBLlRmOpFCZ7..." }' }
{ [MongoError: Btree::insert: key too large to index, failing nodebb.objects.$_key_1_value_-1 2230 { : "mi:avatar:phit", : "iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAGNElEQVR4nOxXTWwcRRZ+/TM93WOPp+fPMx6P8+so8Wbzs2MpOUTJKrv25pJdaY+r3fPCgQsHBBw4wJVjFCSEFAgkgQsHiCUwcWKhoI..." }]
name: 'MongoError',
message: 'Btree::insert: key too large to index, failing nodebb.objects.$_key_1_value_-1 2230 { : "mi:avatar:phit", : "iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAGNElEQVR4nOxXTWwcRRZ+/TM93WOPp+fPMx6P8+so8Wbzs2MpOUTJKrv25pJdaY+r3fPCgQsHBBw4wJVjFCSEFAgkgQsHiCUwcWKhoI..." }',
driver: true,
index: 0,
code: 17280,
errmsg: 'Btree::insert: key too large to index, failing nodebb.objects.$_key_1_value_-1 2230 { : "mi:avatar:phit", : "iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAGNElEQVR4nOxXTWwcRRZ+/TM93WOPp+fPMx6P8+so8Wbzs2MpOUTJKrv25pJdaY+r3fPCgQsHBBw4wJVjFCSEFAgkgQsHiCUwcWKhoI..." }' }
{ [MongoError: Btree::insert: key too large to index, failing nodebb.objects.$_key_1_value_-1 2446 { : "mi:avatar:fede1122", : "iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAG1UlEQVR4nOxXXWwUbRU+887Mzv62292lhZa2gMXSQpFILKIXBCg0Icb4c4EmJhK98coLDYk3JF4ZiYFoYqI3GtMriIk3NpraNvEvMR..." }]
name: 'MongoError',
message: 'Btree::insert: key too large to index, failing nodebb.objects.$_key_1_value_-1 2446 { : "mi:avatar:fede1122", : "iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAG1UlEQVR4nOxXXWwUbRU+887Mzv62292lhZa2gMXSQpFILKIXBCg0Icb4c4EmJhK98coLDYk3JF4ZiYFoYqI3GtMriIk3NpraNvEvMR..." }',
driver: true,
index: 0,
code: 17280,
errmsg: 'Btree::insert: key too large to index, failing nodebb.objects.$_key_1_value_-1 2446 { : "mi:avatar:fede1122", : "iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAG1UlEQVR4nOxXXWwUbRU+887Mzv62292lhZa2gMXSQpFILKIXBCg0Icb4c4EmJhK98coLDYk3JF4ZiYFoYqI3GtMriIk3NpraNvEvMR..." }' }
i got this to work, but this still doesnt
clear avatar cache under maintenance in the plugin options or try to clear your browser cache with ctrl + f5
tried both, didnt work
Hmm, okay, so it is getting the avatar, the template must be messed up on the widget.
it's working fine here, using latest plugin and nodebb https://forums.stonebound.net/servers
Yeah, I'm not sure what's going on.
phit can i ask, how were able to make new custom pages? like the one that shows server stats
@OmegaJT22 Does the avatar appear on the linked accounts profile page now that the cache is cleared?
i cleared cache and they are still there yes
phit, thanks!
I'm out of ideas.
I keep getting this error every so often when my server is running. I have nodebb running locally with the plugins installed.