Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how do I reset this thing? every time I add a torrent file it says failed to add 1 torrent #710

Open
mailinglists35 opened this issue Dec 18, 2023 · 10 comments

Comments

@mailinglists35
Copy link

running all with same user (browser, rtorrent, npx flood)
out of the blue it refuses to add a torrent
obviously I have permissions to /some/path where I start rtorrent, npx flood inside a tmux

@mailinglists35
Copy link
Author

oracle linux 9.2

@trim21
Copy link
Collaborator

trim21 commented Dec 18, 2023

any error log in console of flood?

@mailinglists35
Copy link
Author

and ofcourse I can type enter key in rtorrent and paste the path to torrent file and it just works.

@mailinglists35
Copy link
Author

$ npx flood                                                                 [28/28]
Flood server 4.7.0 starting on http://127.0.0.1:3000                                                  
                                                                                                      
(node:3693240) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)        
Error: connect ENOENT /home/user/rpc.socket                                                          
    at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1278:16) {
  errno: -2,                                                                                          
  code: 'ENOENT',                                                                                     
  syscall: 'connect',                                                                                 
  address: '/home/user/rpc.socket'                                                                   
}                                                  
POST /api/torrents/add-files 500 86.891 ms - 120 
PATCH /api/settings 200 69.040 ms - 89                                                                
GET /api/notifications?id=notification-tooltip&limit=10&start=0 200 8.718 ms - 567
GET /api/notifications?id=notification-tooltip&limit=10&start=0 200 25.067 ms - 567
GET /api/notifications?id=notification-tooltip&limit=10&start=0 200 4.957 ms - 567                    
GET /api/notifications?id=notification-tooltip&limit=10&start=0 200 4.356 ms - 567
GET /api/feed-monitor/feeds/placeholder/items 500 7.485 ms - 14                                       
GET /api/feed-monitor 200 7.954 ms - 23                                                               
GET /api/feed-monitor/feeds/placeholder/items 500 15.024 ms - 14                  
GET /static/js/about.6d0d15f2.chunk.js 200 45.750 ms - -                                              
GET /api/activity-stream?historySnapshot=FIVE_MINUTE 200 32.584 ms - -  
GET / 200 6.964 ms - 992                                                                              
GET /static/js/main.e491eea1.js 304 12.399 ms - -                                                     
GET /static/css/main.91a3ca36ed1a96839319.css 304 3.062 ms - -                                        
GET /api/auth/verify?1702931481342 200 22.496 ms - 106                                                
GET /static/js/90.8be17c89.chunk.js 304 2.600 ms - -                                                  
GET /api/client/settings 200 20.509 ms - 588     
GET /static/media/Roboto-regular.11bce66a..woff2 304 6.713 ms - -                                     
GET /api/settings 200 21.172 ms - -                                                                   
GET /static/css/116.bc338a685eec2e79b3a6.css 304 2.994 ms - -                      
GET /static/js/116.0faf47ae.chunk.js 304 3.744 ms - -                                                 
GET /static/js/flag0.d867ac2a.chunk.js 304 4.508 ms - -            
GET /api/settings 200 21.172 ms - -                                                                   
GET /static/css/116.bc338a685eec2e79b3a6.css 304 2.994 ms - -                                         
GET /static/js/116.0faf47ae.chunk.js 304 3.744 ms - -                             
GET /static/js/flag0.d867ac2a.chunk.js 304 4.508 ms - -                                               
GET /static/js/183.afcec458.chunk.js 304 6.142 ms - -                   
GET /static/js/535.4bb41992.chunk.js 304 7.131 ms - -                                                 
GET /static/media/Roboto-italic.766b7c5c..woff2 304 2.526 ms - -                                      
GET /static/media/Roboto-500.c7e17507..woff2 304 3.547 ms - -                                         
GET /static/media/Roboto-700.2b8c7cb1..woff2 304 0.968 ms - -                                         
GET /manifest.json 304 1.795 ms - -                                                                   
GET /icon_192x192.png 304 1.570 ms - -           
PATCH /api/settings 200 50.611 ms - 89                                                                
POST /api/torrents/add-files 500 77.608 ms - 120                                                      
GET /api/activity-stream?historySnapshot=FIVE_MINUTE 200 10.793 ms - -             
GET /api/activity-stream?historySnapshot=FIVE_MINUTE 200 27.770 ms - -   

@trim21
Copy link
Collaborator

trim21 commented Dec 18, 2023

socket file /home/user/rpc.socket doesn't exist?

@mailinglists35
Copy link
Author

it does. after starting rtorrent.

@mailinglists35
Copy link
Author

does it not support the scenario when rtorrent is started afterwards? it does see the rtorent loaded torrents

@mailinglists35
Copy link
Author

I can click stuff. I can swith file priorities. everything but adding a new torrent file

@mailinglists35
Copy link
Author

it did work until I accidentally ran npm i flood instead of npx flood which updated to this broken state

@trim21
Copy link
Collaborator

trim21 commented Dec 18, 2023

You can try reset flood by removing .local/share/flood and reinstall flood

@mailinglists35 mailinglists35 changed the title how do I reset this crap? every time I add a torrent file it says failed to add 1 torrent how do I reset this thing? every time I add a torrent file it says failed to add 1 torrent Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants