Comments (2)
What worked, replace all https.request
with http.request
... Seems kinda logical for local test instance.
BUT, just running the pdfdraw server locally works. Trying to run it in a docker container fails with
nextcloud-pdfdraw | Error receiving items {
nextcloud-pdfdraw | error: Error: connect ECONNREFUSED 127.0.0.1:8080
nextcloud-pdfdraw | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1137:16) {
nextcloud-pdfdraw | errno: -111,
nextcloud-pdfdraw | code: 'ECONNREFUSED',
nextcloud-pdfdraw | syscall: 'connect',
nextcloud-pdfdraw | address: '127.0.0.1',
nextcloud-pdfdraw | port: 8080
nextcloud-pdfdraw | }
nextcloud-pdfdraw | }
Not exactly sure why. (Well, somehow the localhost:8080 is not reachable, but substituting it with app:80
to get the correct IP fails, too.)
Not sure whether we can just include this into code, so that it looks which Token -> iss
URL is returned and if it is not HTTPS it falls back to HTTP? Makes it insecure, which for local test instances might not matter, but it is definitely not for deployment, so I don't really expect it to make it into the code base.
from pdfdraw.
If you run the different parts in separate Docker containers, 127.0.0.1
is each container itself, i.e. 127.0.0.1
on the pdfdraw-server
is a different 127.0.0.1
than in app
. You will have to configure a external URL as backend server URL of pdfdraw and vice versa.
from pdfdraw.
Related Issues (20)
- package.json is not included in app releases
- Please upgrade the pdfdraw server to be compatible with python3 HOT 6
- Please support Nextcloud's external storage
- Do updates remove the changed config.js file? HOT 6
- 404 retrieving original pdf from nextcloud HOT 3
- Reimplement server in php and/or eliminate backend HOT 1
- Annotation tools? HOT 1
- Download error when using GROUP FOLDERS HOT 1
- Some fixes HOT 1
- "Connecting to server please wait" HOT 6
- Fundamentally bad design HOT 4
- [webpack-cli] HookWebpackError: Not supported HOT 2
- Not Found The requested URL was not found on this server. HOT 1
- Cannot install plugin HOT 2
- Connection is interrupted. restablishing connection
- Install failed: database.xml file no longer supported. HOT 2
- issue: OCP\\App\" not found"
- Doesn't install in NextCloud 25 HOT 1
- NC25
- Any updates? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdfdraw.