These are chat archives for fossasia/open-event-server

27th
Apr 2018
Bhavesh Anand
@bhaveshAn
Apr 27 2018 06:19
@hpdang The links of doc to make Student Kubernetes Deployments not working https://github.com/fossasia/open-event-server/wiki/Student-Kubernetes-Deployments Please help
Bhavesh Anand
@bhaveshAn
Apr 27 2018 06:22
:+1:
Piyush Agrawal
@poush
Apr 27 2018 06:22
Nextgen branch is renamed to development
Bhavesh Anand
@bhaveshAn
Apr 27 2018 13:11
Cool ! Could you please help me on this fossasia/open-event-server#4602 wrote schema and model for it till now what can be done next
Saurabh Chaturvedi
@schedutron
Apr 27 2018 13:52
@iamareebjamal Can you please elaborate on reproducing fossasia/open-event-server#4646?
Areeb Jamal
@iamareebjamal
Apr 27 2018 13:55
Create an event with the example payload on locally running server and you'll see the event images URL don't have the port in it
Saurabh Chaturvedi
@schedutron
Apr 27 2018 14:02
@iamareebjamal Sorry for the confusion, but I'm unable to create the event via my locally deployed frontend server (ther.
*there's an authentication problem before I can register to create an event.
Perhaps you're referring to create the event via API?
Areeb Jamal
@iamareebjamal
Apr 27 2018 14:03
As this is server project, I will recommend you directly create entities through REST requests. Frontend is not complete with functionality
Saurabh Chaturvedi
@schedutron
Apr 27 2018 14:04
Alright, thanks for the clarification! :smile:
Sanyog Ghosh
@dreadpool2
Apr 27 2018 15:28
I have made the server live in my local host but am facing an error of 404. What is the reason behind this ?(Below is the screenshot)
Screenshot from 2018-04-27 20-55-37.png
Areeb Jamal
@iamareebjamal
Apr 27 2018 15:33
This is not open event server, this is frontend
Sanyog Ghosh
@dreadpool2
Apr 27 2018 15:39
Oh! it was a mistake ! thanks for the clarification !
Bhavesh Anand
@bhaveshAn
Apr 27 2018 17:15
i am not able to make any get request in oe server
although post works fine
{
    "description": "Unsupported authorization type",
    "error": "Invalid JWT header",
    "status_code": 401
}
please help @iamareebjamal
Saurav Tiwary
@srv-twry
Apr 27 2018 17:17
@bhaveshAn Can you show the headers of your get request ?
Bhavesh Anand
@bhaveshAn
Apr 27 2018 17:24
Accept: application/vnd.api+json
Authorization: token
@srv-twry
Saurav Tiwary
@srv-twry
Apr 27 2018 17:33
what's a "token" ?
isn't it supposed to be "JWT your_token"
Bhavesh Anand
@bhaveshAn
Apr 27 2018 17:34
the access-token returned by /auth/session
Saurav Tiwary
@srv-twry
Apr 27 2018 17:34
try the above one i.e. "JWT token"
Saurav Tiwary
@srv-twry
Apr 27 2018 17:40
Now that you're getting an "admin access required" error
please make sure you have rights to fetch what you're trying to fetch
PS: added this from the private conversation
Saurav Tiwary
@srv-twry
Apr 27 2018 17:56
One way to get the admin access IMO would be to host the server locally and then use that.
Areeb Jamal
@iamareebjamal
Apr 27 2018 18:00
But still I'd say if you're beginning and requiring admin access, there's good chance you're trying to access something in a wrong way
rajankit
@rajankit
Apr 27 2018 19:32

Hey I just run the "open-event-webapp" locally , it is throwing an error

Node app is running on port 5000
/home/ankit/Workspace/fossissa/open-event-webapp/node_modules/connect-domain/lib/connect-domain.js:17
            reqDomain.dispose();
                      ^

TypeError: reqDomain.dispose is not a function
    at Domain.<anonymous> (/home/ankit/Workspace/fossissa/open-event-webapp/node_modules/connect-domain/lib/connect-domain.js:17:14)
    at Domain.emit (events.js:180:13)
    at Domain.emit (domain.js:422:20)
    at Domain._errorHandler (domain.js:204:23)
    at Object.setUncaughtExceptionCaptureCallback (domain.js:120:29)
    at process._fatalException (internal/bootstrap/node.js:390:31)
[nodemon] app crashed - waiting for file changes before starting...

when i am running localhost:5000

Parth Shandilya
@ParthS007
Apr 27 2018 19:33
@rajankit Please head over to https://gitter.im/fossasia/open-event-webapp for web app related issues.
rajankit
@rajankit
Apr 27 2018 19:34
@ParthS007 Okay