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

Folder creation fails with POST 403 Forbidden #206

Open
olgabaranov opened this issue Jul 12, 2023 · 0 comments
Open

Folder creation fails with POST 403 Forbidden #206

olgabaranov opened this issue Jul 12, 2023 · 0 comments

Comments

@olgabaranov
Copy link

Describe the bug
When trying to create a folder on carnet.live seemingly nothing happens. Upon inspection of the console one can see that there is an error:

XHRPOST
https://carnet.live/apps/carnet/browser/newfolder
[HTTP/2 403 Forbidden 94ms]

(full log below)

To Reproduce
Steps to reproduce the behavior:

  1. Go to menu in the lower right corner
  2. Click on the folder icon with a plus
  3. Type in any name
  4. Pop-up window closes & nothing happens

Expected behavior
A new folder appears

Desktop (please complete the following information):

  • OS: Linux
  • Browser: Mozilla Firefox 115.0 & Chromium 114.0.5735.198 snap
this.isElectron  false compatibility.js:5:17
isAndroidfalse compatibility.js:15:17
pet browser.js:654:9
launch count 2 browser.js:876:9
settings from cache true order default browser.js:921:13
for id sort-button material.js:1220:21
lang loaded browser.js:948:13
getFullDB keywords_db_manager.js:6:13
post error [object Object] request_builder.js:25:21
settings from cache false order default browser.js:921:13
listing path recentdb:// browser.js:516:13
getting recent file-browser.js:16:17
Object { data: (1) […] }
keywords_db_manager.js:12:17
["untitled.sqd","Test.sqd"] file-browser.js:21:21
audio 1 note_card_view.js:184:17
todolist height 0 note_card_view.js:69:13
audio 0 note_card_view.js:184:17
todolist height 0 note_card_view.js:69:13
stopping and starting task browser.js:386:13
0 browser.js:38:13
2 browser.js:38:13
save cache browser.js:40:17
todolist height 0 note_card_view.js:69:13
listing path recentdb:// browser.js:516:13
getting recent file-browser.js:16:17
["untitled.sqd","Test.sqd"] file-browser.js:21:21
listing path recentdb:// browser.js:516:13
getting recent file-browser.js:16:17
["untitled.sqd","Test.sqd"] file-browser.js:21:21
listing path recentdb:// browser.js:516:13
getting recent file-browser.js:16:17
["untitled.sqd","Test.sqd"] file-browser.js:21:21
listing path recentdb:// browser.js:516:13
getting recent file-browser.js:16:17
["untitled.sqd","Test.sqd"] file-browser.js:21:21
listing path recentdb:// browser.js:516:13
getting recent file-browser.js:16:17
["untitled.sqd","Test.sqd"] file-browser.js:21:21
listing path recentdb:// browser.js:516:13
getting recent file-browser.js:16:17
["untitled.sqd","Test.sqd"] file-browser.js:21:21
listing path recentdb:// browser.js:516:13
getting recent file-browser.js:16:17
["untitled.sqd","Test.sqd"] file-browser.js:21:21
listing path recentdb:// browser.js:516:13
getting recent file-browser.js:16:17
["untitled.sqd","Test.sqd"] file-browser.js:21:21
listing path recentdb:// browser.js:516:13
getting recent file-browser.js:16:17
["untitled.sqd","Test.sqd"] file-browser.js:21:21
listing path recentdb:// browser.js:516:13
getting recent file-browser.js:16:17
["untitled.sqd","Test.sqd"] file-browser.js:21:21
listing path recentdb:// browser.js:516:13
getting recent file-browser.js:16:17
["untitled.sqd","Test.sqd"] file-browser.js:21:21
listing path recentdb:// browser.js:516:13
getting recent file-browser.js:16:17
["untitled.sqd","Test.sqd"] file-browser.js:21:21
listing path recentdb:// browser.js:516:13
getting recent file-browser.js:16:17
["untitled.sqd","Test.sqd"] file-browser.js:21:21
listing path recentdb:// browser.js:516:13
getting recent file-browser.js:16:17
["untitled.sqd","Test.sqd"] file-browser.js:21:21
listing path recentdb:// browser.js:516:13
getting recent file-browser.js:16:17
["untitled.sqd","Test.sqd"] file-browser.js:21:21
listing path recentdb:// browser.js:516:13
getting recent file-browser.js:16:17
["untitled.sqd","Test.sqd"] file-browser.js:21:21
listing path recentdb:// browser.js:516:13
getting recent file-browser.js:16:17
["untitled.sqd","Test.sqd"] file-browser.js:21:21
listing path recentdb:// browser.js:516:13
getting recent file-browser.js:16:17
["untitled.sqd","Test.sqd"] file-browser.js:21:21
listing path recentdb:// browser.js:516:13
getting recent file-browser.js:16:17
["untitled.sqd","Test.sqd"] file-browser.js:21:21
listing path recentdb:// browser.js:516:13
getting recent file-browser.js:16:17
["untitled.sqd","Test.sqd"] file-browser.js:21:21
listing path recentdb:// browser.js:516:13
getting recent file-browser.js:16:17
["untitled.sqd","Test.sqd"] file-browser.js:21:21
listing path / browser.js:516:13
Object { name: "Test.sqd", path: "Test.sqd", isDir: false, mtime: 1689150162 }
file-browser.js:69:25
Object { name: "quickdoc", path: "quickdoc", isDir: true, mtime: 1689150172 }
file-browser.js:69:25
Object { name: "untitled.sqd", path: "untitled.sqd", isDir: false, mtime: 1689150201 }
file-browser.js:69:25
audio 0 note_card_view.js:184:17
todolist height 0 note_card_view.js:69:13
audio 1 note_card_view.js:184:17
todolist height 0 note_card_view.js:69:13
stopping and starting task browser.js:386:13
0 browser.js:38:13
2 browser.js:38:13
save cache browser.js:40:17
todolist height 0 note_card_view.js:69:13
Content-Security-Policy: Ignoring ‘x-frame-options’ because of ‘frame-ancestors’ directive.
this.isElectron  false compatibility.js:5:17
isAndroidfalse compatibility.js:15:17
isElectron false reader.js:1655:13
resetScreenHeight reader.js:1611:13
1198 reader.js:1625:13
create Writer reader.js:12:13
path null reader.js:1684:21
resetScreenHeight reader.js:1611:13
1254 reader.js:1621:17
1198 reader.js:1625:13
extract reader.js:1638:13
Writer.prototype.extractNote reader.js:272:13
for id frequency material.js:1220:21
for id more-button material.js:1220:21
for id add-media-button material.js:1220:21
Uncaught TypeError: firstHeader is null
    init https://carnet.live/custom_apps/carnet/templates/CarnetElectron/libs/material.js?v=0.24.7:3761
    MaterialDataTable https://carnet.live/custom_apps/carnet/templates/CarnetElectron/libs/material.js?v=0.24.7:3654
    upgradeElementInternal https://carnet.live/custom_apps/carnet/templates/CarnetElectron/libs/material.js?v=0.24.7:244
    upgradeDomInternal https://carnet.live/custom_apps/carnet/templates/CarnetElectron/libs/material.js?v=0.24.7:195
    upgradeAllRegisteredInternal https://carnet.live/custom_apps/carnet/templates/CarnetElectron/libs/material.js?v=0.24.7:363
    <anonymous> https://carnet.live/custom_apps/carnet/templates/CarnetElectron/libs/material.js?v=0.24.7:495
material.js:3761:17
data reader.js:1662:21
Object { metadata: {…}, html: `<div id="text" style="height: 100%; min-height: 815px;" contenteditable="false">    <!-- be aware that THIS will be modified in java -->    <!-- soft won't save note if contains donotsave345oL -->    <div class="edit-zone" contenteditable="true"></div></div><div id="floating"></div>`, id: "64ae6ab951be1" }
reader.js:281:17
Use of Mutation Events is deprecated. Use MutationObserver instead. jquery.min.js:2:34348
resetScreenHeight reader.js:1611:13
1254 reader.js:1621:17
1198 reader.js:1625:13
getFullDB keywords_db_manager.js:6:13
resetScreenHeight reader.js:1611:13
1254 reader.js:1621:17
1198 reader.js:1625:13
todo reader.js:323:17
Array []
reader.js:324:17
color none reader.js:1260:13
Object { data: (1) […] }
keywords_db_manager.js:12:17
getFullDB keywords_db_manager.js:6:13
resetScreenHeight reader.js:1611:13
1254 reader.js:1621:17
1198 reader.js:1625:13
resetScreenHeight reader.js:1611:13
1254 reader.js:1621:17
1198 reader.js:1625:13
Object { data: (1) […] }
keywords_db_manager.js:12:17
exec? false reader.js:1026:13
0 browser.js:38:13
listing path / browser.js:516:13
Object { name: "Test.sqd", path: "Test.sqd", isDir: false, mtime: 1689150162 }
file-browser.js:69:25
Object { name: "quickdoc", path: "quickdoc", isDir: true, mtime: 1689150172 }
file-browser.js:69:25
Object { name: "untitled.sqd", path: "untitled.sqd", isDir: false, mtime: 1689150201 }
file-browser.js:69:25
audio 0 note_card_view.js:184:17
1 browser.js:38:13
save cache browser.js:40:17
listing path / browser.js:516:13
Object { name: "Test.sqd", path: "Test.sqd", isDir: false, mtime: 1689150162 }
file-browser.js:69:25
Object { name: "quickdoc", path: "quickdoc", isDir: true, mtime: 1689150172 }
file-browser.js:69:25
Object { name: "untitled.sqd", path: "untitled.sqd", isDir: false, mtime: 1689150201 }
file-browser.js:69:25
XHRPOST
https://carnet.live/apps/carnet/browser/newfolder
[HTTP/2 403 Forbidden 94ms]

post error [object Object] request_builder.js:79:21
listing path / browser.js:516:13
Object { name: "Test.sqd", path: "Test.sqd", isDir: false, mtime: 1689150162 }
file-browser.js:69:25
Object { name: "quickdoc", path: "quickdoc", isDir: true, mtime: 1689150172 }
file-browser.js:69:25
Object { name: "untitled.sqd", path: "untitled.sqd", isDir: false, mtime: 1689150201 }
file-browser.js:69:25
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

1 participant