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

Error while adding doctor to the network #15

Closed
divyeshdesanisos opened this issue Oct 10, 2022 · 58 comments
Closed

Error while adding doctor to the network #15

divyeshdesanisos opened this issue Oct 10, 2022 · 58 comments
Assignees

Comments

@divyeshdesanisos
Copy link

Hello there,

I have setup the whole project as described in the video. Things are working as expected. I am facing an error while adding a doctor to the network.

image

I know similar issue - #10 is already closed. I did what is written in the same and I have the latest code. I did signed up to infura and I have project secret key and project key.

Thank you in advance.

@shamil-t
Copy link
Owner

@divyeshdesanisos
Copy link
Author

Thank you for replying @shamil-t .

I tried and faced the same issue.

image

@shamil-t
Copy link
Owner

consider installing IPFS locally,
since from the last commit i updated the code to use IPFS locally only.

https://dist.ipfs.tech/#go-ipfs

also don't forget to add (in IPFS Settings)

"Access-Control-Allow-Methods": [
"POST",
"GET"
],
"Access-Control-Allow-Origin": [
"*"
]

in HttpHeader

let me know if any issues.

@divyeshdesanisos
Copy link
Author

Thank you @shamil-t - I tried the solution you provided and it worked!! Thank you so much for saving my day.

@shamil-t
Copy link
Owner

No Problem.

@akshithababburi
Copy link

Hi,

I am still facing the below error even after installing IPFS locally. Can you please help?

image

@shamil-t
Copy link
Owner

shamil-t commented Dec 1, 2022

Hi Akshitha,

Please modify your IPFS config:
as below screen shots

  1. run (from cmd in kubo folder) ipfs daemon
  2. go to http://127.0.0.1:5001/webui
  3. settings -> ipfs config
  4. change the HTTP headers
  5. "Access-Control-Allow-Methods": [
    "POST",
    "GET"
    ],
    "Access-Control-Allow-Origin": [
    "*"
    ]

    GATEWAY
    API

@santhosh9360
Copy link

still I'm facing this same problem

@shamil-t
Copy link
Owner

shamil-t commented Feb 7, 2023

What is the problem, share any screenshots of the issue, along with the console.

@santhosh9360
Copy link

santhosh9360 commented Feb 7, 2023 via email

@shamil-t
Copy link
Owner

shamil-t commented Feb 7, 2023

Share the screenshot of the console while adding the doctor. like this #15 (comment)

@santhosh9360
Copy link

Share the screenshot of the console while adding the doctor. like this #15 (comment)

WhatsApp Image 2023-02-07 at 21 15 57

@shamil-t
Copy link
Owner

shamil-t commented Feb 7, 2023

use kubo [https://dist.ipfs.tech/#go-ipfs] instead of IPFS desktop

@santhosh9360
Copy link

use kubo [https://dist.ipfs.tech/#go-ipfs] instead of IPFS desktop

If you can share that demo video pls..

@shamil-t
Copy link
Owner

shamil-t commented Feb 7, 2023

download https://dist.ipfs.tech/#go-ipfs and follow #15 (comment)

Repository owner deleted a comment from santhosh9360 Feb 7, 2023
Repository owner deleted a comment from santhosh9360 Feb 7, 2023
@Dimplesingh442
Copy link

still not working
Screenshot 2023-02-27 at 1 15 23 PM

@shamil-t
Copy link
Owner

@Dimplesingh442 make sure ipfs is running, and configured properly.

#15 (comment)

restart after configuring.

@Dimplesingh442
Copy link

I have tried everything but still it is giving errors
Screenshot 2023-02-27 at 7 59 59 PM

@Dimplesingh442
Copy link

Screenshot 2023-02-27 at 8 02 07 PM

Screenshot 2023-02-27 at 8 02 11 PM

Screenshot 2023-02-27 at 8 02 15 PM

@Dimplesingh442
Copy link

please help me

@Dimplesingh442
Copy link

thank you now it is working

@Midas847
Copy link

@Dimplesingh442 how did you make it work?

@Ayush-505
Copy link

I am encountering similar problem even after configuring ipfs setting like you said. pls help

@shamil-t
Copy link
Owner

shamil-t commented Apr 4, 2023

make sure you restarted IPFS after configuration.
refer to this #15 (comment) , #15 (comment) for the correct configuration.

@TinaJoJo
Copy link

TinaJoJo commented Apr 6, 2023

thank u very much, it works, you helped me a lot

@Kanwalza
Copy link

yes but still having same issue

@shamil-t
Copy link
Owner

@Kanwalza make sure you have correctly configured IPFS, like this #15 (comment)

@Kanwalza
Copy link

yes and also here is ipfs setting
image

@Kanwalza
Copy link

please help

@Kanwalza
Copy link

i tried everything

@shamil-t
Copy link
Owner

what about the Gateway HttpHeaders? #15 (comment)

@Kanwalza
Copy link

yes its also done see
image

@shamil-t
Copy link
Owner

now restart the IPFS and try.
Make sure you are using ipfs-cli (Kubo) https://dist.ipfs.tech/#go-ipfs, not IPFS Desktop,
if it previously installed delete .ipfs folder in C:/Users/[username]/.ipfs

@Kanwalza
Copy link

Kanwalza commented Jun 16, 2023 via email

@Kanwalza
Copy link

@shamil-t please help what can i do?

@shamil-t
Copy link
Owner

contact tshamil90@gmail.com

@EdenBrowny
Copy link

The ipfs configuration site isn't work

@shamil-t
Copy link
Owner

@EdenBrowny make sure the IPFS daemon is running.

@ramakantdhol
Copy link

Hi, Shamil
I am facing this problem while running EHR project
Screenshot 2023-12-03 232116
Screenshot 2023-12-03 232116

@ramakantdhol
Copy link

I am using this IPFS
Screenshot 2023-12-03 235359
As you mentioned in above comments!!!

@shamil-t
Copy link
Owner

shamil-t commented Dec 3, 2023

@ramakantdhol make sure IPFS is configured properly. refer to #15 (comment) and restart after.

@shamil-t
Copy link
Owner

shamil-t commented Dec 3, 2023

use IPFS CLI (kubo), not IPFS Desktop

@ramakantdhol
Copy link

use IPFS CLI (kubo), not IPFS Desktop

but i am using the same IPFS, which you recommended and this is the same in above comments

@ramakantdhol
Copy link

@ramakantdhol make sure IPFS is configured properly. refer to #15 (comment) and restart after.

ok trying

@ramakantdhol
Copy link

IPFS CLI (kubo

yes now it is running

@ramakantdhol
Copy link

ramakantdhol commented Dec 3, 2023 via email

@ramakantdhol
Copy link

IPFS CLI (kubo

yes now it is running

but patient adding service is not available

@akshata112
Copy link

Screenshot 2023-12-20 230624 Please help me with this

@shamil-t
Copy link
Owner

@akshata112

run $truffle migrate
Connect first account in ganache to MetaMask

@akshata112
Copy link

akshata112 commented Dec 20, 2023

Okay I was able to resolve that

@a26272272
Copy link

螢幕擷取畫面 2023-12-29 142043

螢幕擷取畫面 2023-12-29 142054
螢幕擷取畫面 2023-12-29 142131
hey i have problem in doctor

@loke264
Copy link

loke264 commented Mar 5, 2024

same problem

@Neeraj-Pachipulusu-V-S-R

I am unable to register in patient form. please help me with this:
error

@shamil-t
Copy link
Owner

shamil-t commented Apr 6, 2024

@deepakseervi0494
Copy link

bro i m getting error
image

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