misskey icon indicating copy to clipboard operation
misskey copied to clipboard

Unable to import following accounts

Open BrunoSpy opened this issue 1 year ago • 2 comments

💡 Summary

When trying to import a list of following users, nothing happens after the popup message.

Here is what I get in the logs :

misskey-web-1 | INFO 1 [queue import-following] Importing following of 9g6nsbglty ... misskey-web-1 | INFO 1 [download] text file: Temp file is /tmp/tmp-151-It6c331OIz2C misskey-web-1 | INFO 1 [download] Downloading https://poil.odon.space/files/4676f754-1f60-4cb1-8a57-f548055e2de7 to /tmp/tmp-151-It6c331OIz2C ... misskey-web-1 | WARN 1 [queue db] failed(RequestError: connect ECONNREFUSED 127.0.0.1:443) id=34

🥰 Expected Behavior

New accounts added to the following list.

🤬 Actual Behavior

Nothing but an error in the logs.

📝 Steps to Reproduce

Import a .csv file of following accounts.

📌 Environment

Version 13.13.2 installed with the docker procedure.

Server is brand new, only one account created, everything else seems fine : federation is working, uploading files too and publishing notes are ok.

BrunoSpy avatar Jun 20 '23 07:06 BrunoSpy

It seems poil.odon.space point to 127.0.0.1 (localhost). Are you using DNS block?

CyberRex0 avatar Jun 20 '23 23:06 CyberRex0

I found the issue : I needed to allow localhost as a private network in default.yml Maybe a bit more explanation of what is this parameter :

#allowedPrivateNetworks: [
#  '127.0.0.1/32'
#]

BrunoSpy avatar Jun 25 '23 13:06 BrunoSpy